Game Development Community

T2DShape3D Not Appearing in DirectX

by Jay Barnson · in Torque Game Builder · 08/13/2009 (3:43 pm) · 9 replies

Under DirectX, my T2DShape3D objects all disappear. This is true even when running the editor - that pane has a bunch of invisible objects. Anybody have an idea on what the problem is here? Is there a work-around?

Thanks.

About the author

Jay has been a mainstream and indie game developer for a... uh, long time. His professional start came in 1994 developing titles for the then-unknown and upcoming Sony Playstation. He runs Rampant Games and blogs at Tales of the Rampant Coyote.


#1
08/13/2009 (6:10 pm)
This is a known issue. Use 3gl instead.
#2
08/13/2009 (6:51 pm)
Umm.... and if I'd actually like to sell the game to people who have off-the-shelf PCs with DirectX but not OpenGL, what should I do then?

(I mean, okay, I could provide instructions for downloading and installing OGL, but by that point I've pretty much lost the sale).

Thanks for the reply, Justin. I appreciate your trying to help.

But I'd really like more of a solution if one exists.

Does nobody use T2DShape3D? Why has GG left it and not touched it for years? Anybody know? And does anybody know where in the code the problem lies? This is just a little infuriating. I'm not afraid of diving into the code myself, but if the solution has eluded the brains that developed the code for years, in spite of being a known problem, then I'm not sure what luck I'm gonna have.
#3
09/03/2009 (2:02 pm)
We would also gladly see shapes working as designed (despite rendering library our client is using). Unfortunately it's not working so at the moment we have to drop some of ours ideas.

As far as I know - in code is statement "if(D3D) return false" when at rendering 3dShapes. After removing it - engine just crashes.

Why it's unsolved for years and even more - intentionally not implemented - I just can't figure out.
#4
09/03/2009 (2:46 pm)
Yeah, removing the statement was the first bone-headed thing I tried... and that didn't solve the problem, but it did yield a nice crash-on-exit. So it's there for a reason.

#5
09/07/2009 (4:48 pm)
I can't comment on your issue but in terms of T2DShape3D in general I've always had the impression that GG meant imagemaps and tilemaps to be the mainstay of TGB with 3d as an only slightly supported gimmick. The thin documentation, lack of simple functionality that would make 3d more usable (such as easy rotation and scaling) and lack of posts talking about animation, changing skins and such all bolster this impression. What's weird is that I can see the functionality is there-- I've imported DTS models from TGEA into TGB, for instance, and saw that their ambient animations still worked, but when I tried to go further (running a character's walk cycle, for instance) I couldn't get it to work and didn't find much help in the docs.

I don't know if this will become a more fully featured part of T2D, but I have the bad feeling that this is "as designed" (meaning if you really want 3d, upgrade).

#6
09/09/2009 (9:38 am)
"upgrade" is not proper word for the situation. I'm creator of 2D casual games for specific hardware and audience (with older and not necessarily high-tech computers). So i can use 3D shapes in limited manner - mainly to have smooth movement of elements which would be hard to get with 2D animations.

So 3D is not anyhow upgrade for me. Even more we do have TGE as it was must have as many blocking errors were solved on TGE private forums in time of our first release.
#7
09/03/2010 (1:42 pm)
I would like to know if someone managed to solve this problem and displayed T2DShape3D under DirectX.

Thanks.
#8
09/03/2010 (2:21 pm)
We do not have it working yet, but one guy here is working over it and hopefully he will find the solution soon.

I'll keep you posted.
#9
09/17/2010 (8:24 pm)
Just chiming in to say that I'd also be happy to see if this can be made to work well.

I'm also in the 'casual market' boat, and D3D rendering is required by the publisher (and functions much more smoothly in TGB on intel chipsets).

-Tim