Game Development Community

What Happens When I Enter A Zone?

by Scott Doerrfeld · in Torque Game Engine · 07/17/2007 (1:47 pm) · 1 replies

So when I enter a new zone, where in the engine is the code that tells everything in that zone to render?

#1
07/17/2007 (4:06 pm)
Scott Im afraid you wont get much of an answer to that question.. That's like asking what happens on the space shuttle during launch.. :)

I think if you have a more specific request or could maybe detail a bit what you are trying to do you'd have better luck getting specific answers..

On a basic level the mission file (.MIS) tells the game engine what to render... but thats not really true. The MIS file contains the objects..

Then there is the data that is checked and that can also contain info on wether or not somethign might be rendered..

Then there is the BaseShape stuff that can also tell the pipeline what to render..

If you are wanting to dig into the rendering pipeline to work on occlusion and culling I think that has to be done in many places.. Might want to try using the search feature here for occlusion / culling and you will get a lot of more educated responses than I could provide.

Good luck