Game Development Community

Level of Detail bug?

by Jon Fernback · in Torque Game Engine · 02/01/2006 (10:17 am) · 2 replies

Hi,

I'm having an issue and I wondered if anyone else has encountered this. If you take the torque buggy model and drive it around in the demo game without the lighting pack add-on everything is fine, but if I take the same model and run the racer demo using the lighting pack EXE the level of detail of the buggy wheels seems to jump around.

I then tested out my own model using 2 levels of detail. While the buggy detail stays high near the camera, the wheels always show the low detail level.

And what I find even more odd, if I'm in 1st person view my front wheels look fine, but other buggies always have the low detail mesh. Then if I switch to 3rd person, no matter how close I am to the wheels they show the low detail mesh.

I'm going to run a check again tonight with vanilla 1.4, but the issue seemed to only crop up with the lighting pack added.

Anyone else have this problem?

#1
02/01/2006 (3:24 pm)
Hi Jonathan,

Are you running the TLK and TGE exe's out of the same directory, and running both in the racing mod?

If not the problem is probably related to the prefs, the setting to change are:

$pref::TS::detailAdjust = "1";
$pref::TS::screenError = "10";

To:

$pref::TS::detailAdjust = "0.45";
$pref::TS::screenError = "0.001";

-John
#2
02/01/2006 (4:08 pm)
Hey John,

It turned out to be somewhat of a mix of what you said. I lowered the screen error to 0.001 and the detail adjust was already 0.45 so at first that didnt work

Then i tried raising the detail adjust and put it at 2 and that worked!

I didn't even realize there was a dynamic setting to adjust detail levels.

Thanks!