Game Development Community

How do I import a terrain model?

by Dootuz · in General Discussion · 10/07/2006 (8:01 am) · 8 replies

Hi

I'm not sure where to post this but I think it's the right place. Well anyways. How do I import my tertian model? I bought torque last night and I'm still really new. I'm trying to import my obj file for my tertian. If I need I can convert it but I don't know witch formats torque supports. If someone could help me please respond,

Dootuz

#1
10/07/2006 (11:07 am)
Torque supports the DIF format (for BSP maps), the DTS format (for movable objects), and PNG files for height maps.

Because the DTS format is limited in its collision support, your terrain must be either a PNG height map (that you can import through the terraform editor), or a DIF file. You can generate DIF files from MAP files. You can convert OBJ to MAP through a number of paths; for example, using the DeleD editor with the Torque exporter (which will cost you a total of about $80 to purchase): http://www.delgine.com/

I believe Deep Exploration can also import OBJ files and export them as MAP, which you can then compile using MAP2DIF (which comes with Torque). There is a free trial of Deep Exploration; check the web site at http://www.righthemisphere.com/
#2
10/08/2006 (9:44 am)
Ok i can export in milkshape as a map. I found MAP2DIF (i think it's the right one) but how do I use it. I can't find a tutorial for it. Also do DIF files have collision? If you could help me it would be appreciated.

Thanks,

Dootuz
#3
10/08/2006 (9:51 am)
Either run it through dos or just drag your .map file onto the exe.

Yes, DIF files have collision.
#4
10/08/2006 (10:12 am)
Every time I try to export it with milksahpe it crashes unless threes a texture but when there is a texture it doesn't convert it says missing Martaial01. Jpg or peg or something like that.

Please help

Dootuz
#5
10/08/2006 (10:33 am)
If this is for a terrain I wouldn't recommend using a dif file. Just generate a heightmap and import that in from Torque.
#6
10/08/2006 (10:38 am)
Oh ok but I wanted to know how to do the DIF for like makieng a bluiding that whould be hard to do for a hight map. now that i have learned some more about the engion it woud be called an intreor some thats what im trying to make. so how do I get it to be a dif beascue milkshape isnt working.
please help

Dootuz
#7
10/08/2006 (10:45 am)
I haven't used the MilkShape map exporter before. I gave it a quick test and didn't have any problems exporting to a map file though I only created a simple cube. All I can tell you is that you should place all dif files in the interior folder with their corresponding textures. I assume you mapped the texture to your mesh in MilkShape? You should probably name it something more fitting, instead of the default material01.

Most people use Quark or Hammer to create map files which are then converted to dif.

Both programs are free. Do a Google and you'll find where to download them. There's also plenty of information on this site if you need help setting them up.
#8
10/08/2006 (11:26 am)
I cant find Quark or Hammer. well i tryed and im not sure if i found the right Hammer. but i dont under stand how to import then in it. Mabey Quark would be easyer. but i cant find anything. can you help me with this?

please help

Dootuz