Game Development Community

My dts shape makes everything slow

by Adam Beaumont · in Torque Game Engine · 09/03/2003 (12:47 pm) · 5 replies

I've built my first vehicle model in max to import into TGE. I've got everything sorted so I can load it in and view it in Torque but everything is suddenly very very slow - missions take 5 times as long to load and the game hangs as soon as the mission is ready to play!

If I replace my model with the example buggy model chassis, everything comes back up to normal speed. My model is 770 polys which I thought was maybe causing a problem, so I replaced my model with a simple box - same problem.

Is there something that I could have done wrong that would maybe explain this slowdown ? All my collision volumes etc are just boxes and my relationship tree looks like:

bounds
base01
-------detail1
-------collision-1
-------LOS-9
-------start1
--------------col1
--------------LOScol-9
--------------eye
--------------mass
--------------VehicleMesh1

Anyone seen anything like this before ? I'm guessing Im either missing something or have linked something in the wrong way but any help would be appreciated.

Thanks

Adam

#1
09/03/2003 (12:56 pm)
You dont have any Lod information on the mesh !
try to put some detail dummys and make a multires mesh to !
Maybe thats why !!

-Billy
#2
09/03/2003 (1:04 pm)
Not likely..
how many polies in the collision mesh?
700?
Ouch..
try like 20 polies in the collision mesh..
Much better.
#3
09/03/2003 (11:54 pm)
@Billy - I thought I had 1 detail level (detail1) - shouldn't that be enough ? When the model is loaded and displayed it is near the camera so that 1 detail model is all thats required I think...

@Badguy - The collision mesh has 20 polys already (its a box) its the model that had about 700.

It seems very odd that everything would be slowed down so much (even the mission loading !)
#4
09/04/2003 (8:01 am)
I made a box with your config .
I dont get any problems !
Have you looked in the dumb and do you have a cfg file for the
export ?
What kind of vehicle do you use i havent messed around much
with wheeled one !

-Billy
#5
09/05/2003 (1:14 am)
I found the problem - I had been exporting from max using file->export to create the dts file. When I used the export utility and unchecked 'Collapse Transforms' the problem went away.

Thanks for the suggestions...