ShowTool errors loading MAX exported simpleshape
by Spyros Vosinakis · in Torque Game Engine · 07/13/2007 (6:04 am) · 3 replies
Hi all
I've been following the tutorial on the MAX2DTS exporter up to it's very early stage of exporting a simpleshape (a 16-side sphere). I've correctly set up the shape and bounds box, and used the exporter to renumber, build the hierarchy and export. Also looked at the dump.dmp file and think everything has gone well with the export. The result is SimpleShape.DTS along with SimpleTexture.bmp.
So, to go on, I kept following the tutorial and tried to load the shape into showtool by doing the following (at which point I suspect I have started doing things wrong):
1. I am using Torque Game Engine Advanced, installed at "C:\Program Files\GarageGames\TGEA_SDK", so to run the showtool, I executed "TGEA.exe -show" at a command prompt at the "C:\Program Files\GarageGames\TGEA_SDK\example" directory (the only place I could find an actual executable).
2. The showtool started allright, magenta background and everything. I then created a new directory at "C:\Program Files\GarageGames\TGEA_SDK\example\test" and put the two files (exported model .dts and texture .bmp) there.
3. I clicked on the "Load Shape" button. A dialog box with a directory tree showed. The problem was that the only directories shown where "show", "creator", "demo" and "common", leaving the newly created "test" directory as well as a few others also existing under "C:\Program Files\GarageGames\TGEA_SDK\example" (e.g. "terrain_water_demo") out. So I couldn't access the new directory with the exported model and texture.
4. I then moved the "test" directory under the "show" directory (later on I also moved it under "demo" and the two others that were shown on the directory tree, to no avail).
5. I started showtool again, clicked on "Load Shape", navigated to "show/test" on the directory tree, selected SimpleShape.DTS on the right, clicked "Load"... and nothing happened. No model loaded.
6. I checked console.log, of whose contents the most relevant ones seemed to be the following, close to the end of the file (I can post the whole file if needed):
Missing file: show/test/simpleshape.cs!
Missing file: show/test/materials.cs!
popDialog(): Invalid control: TSShowLoadDialog
popDialog(): Invalid control: TSShowMiscDialog
popDialog(): Invalid control: TShowEditScale
Plz forgive my (obvious) lack of Torque knowledge. I've just started experimenting. I'd *seriously* appreciate any feedback.
I've been following the tutorial on the MAX2DTS exporter up to it's very early stage of exporting a simpleshape (a 16-side sphere). I've correctly set up the shape and bounds box, and used the exporter to renumber, build the hierarchy and export. Also looked at the dump.dmp file and think everything has gone well with the export. The result is SimpleShape.DTS along with SimpleTexture.bmp.
So, to go on, I kept following the tutorial and tried to load the shape into showtool by doing the following (at which point I suspect I have started doing things wrong):
1. I am using Torque Game Engine Advanced, installed at "C:\Program Files\GarageGames\TGEA_SDK", so to run the showtool, I executed "TGEA.exe -show" at a command prompt at the "C:\Program Files\GarageGames\TGEA_SDK\example" directory (the only place I could find an actual executable).
2. The showtool started allright, magenta background and everything. I then created a new directory at "C:\Program Files\GarageGames\TGEA_SDK\example\test" and put the two files (exported model .dts and texture .bmp) there.
3. I clicked on the "Load Shape" button. A dialog box with a directory tree showed. The problem was that the only directories shown where "show", "creator", "demo" and "common", leaving the newly created "test" directory as well as a few others also existing under "C:\Program Files\GarageGames\TGEA_SDK\example" (e.g. "terrain_water_demo") out. So I couldn't access the new directory with the exported model and texture.
4. I then moved the "test" directory under the "show" directory (later on I also moved it under "demo" and the two others that were shown on the directory tree, to no avail).
5. I started showtool again, clicked on "Load Shape", navigated to "show/test" on the directory tree, selected SimpleShape.DTS on the right, clicked "Load"... and nothing happened. No model loaded.
6. I checked console.log, of whose contents the most relevant ones seemed to be the following, close to the end of the file (I can post the whole file if needed):
Missing file: show/test/simpleshape.cs!
Missing file: show/test/materials.cs!
popDialog(): Invalid control: TSShowLoadDialog
popDialog(): Invalid control: TSShowMiscDialog
popDialog(): Invalid control: TShowEditScale
Plz forgive my (obvious) lack of Torque knowledge. I've just started experimenting. I'd *seriously* appreciate any feedback.
#2
07/13/2007 (9:15 am)
So, why is the "show" mode there in the first place if, as I take it, it doesn't work? Or does it work, with a little tweaking maybe?
#3
07/13/2007 (9:19 am)
It's there as an example for those that may wish to utilize the concept for their own implementations. It could be argued that it should have been taken out, but that would be removing example code to demonstrate what could be useful learning code for some users.
Torque 3D Owner Stephen Zepp