News:

Please remember to do a search before you ask a question!

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

How to position lights with Outer Space Background

Started by MrMilt, February 07, 2011, 01:16:01 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

MrMilt

I am using the IMSI-provided outer space.jpg as the background in Render Scene Environment. How can I position my lights so that the shadows appear as if they were generated by the light source in the background image?
Thanks,
Milt

Henry Hubich

#1
Consider placing a single "Directional" light to cast the shadows. Add a single Headlight and a single "Ambient" light, too. Expect to adjust the location of the Directional light and its target, and the properties of all three lights, to make the rendering look right.

EDIT: On second thought, a "Point" light might be better than a "Directional" light. The second attachment uses a Point light.

Henry H

Julian Thomas

Quote from: Henry Hubich on February 07, 2011, 03:45:59 PM
a "Point" light might be better than a "Directional" light

Why, Henry? I think your first image looks better - the parallel shadows give a sense of distance and work well for that particular scene.
Julian

TC18 / 38.5 Platinum, AL5. XP, Core2 Duo E6750 OC'd 3.0Ghz, Render test: 3mins 3sec.

Henry Hubich

Quote from: Julian Thomas on February 07, 2011, 07:46:25 PM
Quote from: Henry Hubich on February 07, 2011, 03:45:59 PM
a "Point" light might be better than a "Directional" light

Why, Henry? I think your first image looks better - the parallel shadows give a sense of distance and work well for that particular scene.

I take your point, Julian; in fact, that's what I first thought. However, shouldn't a distant concentrated light source, an object, and the shadow of that object lie on a straight line? In the first image, the shadow of the sphere does not lie on a line which extends from the light source through the sphere.

Henry H

Julian Thomas

Quote from: Henry Hubich on February 07, 2011, 07:59:41 PM
shouldn't a distant concentrated light source, an object, and the shadow of that object lie on a straight line?

Of course, but who's gonna calculate the shadows' included angle? Maybe a point light 93 million miles away would sort it?
Julian

TC18 / 38.5 Platinum, AL5. XP, Core2 Duo E6750 OC'd 3.0Ghz, Render test: 3mins 3sec.

MrMilt

My original question should have been "where" instead of "how."

Don Cheke

Quote from: MrMilt on February 08, 2011, 03:08:02 PM
My original question should have been "where" instead of "how."

Hi Milt,

Are you using that bright star in the background image as the light source or something else within the drawing?
Don Cheke
My Blog: One Man's Meanderings

Don Cheke

Quote from: MrMilt on February 08, 2011, 03:08:02 PM
My original question should have been "where" instead of "how."

If you are using the star as the light source, I would suggest setting up your final view first and save it. Remember that the background image is always in the same place.

Once established, create a polyline out and up from your object to be lit. (see screen066)

Go back to your view and rotate the polyline to line up with the star (reference point was changed to center of object. (see screen067)

Snap directional light from high far point to something on the object to be lit. (see screen068)

Return to saved view and render. (see screen069)
Don Cheke
My Blog: One Man's Meanderings

MrMilt

Thanks for all the comments and especially Don's illustrations. I haven't got it solved yet, but I now know what I need to do.