Game Development Community

Can I embed a .DSQ animation into a .DTS 3d model?

by Matt Simpson · in Artist Corner · 06/07/2010 (10:38 am) · 8 replies

I've bought a rigged and animated 3d model in .DTS format that comes with animations in separate .DSQ files. Is it possible to embed the .DSQ animation(s) into the .DTS file?

If so, can someone please tell me how?

Many thanks!

Matt


#1
06/07/2010 (2:32 pm)
You do this at runtime with DSQ files anyways[with TSShapeConstructor datablock], so I don't see why you might want to do this?

When you use the TSShapeConstructor datablock, you load the DSQ sequences into a DTS shape and that gets stored to memory for the engine to use.

Can you explain exactly what you're trying to achieve or reason for preloading the animations?!?
#2
06/08/2010 (9:02 am)
Hi

Thanks for your reply.

I bought the SpriteWorks 2 application in order to create 2d sprite sheets from animated 3d models for a 2d game I'm working on with Torque X and iTorque 2d.

Unfortunately the app isn't currently working with separate .DSQ files. I want to see if it works with the animation .DSQs embedded into the .DTS model.

#3
06/08/2010 (12:28 pm)
Perhaps contact EnvyGames and ask what they suggest?
www.envygames.com/content/index.php/contact
#4
06/08/2010 (3:45 pm)
You can create an embedded DTS shape with T3D and the ShapeEditor and the scripting it saves; although you'll have to dig around to actually get a DTS binary saved from this scripting. It really isn't too hard. Then, you could perhaps take this shape into the sprite program....I followed the link and yes, you'll need an animated DTS shape to get it working from the blurb.

Otherwise, you'll need the Source file that exported all the DTS and DSQ's and reexport the shape with animations embedded...yucko, either way; sounds like a long row to hoe....better approach might be to see if the program authors can get it to accept DSQ files..??
#5
06/09/2010 (10:14 am)
@JANR - I've tried that but no luck so far.

@Rex - I don't actually have T3D. I only have Torque X 2d, Torque X 3d, iTorque 2d and TGB Pro.

Spriteworks 2.0 should work with separate .DSQ files but at the moment it doesn't.
#6
06/09/2010 (10:42 pm)
How many sequences are you interested in embedding, Matt? Since you already mentioned purchasing something and not having it work; I'll offer to take a look at what you've got to get a preloaded DTS shape put together without any hourly fee.

I don't have the time to do anything with sprite generating; but I could 'probably' get the sequences embedded quickly enough.

Keep at the authors of this "Spriteworks"....they're the ones who should be jumping thru the flaming hoops...perhaps they'll update their program to accept both formats of assets.

All that I would need is the DTS shape and all of the DSQ's you want preloaded...
#7
06/10/2010 (11:53 pm)
I think it was mentioned in another thread that the paths cannot be too long. try putting the files in a folder in c:\ and try again. I'm not sure how "long" is too long for the path name, but desktop is pretty long...
#8
06/11/2010 (9:57 am)
@Cai - Thanks but I've already tried that and it still doesn't work.

@Rex - Thanks for the offer mate. Really very kind of you. There are quite a few sequences though... I've escalated the issue with Sprite Works 2 so I'm hoping a fix will be forthcoming soon. If not, I'll be in touch with you about embedding the .DSQs into the .DTS file.