Game Development Community

T3D 1.1 Beta 2 - LOD change doesn't work with models that worked with 1.0.1 - LOGGED

by Oscar Velzi · in Torque 3D Professional · 08/20/2010 (6:07 pm) · 4 replies

Build: 1.1 Beta 2

Platform: Windows XP SP3, 32bit

Target: Engine

Issues: I tested one of my game models in 1.1 b2 and noticed that LOD doesn't work, while they do work in 1.0.1. It seems to be related to the engine not calculating the pixel size for them.

You can see here that the pixel size doesn't change at all, nor the LOD.

a.imageshack.us/img97/6490/lodissue03.jpg
a.imageshack.us/img706/2451/lodissue02.jpg
I'm using 3DS MAX 7 and the importer there. Here is how the model hierarchy looks.

a.imageshack.us/img706/3372/lodissue01.jpg
Maybe something changed in the exporter for 1.1b2 and I'm not aware of it? If that's the case, sorry for reporting this.

Steps to Repeat:

1. Download my model and extract it: http://rapidshare.com/files/414112438/test.rar
2. Place it in a level.
3. Enter the shape editor and move away from the model. The pixel size doesn't change, nor the LOD.

#1
08/21/2010 (3:12 am)
Logged as TQA-856.
#2
08/21/2010 (4:11 am)
-
//edit: I noticed you're using max7.
- My apologies but I won't be compiling fixed exporters for versions below max9.

IIRC, there is some source you can compile into T3D to force the LOD settings that the old max exporters failed to set. www.torquepowered.com/community/forums/viewthread/109109/1#comment-715657


More info:
Your model may have appeared to have worked correctly in prev. T3D versions due to the screen error % that the LOD system used. IMHO..it's better to have the proper data in the model through exporting from a fixed exporter.


Original'ish post below:
//--------------------------------------------------------------------
I looked at your model and it appears you are using a borked version of the Max2DTS exporter. Where did you download it from ?
- I have compiled newer versions of the max2dts exporters with several fixes, 1 fix specifically targeted the uninitialized values for LOD use..Resource for Max 9,2009,2010 & 2011 files



#3
08/21/2010 (5:34 pm)
Thanks for post, eb. A pity there isn't one for Max7. I'll see what we can do, maybe it's time to switch to a newer version of 3ds.
#4
08/21/2010 (9:08 pm)
Oscar, I just remembered:
you could try the pro exporter, iirc, it sets the proper data.

[ I have been told that the pro exporter fails at animation exporting but I never verified that. So maybe have both on hand to switch in and out as needed. ]

..or DAE