Game Development Community

StaticShape and PureLight - help needed

by Richard Marrevee · in pureLIGHT · 11/02/2011 (1:22 pm) · 2 replies

Is there a way to add models to a purelight scene that will be animated staticShapes in T3D. For the models I think of a door that swings open when a player activates it or opening chests and so on.

If not how can I prevent T3D casting shadows from lights that are in another room?

To give some insight in what I want to achieve:

I am having a dungeon level where most of the parts are total darkness, except for a few areas. Now I want to create these parts in purelight and add those as a prefab to the scene. For one part there will be a 5 level tower with different lighting on each level. For this tower I have a wall-model and a 5 floor-models. In purelight everything looks great, but after adding this to my scene and placing some animated staticshapes and AI, I get shadows from lights that are on a lower level (under the floor).

Thanks for any help.

About the author

Started programming in 1984 on an Oric, when time progressed switched to MSX, Amiga and finally the Windows PC with T3D. Now developing an epic fantasy game: The Master's Eye. Creator of the DoorClass pack and VolumetricFog pack @ richardsgamestudio.com


#1
11/02/2011 (3:45 pm)
Why not just export as TsStatic and then replace with StaticShape manually? (making note of the position and rotation of the object to be replaced obviously - and then type it into the new staticShape object's fields)
#2
11/03/2011 (4:47 am)
Thanks Steve, don't know why I figured that out myself.