Game Development Community

Need help exporting from Blender

by Steven B · in Torque Game Engine · 12/12/2004 (1:23 pm) · 7 replies

I need a tutorial on how to export a model from Blender and use it in Torgue. I looked at the previous post "blender for newbies" but I didn't quite get what I was looking for out of that post.

About the author

www.AnswerRack.com Ask Questions There, Get Answers. You can Ask a Game Development Question You can Ask A Mechanic A Question. Ask just about anything.


#1
12/12/2004 (10:14 pm)
What kind of model? There are several threads here that are rather helpful.
#2
12/12/2004 (11:14 pm)
This thread should help.
#3
12/13/2004 (9:45 am)
I have read through the threads and I still in the same spot.

I have blender 2.35

I have Windows XP

C:/Program Files;C:\Python23\Lib\idlelib;C:\WINNT\system32\python23.zip;C:\Program Files\blender\util;C:\Python23\DLLs;C:\Python23\lib;C:\Python23\lib\plat-win;C:\Python23\lib\lib-tk;C:\Python23;C:\Python23\lib\site-packages;C:\Program Files\Blender Foundation\Blender\.blender\scripts

That is the latest Path I used I have tried all kinds of configs


One thing that I can't find anywhere on my computer is blender\util

At first I also tried C:\Documents and Settings\Steve\Desktop as it said in the documentation.

I have basically done what the doc said and the tried a bunch of other configs but I did use the directions first. Stumped!
#4
12/13/2004 (10:48 am)
Can you downgrade to Blender 2.34, and verify that it works there?
#5
12/14/2004 (9:54 am)
Well after trying for hours and days I did decide to downgrade to 2.34 and as soon as I installed and opened it. The exporter was there and I exported the example cube and put it into the starter.fps and shot some arrows at it. That did the trick, I just like having the latest release of an application. That is why I tried so hard to get it working.
Thanks.

I read in some other posts that they had 2.35 working but I could never get the path right I guess?
Whenever I tried to run getPath.py
the window would just show for a split second and disappear, I tried several ways to run it with the same result.
#6
12/14/2004 (10:36 am)
Steven,

To make the export work with 2.35 you have to change the first few lines of Dts_Blender.py so it looks like the following. You can do this in any text editor.

#!BPY
"""
Name: 'Torque DTS Exporter'
Blender: 233
Group: 'Export'
Submenu: 'Export' export
Submenu: 'Configure' config
Tooltip: 'Export to Torque (.dts) format.'
#7
12/14/2004 (11:18 am)
I did change that file in python after reading a post and it still didn't work.

As a matter of fact I just checked it again and it has the changes made to it.