Game Development Community

3D objects in 1.5

by rmullen · in Torque Game Builder · 04/05/2007 (2:48 pm) · 9 replies

I've tried copying some .dts files into the shapes folder for my project, but they aren't displaying in the creation tab in the editor. Has anyone else had/solved this issue?

#1
04/28/2007 (9:45 am)
Any comments about this? I haven't had to use 3d shapes before but noticed it now too.
#2
04/28/2007 (9:53 am)
Actually, I think I found out why this happens. It's a bug if you ask me.
In ThreeDShapes.ed.cs, the function LBOT3DShape::refresh you have %fileSpec = $currentProject @ "/data/shapes/*.dts";

The problem is... $currentProject is never defined anywhere so the editor have no idea where to look for the .dts files.
#3
04/28/2007 (10:35 am)
Wow, i'm glad this thread is finally getting some action. I'm wanting to use 3D shapes because they'll take up less space in the final game size than a series of rendered images all strung together to make animations.
#4
04/28/2007 (11:31 am)
Might be. But a series of images has many features the 3D shapes do not have.
#5
04/28/2007 (2:53 pm)
Pray tell.
#6
04/29/2007 (5:20 am)
To fix, in ThreeDShapes.ed.cs change:

%fileSpec = $currentProject @ "/data/shapes/*.dts";


to:

%fileSpec = expandFileName( "^game/data/shapes/*.dts");
#7
04/29/2007 (5:45 am)
Works great! thanks.
#8
05/07/2007 (3:53 pm)
This has been fixed for the next release - bug id #2976
#9
12/10/2007 (4:44 pm)
Hey i just downloaded the latest version (1.5.1) and i'm having the same problem. I cannot drag .dts files into the game builder, or add them by any other methods. Is anyone else still having trouble?