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.
Thanks.
#2
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?
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?
#4
02/27/2007 (10:06 am)
You could set the global variable found in prefs.cs, but that is for all objects.
Torque Owner Brian -Cybore- Smith
Hostile Ai
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12332
Hope this helps!