Loading *.DTS into torqueDemo
by JJ Robinson II · in Torque Game Engine · 11/17/2003 (7:23 pm) · 9 replies
I have searched the fora and documentation for several hours on this topic with very limited success. The official Show Tool documentation, for example, consists of two empty, circular links. Pretty frustrating... I did finally scrounge up a couple of tutorials and got this far.
I want to load a small model from MilkShape into the demo game. I have successfully (as far as I can tell) exported a simple model with texture material (no animation yet) from MS3D to DTS format with ms2dtsExporter. I placed the model in a subfolder in torque\example\demo\data\shapes. I can't get either Show from the command line or the World Creator editor to list the subfolder or model in their load lists. How does this work?
I want to load a small model from MilkShape into the demo game. I have successfully (as far as I can tell) exported a simple model with texture material (no animation yet) from MS3D to DTS format with ms2dtsExporter. I placed the model in a subfolder in torque\example\demo\data\shapes. I can't get either Show from the command line or the World Creator editor to list the subfolder or model in their load lists. How does this work?
About the author
#2
I set MS to export material information and put the texture in the folder as a PNG, but it isn't showing up on the model.
11/17/2003 (8:04 pm)
Okay, thanks---I have the geometry in both the demo and Show tool. I set MS to export material information and put the texture in the folder as a PNG, but it isn't showing up on the model.
#3
11/17/2003 (8:13 pm)
Oops. I had the wrong texture file. It's working now.
#4
11/17/2003 (10:04 pm)
I've now added and exported a simple skeletal animation with ms2dtsExporter. For some reason, the animation shows up in the Show tool, but not when I place the model in the demo game.
#5
11/17/2003 (10:19 pm)
Oops. I had the wrong texture file. It's working now.
#6
I think you might have just passed me on the learning curve. I have yet to do a animation. (been working on some other things)
Glad I could help,
11/18/2003 (4:55 am)
Glad things are working for you. I think you might have just passed me on the learning curve. I have yet to do a animation. (been working on some other things)
Glad I could help,
#7
I'm hoping the MS to DTS exporter is saving just the keyframes for interpolation by the engine. Does Torque support hardware-accelerated tweening (http://www.geocities.com/mkia1/DX81Demo.html)? I haven't looked into the engine core yet.
11/18/2003 (6:24 am)
It is just one of my early attempts at a face, with one bone to move the mouth. The animation cycle is mouth closed, mouth open, mouth closed. The MS3D help entry is pretty useful---the MS way of making bones and setting keyframes isn't exactly intuitive.I'm hoping the MS to DTS exporter is saving just the keyframes for interpolation by the engine. Does Torque support hardware-accelerated tweening (http://www.geocities.com/mkia1/DX81Demo.html)? I haven't looked into the engine core yet.
#8
06/04/2008 (12:13 am)
That tutorial you created for exporting a simple shape with simple animations was very helpful. thanks very much for that tutorial. It would be great if you posted a similar tutorial to include numerous animations and ways to control them . thanks again.
#9
Everyone appreciates a thank you, but be sure to check the date of a post before you comment. The post you are replying to is from November 2003.
It is unlikely the original poster will respond. This is not a flame, just a simple comment from someone who made the same mistake a few years ago :)
Good luck with your game and welcome to Torque.
Tony
06/05/2008 (4:04 pm)
Sanjay,Everyone appreciates a thank you, but be sure to check the date of a post before you comment. The post you are replying to is from November 2003.
It is unlikely the original poster will respond. This is not a flame, just a simple comment from someone who made the same mistake a few years ago :)
Good luck with your game and welcome to Torque.
Tony
Torque Owner Dan -
torquedemo - show
you will need to place your shapes in:
torque\example\starter.fps\data\shapes\
To use the directory you are using you would need to do:
torquedemo -game demo -show
Although I am not sure exactly if that will work right. I tried it out and it does display your those directories.
If you weren't using the -show option try running
torque -game demo
to activate the demo shapes.
Hope that helps,