Lights and geometry

Blitz3D Forums/Blitz3D Programming/Lights and geometry

xmlspy(Posted 2006) [#1]
I noticed that blitz's hardware lights do not stop from passing through walls, which is really frustrating. Anyone have any suggestions on how to manage hardware lights better?


t3K|Mac(Posted 2006) [#2]
linepick from camera to light or vice versa. if another entity gets picked, disable the light.


bytecode77(Posted 2006) [#3]
i guess you want to have shadows xmlspy?

well, here is the stencil shadow thread:
http://www.blitzbasic.com/Community/posts.php?topic=62378


xmlspy(Posted 2006) [#4]
I'm using Swift's shadow system, and I plan on using it along with the lighting system. So yes, a linepick will probably do the job.


IPete2(Posted 2006) [#5]
Just to confirm for you, Swifts shadow system does not go through walls and it has a few places you can tweak to get what you want. The only thing to be aware of (afaik ) is it cannot cast onto a rotating floor.

So for example I wanted ss Great Britain to have real-time shadows and you had to be able to steer the ship in any direction. The shadow system could not cast on to the deck because it was rotating as the ship moved through the water (it was bobbing up and down too).

Check it out : http://www.smartscreenuk.com/SSGreatBritain001.html

Look at the images at the top using the small numbers underneath the image. Look at 3,4,5. This looks fantastic in motion. The shadows correctly fall across the deck and into the lifeboats hanging off the edge. Swifts system is very good indeed.

IPete2.