Game Development Community

TLK and big interiors

by Fyodor -bank- Osokin · in Torque Game Engine · 02/07/2006 (9:31 am) · 22 replies

Hi.
We have made a quite big interior (appx 50 zones and 3.5k surfaces).
When I put this in the mission a really strange thing happening on some of the computers.
On some PC's the mission load takes about 25 seconds (total load time from starting EXE till entering full 3D) and on another - about 3 minutes.
I've tested so far on many different configurations, both ATI and nVidia card, different OSes (w2k/xpsp1/xpsp2) and more..
I can't see the relating with exact stuff.. first my thought was that it's ATI.. but then I found PC where it loads fast..

I've tracked through the scripts and found where it hangs for a long time:
common/client/missionDownload.cs:
inside function clientCmdMissionStartPhase3(%seq,%missionName){}
the line if (lightScene("sceneLightingComplete", "")) takes too long. I didn't had time yet to debug where exactly in c++ it "thinking" too long.
It's something in lightScene()..

Any ideas so far?
Page«First 1 2 Next»
#21
02/14/2006 (9:00 am)
The light maps are stored inside the ml file in png format, adding the code to dump them to file while saving is very easy (check out sceneLighting.cc, in the interior persist object).
#22
02/15/2006 (7:36 am)
PNG? Heh, I'd never know that. I'll try saving them into proper files later.
Page«First 1 2 Next»