LOD and Material issues in 1.0.3 and FGE
by Andy Hawkins · in Torque Game Engine Advanced · 09/15/2007 (4:19 pm) · 11 replies
When I implemented Decane's FGE I ended up with these issues. I tried 3 times to run the changes on a fresh install of TGEA1.0.3, and got the same issue every time. Please note, I don't think this is a FGE issue, I think FGE exposed an issue in TGEA 1.0.3. I have the latest DX August 2007.
The main player's ship is never rendered, trees only appear at LOD0 and enemy ships disappear at LOD0.
I checked with the author and this issue seems to be unique in TGEA 1.0.3 - however I haven't been able to confirm it in 1.0.2 or 1.0.1 as I can't download the installers anymore.
Here's the screenshots. I'm sure it's not a file problem because when I paste Decane's FGE exe in the same folder everything works correctly. It appears to be an issue with LOD's / materials in 1.0.3.
This pic shows that the player's ship is not rendered and a ship closeby isn't rendered, even though distance enemy ships are rendered. I moved the camera away from the player to test it's LOD but it doesn't get rendered at a distance.

The pic shows that the repair ship is never rendered.

The main player's ship is never rendered, trees only appear at LOD0 and enemy ships disappear at LOD0.
I checked with the author and this issue seems to be unique in TGEA 1.0.3 - however I haven't been able to confirm it in 1.0.2 or 1.0.1 as I can't download the installers anymore.
Here's the screenshots. I'm sure it's not a file problem because when I paste Decane's FGE exe in the same folder everything works correctly. It appears to be an issue with LOD's / materials in 1.0.3.
This pic shows that the player's ship is not rendered and a ship closeby isn't rendered, even though distance enemy ships are rendered. I moved the camera away from the player to test it's LOD but it doesn't get rendered at a distance.
The pic shows that the repair ship is never rendered.
#2
09/16/2007 (4:17 am)
I confirm the problem, just tested with a fresh 1.0.3 build. Seems to occur only in versions later than 1.0.1 of TGEA.
#3
from what i remember, there was just one simple "oh... i need to turn that on" issue... the error was quite evident when i spotted it.. but i don't recall where it was. sorry.
thanks, Martin.
great resource.
good luck, Andy.
ken
09/16/2007 (5:50 am)
Hi guys... i noticed this as well. i added a couple of resources to 1.0.3, did a full rebuild and it's gone away.from what i remember, there was just one simple "oh... i need to turn that on" issue... the error was quite evident when i spotted it.. but i don't recall where it was. sorry.
thanks, Martin.
great resource.
good luck, Andy.
ken
#4
09/17/2007 (3:33 am)
So it's in the LOD system do you think?
#5
@Marc: Do you have somewhere the link to where the problem was reported?
09/17/2007 (4:23 am)
Yeah, seems like. @Marc: Do you have somewhere the link to where the problem was reported?
#6
Way below down in this board on 22th of august:
www.garagegames.com/mg/forums/result.thread.php?qt=66020
09/17/2007 (5:32 am)
SureWay below down in this board on 22th of august:
www.garagegames.com/mg/forums/result.thread.php?qt=66020
#7
09/17/2007 (5:35 am)
Thanks Marc! Made a cross link in that thread to here.
#8
in your prefs.
I'm currently trying to track down the real issue for the LoD transition problem.
09/17/2007 (6:39 am)
As a temporal solution, set$pref::TS::detailAdjust = "6";
in your prefs.
I'm currently trying to track down the real issue for the LoD transition problem.
#9
Thanks guys :)
09/17/2007 (8:38 am)
Yer - that kinda works. I can see the trees and the repair ship - but the enemy ships still pop in and out and the player ship is never visible. I guess I'll wait until LOD is fixed on TGEA before I use that. Thanks guys :)
#10
I don't have time to pick apart all of the individual changes but you can find the affected files here:
www.rustycode.com/matt/LOD_Fix.zip
I merged it into a version of TGEA that is pretty close to 1.0.3 and it appears to be working with Andy's scout ship model.
Lemme know if it doesn't work =)
01/15/2008 (4:06 pm)
Hey guys,I don't have time to pick apart all of the individual changes but you can find the affected files here:
www.rustycode.com/matt/LOD_Fix.zip
I merged it into a version of TGEA that is pretty close to 1.0.3 and it appears to be working with Andy's scout ship model.
Lemme know if it doesn't work =)
#11
01/16/2008 (2:49 am)
Great work Matt. Thanks for taking ownership on this fix. I'll try it out.
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
The full detail lod is switched in way too late. (ie if the cam is nearly colliding with the object)