3D Shapes help
by Chris · in Torque Game Builder · 06/10/2006 (3:43 pm) · 7 replies
I have exported a 3d fish I made in milkshape to a .dts. With a skin, bounds and root node. When I loaded up the TGB it displayed a gray box for the shape but when I dragged it onto the scenegraph all I got was a transparent square. I then went to the TDN and went to the using 3d shapes tutorial and downloaded the soldier model they gave as an example and the same thing happened.
What am I missing or are the 3d shapes currently not working.
Chris
What am I missing or are the 3d shapes currently not working.
Chris
About the author
#2
06/11/2006 (12:30 pm)
Even if it didnt export correct shouldnt the example soldier in the TDN work?
#3
reinstatedsoldier-attack.dsq
reinstatedsoldier-death.dsq
reinstatedsoldier-idle.dsq
reinstatedsoldier-move.dsq
reinstatedsoldier-react.dsq
reinstatedsoldier.dts
reinstatedsoldier.png
06/12/2006 (4:51 am)
Yeah, make sure you put all of the associated files in the 'shapes' directory though. I've got:reinstatedsoldier-attack.dsq
reinstatedsoldier-death.dsq
reinstatedsoldier-idle.dsq
reinstatedsoldier-move.dsq
reinstatedsoldier-react.dsq
reinstatedsoldier.dts
reinstatedsoldier.png
#4
06/12/2006 (3:32 pm)
Yeap I got all of that and it still doesn't display. Do you think it could be a driver issue?
#5
06/13/2006 (12:46 pm)
I had this problem as well, switch to OpenGL rendering in your options.
#6
exits. If you STILL have problems then the only other thing I've found that makes things either
transparent or white or black is if something has turned off blending, etc.
~neo
06/16/2006 (11:51 pm)
Yup that would do it, in the start of the render function the code checks if renderer == "D3D" andexits. If you STILL have problems then the only other thing I've found that makes things either
transparent or white or black is if something has turned off blending, etc.
~neo
#7
06/18/2006 (4:25 am)
I'm having a similar problem with shape animations (not to hijack the thread). Models render properly and everything but I can't get animations to work, I get a script error in the console "preload failed for soldierDTS" and I can't find any reference for the TSShapeConstructor function. Any ideas?
Torque Owner Ben Shive
The latest TGB is pretty nice in that all you have to do is drop the .dts plus any texture files in the data/shapes folder.