Game Development Community

Torque Crashes on Relight Scene

by AndrewOsborne · in Artist Corner · 03/28/2003 (6:21 pm) · 3 replies

Hey, i have built a reasonable large object in worldcraft (village type scene with a few streets, towers etc... no buildings tho) and it opens up in toque but when i go to relight scene it crashes :/

any ideas??

Thanks

#1
03/28/2003 (6:42 pm)
Most of the time missing textures will do that, Make sure all the textures are with the DIF file. Also if you have an entity added that doesn't have a poly that will get it sometimes. Also I have heard that if the object is to big TGE can't light it. Might be your problem. Try adding it in peices if you can.

Hope that helps.
Matt
#2
04/02/2003 (4:36 am)
Ok, i'll need to see your comp spec's (specifically RAM and Video card). Some lower spec machines have a whole series of problems re-lighting the scene (particularly if you use dynamic lighting)
#3
04/02/2003 (4:57 am)
From a Bug Report I submitted to the task manager in July of last year:

Quote:Some .difs will crash the engine upon lighting... this is due to a hardcoded limit with no limit checking... the solution is to increase this limit and provide error checking.

The fix: Increase ShadowVolumeBSP::SVPoly::MaxWinding from 32 to something like 256 in shadowVolumeBSP.h

A better fix: dynamically allocate to the necessary bounds

-J