Game Development Community

Rendering distance?

by Tim Tebow · in Torque Game Engine Advanced · 08/23/2008 (10:16 pm) · 5 replies

So just few general questions as I have been thinking about some things I seen earlier today.

I thought TGEA would only render things x distance from the camera view?
I loaded probably 60 orcs into a small area and made me very laggy when I would turn and look at them. I would expect this to be the case for allot of people. So I flew the camera for probably 5 minutes in 1 direction turned around and couldn't see anything but sky / greyness but I could tell when facing the orcs because I would get laggy in that 1 spot but if I kept turning the camera it would no longer be laggy.

So that problem brings me to the next, if thats the case a massive world would really never work because if you wanted to have more then lets 6 camps of orcs all with 10 orcs in the camp lets say they followed a straight line north but were spaced out by a long distance. I would lag because its reading/rendering the orcs even though i cant see them.

Maybe theres a different issue if this isn't the case with anyone else, which i have not heard of being a problem yet.

#1
08/24/2008 (6:06 am)
All ShapeBase objects are culled in their prepRender functions if they are more than 98% fogged.

Not sure what problem you're seeing.
#2
08/24/2008 (8:17 am)
Thats what I thought from what I have read but no matter how far away I am(running the camera in one direction for 5 minutes is a long ways away) so not sure why I would get laggy when I point towards all the orcs.

Anyone else able to replicate this problem?
#3
08/24/2008 (9:34 am)
What is the maximum viewing distance allowed in your mission (sky property)?
#4
08/24/2008 (3:40 pm)
Its set at default which was 1000 and fog of 800 i haven't played around long enough to understand how that relates in world.
#5
08/24/2008 (3:44 pm)
Ok not sure if there was something setup up differently but I have both 1.71 and 1.7.0 1.7.0 gives me the problem 1.7.1 does not works like its suppose to. Weird