Game Development Community

Manually controlling LOD

by Richard Young · in Torque Game Engine · 02/27/2007 (8:32 am) · 4 replies

I would like to manually control the LOD on a static mesh either through scripting or code, but haven't been able to find any documentation on this. Can anyone help?

Thanks.

#2
02/27/2007 (9:24 am)
Not exactly, but it could certainly be useful.

Note: I don't have a license, and I'm just evaluating the demos.

What I'm trying to do is:
If I have a sphere with detail levels 128, 64, 32, is it possible for me to force the sphere to render the 32 LOD mesh, even if my camera is close to it?

Would this be possible in scripting? or would I have to write some C++ code?
#3
02/27/2007 (10:03 am)
It is possible,
but you would need to modify the engine.
#4
02/27/2007 (10:06 am)
You could set the global variable found in prefs.cs, but that is for all objects.