Game Development Community

Dts plus exporting incorrectly

by Otto Itkonen · in Artist Corner · 08/17/2008 (5:50 am) · 5 replies

I'm exporting player dts with animations, everything else works fine, but when I open the dts in Show Tool Pro, I can only see one group, the bones and nodes. Dsq animations work fine as well, but still the only thing that can be seen is that one group. Original dts exporter exports well, no errors, but I can't set framerate or export to dsq the animations. I probably have malformed groups, but I'm not sure and got no idea, how to fix it. Any idea?

Thanks,
Otto

#1
08/17/2008 (12:45 pm)
Hi Otto,

Have you setup LOD for each group correctly (just a number at the end of the group name)? Check the dump file that is generated (same folder as the exported DTS file) to see the hierarchy of the exported shape => I suspect you have different LOD values for different groups.
#2
08/18/2008 (11:11 am)
I set those LOD values so, that they aren't the same. (Actually to numbers from 1 to 9, in order.)
Still not working.
And I tryed to understand that dump file and find the right place in it, but it didn't help.
(I got no useful info from it.)
I could send the dump file to you by email, but you don't have to check it if you don't want to.

Thanks again.
#3
08/18/2008 (11:18 am)
Try setting the lod's to zero and see if it shows up.
#4
08/18/2008 (1:12 pm)
Quote:I set those LOD values so, that they aren't the same. (Actually to numbers from 1 to 9, in order.)

That means that you have 9 different LODs, with only a single group in each. To put multiple groups in the same LOD, they need to have the same number at the end. eg.

groupA10
groupB10
groupC200

Would produce two LODs => one with groupA and groupB at size=10, and one with groupC at size=200. The 'size' tells Torque when to switch between the LODs. The smaller the number, the further the shape must be from the camera before it is switched. In this case, when the shape is 200 or more pixels in size on screen, it will use groupC, when it is 10-200 pixels in size it will use groupA and groupB and when it is less than 10 pixels in size it will not be rendered at all!

Quote:And I tryed to understand that dump file and find the right place in it, but it didn't help.

The important part of the dump file is right at the end, where it shows you the shape hierarchy. You will see that your shape has 9 different LODs, which does not sound like what you want.
#5
08/19/2008 (5:46 am)
Thanks, I changet all the lods to 1 and it worked!!! Thank you very much!

- Otto