I've tried this with several different models, stock torque and otherwise.
In the process of "cleanig up" all my 3d assets and testing them with T3D.
All the custom models I tested load up and "seem" to be fine - no errors, animations work, etc.
However, when loading them in T3D1.2 ShapeEditor ... and try to save the shape as a new dts using saveShape() function ... (even without making any changes) ... most of them caused the editor to start writing the file, then crash.
The custom models were fixed by re-importing using the COLLADA and using SingleDTS "detection".
This created a LOD(2) by default – and NONE of the models had issues with saveShape() after that.
... So I then proceeded to make the required mount points, eye, cam, etc ... and so on.
NEXT -
I then turned to the standard Torque assets ...
"Boombot" has detail levels, but still causes a crash when trying to save in shape editor view
//in console //
ShapeEditor.shape.saveShape("./test.dts");
... Soldier, Alien saved ok
Then I tried some of the models purchased from GG stores ... and had same issues as my custom art.
It loads and works fine – but saveShape() crashed when trying to save to a new file. Even with no changes.
And most all of that content had LODs, etc ... already built into the DTS models.
Could it be an issue with DTS v24 versus v26 ? Or just a coincidence ???
Here are specific steps to reproduce the crash;
Load T3D 1.2 / FPS Example
Hit F11, enter editor mode ... select shape editor
load art/shapes/actors/boombot/boombot.dts
http://www.garagegames.com/community/forums/viewthread/129094
Originally from THREED-3147
I've tried this with several different models, stock torque and otherwise.
In the process of "cleanig up" all my 3d assets and testing them with T3D.
All the custom models I tested load up and "seem" to be fine - no errors, animations work, etc.
However, when loading them in T3D1.2 ShapeEditor ... and try to save the shape as a new dts using saveShape() function ... (even without making any changes) ... most of them caused the editor to start writing the file, then crash.
The custom models were fixed by re-importing using the COLLADA and using SingleDTS "detection". This created a LOD(2) by default – and NONE of the models had issues with saveShape() after that.
... So I then proceeded to make the required mount points, eye, cam, etc ... and so on.
NEXT -
I then turned to the standard Torque assets ...
"Boombot" has detail levels, but still causes a crash when trying to save in shape editor view //in console // ShapeEditor.shape.saveShape("./test.dts");
... Soldier, Alien saved ok
Then I tried some of the models purchased from GG stores ... and had same issues as my custom art. It loads and works fine – but saveShape() crashed when trying to save to a new file. Even with no changes. And most all of that content had LODs, etc ... already built into the DTS models.
Could it be an issue with DTS v24 versus v26 ? Or just a coincidence ???
Here are specific steps to reproduce the crash;
Load T3D 1.2 / FPS Example
Hit F11, enter editor mode ... select shape editor load art/shapes/actors/boombot/boombot.dts
open console window, type:
ShapeEditor.shape.saveShape("newShape.dts");
... crash.