Game Development Community

Blender to Torque

by Richard Pettyjohn · in Torque Game Engine · 09/13/2005 (6:20 pm) · 13 replies

How do you use blender objects in torque? I tried using James' exporter but I don't know which files in the package to use and were to put them (I don't know the location of blender export scripts) also the PYTHONPATH setting instuctions confuse me.

#1
09/13/2005 (6:27 pm)
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=8395

Awesome site with very helpful video tutorials!!
#2
09/14/2005 (6:43 pm)
I was following the tutorial but then it told me to select Torque Shape (.dts) from the export menu but its not there. Do I have to have an exporter installed?
#3
09/14/2005 (8:02 pm)
By "export menu", that means from the Scripts window - not the File menu.

What OS are you using?
#4
09/14/2005 (9:13 pm)
@Fail66 - Thanks, glad you like them ;)

@Richard - Yes, you have to install the Blender dts exporter before it will show up in the menu. Don't forget to search through the threads in the Blender section of these forums for people that have had the same problem.

I'm not sure of the install procedure for Mac but if you have python (preferably 2.3) installed and just make sure the dts_export.py file ends up under \\Blender\.blender\scripts it should work for you. You know it is installed when the dts exporter appears in the menu.

Best of luck.
#5
09/15/2005 (3:32 am)
The installation procedure for the Mac is pretty simple; it just depends on where you have Blender. Assuming you have the Blender app as /Applications/blender, then just drop the exporter scripts into /Applications/blender/blender.app/Contents/MacOS/.blender/scripts.

Voila.
#6
09/15/2005 (6:16 pm)
I already checked the forums but what I found didn't help me.

How do you get so far into blender files? I got as far as Applications/blender/Contets/MacOS but couldn't find Scrips.
#7
09/15/2005 (7:54 pm)
Ahhh... That's because I said you have to look for ".blender/scripts". Notice the "DOT". It's a hidden file. If you open Finder to Contents/MacOS, hit Shift-CMD-G and enter ".blender".

Inside there, you'll find the locale and scripts folders.

Sneaky, no?
#8
09/15/2005 (8:47 pm)
Thanks. I still need to know which scrips in the Torque_Exporter package to put there.
#9
09/16/2005 (7:42 am)
Well, inside the Torque_Exporter directory, you'll find some Python scripts and two folders (DTSPython and util). Copy all of that into the scripts directory. The exporter is expecting to find those two folders.
#10
09/16/2005 (5:46 pm)
Thanks!!! It works fine now.
#11
10/13/2005 (7:03 pm)
Well it seems to work but I'm having problems exporting materials. I followed the video tutorial but the shapes still come out white without any material. Does anybody have any tips?
#12
10/13/2005 (7:31 pm)
Make sure that the material is named correctly (according to the tutorial) and is the correct size both when explorting from blender and when importing back into blender. It has to be a size that is to the power of 2 in size (ie; 64x64, 128x128, 256x256, 512x512, etc...).
#13
10/14/2005 (9:01 am)
Thanks!