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.

How to set lighting positin

Started by Buck, March 29, 2013, 05:38:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Buck

Kevin Chapman:
"Although there's no visual represention available for the spot or point lights, you *can* draw some placeholders for them (light position and direction). If you'll notice, in the Light Options panel, if you select Point light, there's a small icon to the right of the coordinate fields for light position. So you could place a pointmark, for example, click on that icon in the Light panel, and gravity snap to the pointmark.

For a spotlight, you could draw a line, then snap to one end as the position of the light (the tip of the cone), and then use the direction icon to snap to the other end to indicate where the spotlight is pointed.

Delete the line when done, or move it to a hidden layer for reference later."

Rob:
"To make shadows display, there are several things to note.
1) You need to be in 3D mode, with a solid object located so it will cast a shadow onto a plane or other solid.
2)  Check the sliders in shadow options, if any of them are totally at one end or the other, try moving to the mid-range.
3)  Of course, make sure the check-mark is there next to "shadows on " in the light source options.
4)  You need a directional light turned on such that it will cast a shadow onto the intended surface - this requires some experimentation.
5)  Then, you must shade using phong or gouraud mode and not with Graphics acceleration.  Shadows will not display in graphics accell mode.

Dr PR:
Leave "Options/Options/Light Source" "Shadow Tolerance" at zero. Anything else causes strange results, including unattached shadows or no shadows at all.

A "shadow Softness" of zero gives totally black shadows, and 1.0 is essentially no shadow. About 0.3 gives shadows that are moderately dark - light sunlight - but you can still see detains in the shadows."

samdavo

#1
Quote from: Buck on March 29, 2013, 05:38:06 PM
Kevin Chapman:
" you *can* draw some placeholders for them (light position and direction).

a) If you'll notice, in the Light Options panel, if you select Point light, there's a small icon to the right of the coordinate fields for light position. So you could place a pointmark, for example, click on that icon in the Light panel, and gravity snap to the pointmark.

b) For a spotlight, you could draw a line, then snap to one end as the position of the light (the tip of the cone), and then use the direction icon to snap to the other end to indicate where the spotlight is pointed.

Delete the line when done, or move it to a hidden layer for reference later."

Rob:
4)  You need a directional light turned on such that it will cast a shadow onto the intended surface - this requires some experimentation.
Buck
I notice this post from a few weeks back lol.   Thanks - great summary of lighting (including quotes from the masters).

But I would add something that I twigged onto recently.
Let's assume
a) you want directional light, and
b) you want a shadow from the top of flagpole to land on certain point, but you want it to be directional light.

Then as DT says, you can go to spotlight, which allows you to set the source of light at the top of flagpole, and the subject at the point.

THEN you switch back to "directional light".  (and turn off "move with eye", because the sun is now fixed in the sky).

PS You still set up the shadow softness etc as Phil has advised (and I must take more note of that lol).  But Rob's point about "requiring some experimentation" can be trimmed to be an "exact" exercise if you follow the above trick of using a temporary "spotlight" to position the sun over the flagpole, or the yard-arm for that matter, then change to parallel rays of "directional" light. (2 cents)

PS Graphics accelerator off.