Game Development Community

T2DShape3D - Is this in TorqueX?

by Ron Barbosa · in Torque X 2D · 06/01/2010 (11:39 am) · 6 replies

Hey all...I've been noticing some posts in the TorqueX forums that make mention of a T2DShape3D.

What is this, and is it supported in TorqueX? It seems to be referenced as if it allows you to use a 3D DTS model in a 2D TX game (which would be perfect for my game).

Has anyone got any experience with this?

Thanks
--RB

#1
06/01/2010 (11:45 am)
I have TONS of experience with it. Yes, that's exactly what it does. Unfortunately, the TX guys didn't seem to put a lot of love into it. Not many people use it and there are a decent amount of framerate issues with it.
#2
06/01/2010 (11:49 am)
Hmmm...that sucks that the performance isn't good. Believe it or not...there is NO MENTION of this class in the reference section of the TorqueX documentation.

I don't recall it being mentioned on John Kanalakis' book either.

Anywhere you know of where I can kind some details on what it is and how to use it?

I don't recall seeing anything in the builder that makes reference to it either.

Thanks for any guidance you can offer.

--RB

[UPDATE] I guess John K. references this object in the 3D section of the book, which I only glossed over because I'm doing a 2D game.
#3
06/01/2010 (3:55 pm)
I used this object over a year ago, to spam some 3D objects in a demo, wasn't bad as I recall, but did seem to be a bit buggy in regards to how things were getting layered. I wonder if they have updated it at all.
#4
06/01/2010 (8:10 pm)
Thee is no mention of lots of things in the TX docs ;)
#5
06/04/2010 (8:13 am)
Thanks for the responses, guys. I guess there are really no comprehensive tuts on this particular component.

Also, it seems to be mostly driven by code and not really accessible through TXB, which is kind of lame.

At any rate, I was able to get a DTS model loaded into my game (which is cool). It didn't seem to paint the textures at all...it was just a black silhouette, but that's most likely because I didn't enable any lighting components in my scene.

This seems like a feature we should squawk about, though. I'm sure many TX2D users are building/buying 3D assets and then converting them to sprites (this is what I'm doing). I'd like to be able to use more of my assets directly. It helps when capturing a character from different perspectives/viewpoints. The sprite approach is pretty limiting in this regard.

It'd be nice to get this component up to snuff from a performance perspective and to see some good documentation on how to best utilize it.

Thanks again for the responses!
--RB
#6
06/04/2010 (8:25 am)
Yep - it's because you need a light.