DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

My First Lights

Started by ajs, January 05, 2007, 09:23:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ajs

I've just jumped from v14 to v17 - what a difference!  Anyway, I'm trying my first 3D scene and it was going quite well until I started putting in lights - then it all went dark!

I'm trying to illuminate the corner of a room where I've placed an open bookcase.  The bookcase was great before the lights went out so I'm happy that there is something to illuminate!

I'm trying to model a couple of halogen ceiling spotlights but they refuse to shine downwards.

Let me explain what I've done in as few words as poss:
- Imagine a plane (aka piece of carpet) 1.5m wide and 1m deep and DCAD's Origin has been set to the near left hand corner (Co-ordinate Bar confirms this).
- The bookcase is 1.8m high, 0.9m wide, 0.4m deep and is centred on the carpet and set back 0.1m from the wall.
- The wall is the same width as the carpet and is 2.4m high.

I created 2 Spotlights with Positional co-ordinates of: X = 40 and 80, Y = 240 and Z = 40.  For their Direction co-ordinates, I used their same X and Z co-ordinates (successfully, allegedly) BUT with a Y of 0 so they shine downwards.

When I Apply the changes, DCAD insists on changing the zeroes to other figures such as 250, 720 - various numbers all greater than 240.

Am I missing something obvious?  Presumably so, as ceiling spotlights are quite common . . .

Oh, and I set the angle to 35deg as that's what they say on the packet!

Can anyone point me - and the lights - in the right direction?

Thanks

tri-luminary

ajs, if you cared to send me the file, or post it here, I'd try to fool with it a little.  I am the resident lighting designer, but I will admit to having frustrations over how DC gives us access to the controls here. I use other programs to render what my work would look like, usually so it's not been a big factor, but I do have some lingering goals to make a BASICAD or OLE based interface for this kind of thing that would be more like what we do in the real world.

Jeremy Kumin,
Lighting Designer

tri-luminary

Andrew,

Your message came through to my email, but since your addy was hidden too, it came via the forum administrator's and that won't help.  I opened up the privacy setting, so look in my profile now and send there.
Jeremy Kumin,
Lighting Designer

ajs

Two things:

First, to publicly thank Jeremy for sorting out my difficulty off-line.

Second, to share the workaround with anyone else who encounters the same problem and lands here by using Search:

a) Spotlights require a Direction Position that is exactly 10 units from their Location Position (WHY?!!!).

b) Pointing a light straight down causes something like a zero-divide along the calculation path so, for real-life spotlights that point straight down (ie 99.9% of them!), the Direction Position cannot have the same X and Z co-ordinates as the Location Position.  One or both of them has to be slightly different.  Oh, and then you have to use a bit of trig to calculate what Y should be as it is not exactly minus 10 units from the Y value of the Location Position!

Support: would you be so kind as to look at this ridiculous situation at your earliest convenience and correct it.  Jeremy is sending you our files separately to illustrate the problem and workaround solution.

PS  Unbelievably, there is no mention of these constraints in the documentation.  If these constraints cannot be removed in the immediate future, please would you at least amend the documentation to clarify how Spotlights are to be used as, perhaps, there are other constraints . . .

Thank you