Trying to adjust Constructor LOD levels...
by Bryce · in General Discussion · 04/11/2009 (3:21 pm) · 1 replies
'Ello,
I've been working on incorporating LOD models with my interiors in TGE 1.4.2. I'm getting slightly annoyed by the trial and error involved with getting the min_pixels value to the right spot for each LOD. Is there a console function of some sort that tells me how many pixels of an object are being rendered at any time, so I can place the camera back a distance and see what I should make the LOD at that spot?
Thanks,
Bryce
I've been working on incorporating LOD models with my interiors in TGE 1.4.2. I'm getting slightly annoyed by the trial and error involved with getting the min_pixels value to the right spot for each LOD. Is there a console function of some sort that tells me how many pixels of an object are being rendered at any time, so I can place the camera back a distance and see what I should make the LOD at that spot?
Thanks,
Bryce
Torque 3D Owner Twisted Jenius
It adjusts the structure's calculated visible size before selecting a level of detail; it accepts values from 0.3 to 1.0. You can just change the value of that pref then multiple it by whatever min_pixels is currently set at to get what min_pixels should be set at (instead of re-exporting and reloading over and over again).
One thing you should take note of is, because LoDs are changed based on the object's pixel size on the screen, your game's resolution setting will affect when they change. My advice is to set min_pixels when you're using a low resolution. Then when someone is at a higher resolution it will change at later point. This would hurt high res performance a bit; but hopefully if someone is using a high resolution, they have better hardware so that the performance lose doesn't matter for them as much. Field of view also affects LoDs.