PDA

View Full Version : "receive shadow" kills spotlights



steevo
05-28-2003, 03:38 PM
I'm working on a little "Italian Job" thing here. There's a mini-cooper in a cylindrical tunnel with three lights: one spotlight for each headlight, and (currently) one point light in the roof of the tunnel.

Here's the problem: I'd like to see the point light cast a shadow of the car on the floor of the tunnel, so I turn on "receive shadows" for the tunnel, which works fine for the shadow, but doing that kills the pools of light cast from the two spotlights.

All lights are set to raytrace shadows.
Renderer is set to raytrace everything.
Cylinder is double sided (polys and surfacing).

Here it is with "receive shadows" off for the tunnel:
http://www.reidroberts.com/mini/01A_22_shadOff.jpg

... and with "receive shadows" on:
http://www.reidroberts.com/mini/01A_22_shadOn.jpg

How can I have a shadow for the point light, while keeping the pools of light from the spots?

Thanks,
Steve

Dick Ma
05-28-2003, 05:44 PM
Is your spotlights inside the headlights?

is your headlight has polygons with proper setting like giving transparency, or it is a solid polygons that light cannot pass thru?

steevo
05-28-2003, 10:35 PM
Originally posted by Dick Ma
Is your spotlights inside the headlights?

is your headlight has polygons with proper setting like giving transparency, or it is a solid polygons that light cannot pass thru?

I know what you're thinking, but the spots are actually just outside the headlights, so there's no problem with the opacity of the headlight polys.

Thanks, but the search goes on ...
Steve

steevo
05-29-2003, 09:00 AM
I was able to get a shadow and spots on the tunnel, by doing this:

1. tunnel: "receive shadow"
2. front (red) mini's spots shadow type: off
3. rear (blue) mini's spots shadow type: raytrace

... so the front mini's spots won't cast shadows, but that's okay. It looks as if the rear mini's spots fill the shadow under the front mini somewhat, but it looks okay for now.

Here 'tis:
http://www.reidroberts.com/mini/01F.jpg

If any of you folks have any comments, I'd love to hear 'em!
Steve

P.S. The minis were driven by remote control ...:D

Dick Ma
05-29-2003, 12:25 PM
Well, I don't believe there is a light problem rendering in LW.....

It is a setting problem.

toby
05-30-2003, 10:58 PM
Very cool shot!

There must be something buggy in your LW or something you're missing, you shouldn't have to do all that to get the shadows you want -

My only suggestion is use shadow maps instead of raytrace whenever possible, like on the blue coopers' headlights. Save render time and get a soft edge on the shadow - and yea, the front mini doesn't need to cast shadows, and the rear mini's lights under the front car looks good! That's the way it should be