Game Development Community

Decals?

by Robert Rose · in Torque Game Engine Advanced · 12/03/2007 (10:34 pm) · 4 replies

I'd like to statically populate some decals in my level, but whenever I do the editor crashes a few seconds after I create the decal. It seems to crash one or two frames after I rotate the camera. (?) Do decals work?

...
Error in _sgDropDecal: no drop object found.
Error in _sgDropDecal: no drop object found.
Error in _sgDropDecal: no drop object found.
TerrainRender::renderBlock: Mismatching render state #13: 1 != 0
Fatal: (../engine\gfx/gfxCanon.h @ 159) GFXCanonizer TerrainRender::renderBlock: State was not restored! Check console for specifics.
Unhandled exception at 0x7c901230 in TGEA_Optimized.exe: User breakpoint.

#1
12/04/2007 (2:36 am)
Which version of TGEA is that? I can't repro.
#2
12/04/2007 (2:37 am)
1.0.3. Just drop one of those sgDecalProjectors into the level and set the datablock to the footprints.
#3
12/04/2007 (2:55 am)
That's what I'm doing and I got 1.0.3.
#4
12/06/2007 (12:47 am)
If I enable the footprint decal code I get a crash if I go into the gui editor for more than 5 minutes. (??)