Hello

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
nebulous
Average
Average
Posts: 14
Joined: Mon Feb 05, 2007 8:51 pm
Location: UK

Hello

Post by nebulous »

New person saying hi.
I also have a question. Can I use Lightwave 3D to build models for oolite and if so, how do they need to be save/exported?
... and I'm Barry Hercules, doc.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

The standard intermediate format for 3D files prior to conversion to Oolite’s custom format is OBJ. Since this is Lightwave’s format to start with, it should work.
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2483
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

Hi
I've been using lightwave7.5 to make ships, i haven't tried making a .dat out of them directly out of lightwave, i'll have to give it a go as it'll save a bit of faff.
I'm on a windows xp pc here's the workflow i've been using:-

build and UV the model in lightwave and then when done export it as an .obj

import the .obj into wings 3d, load in and apply the texture map, then re-export it as an .obj (doing this gets you your .obj file and .mtl file needed for the obj2dattex.py .dat converter script)

put the obj2dattex.py script, your .obj and .mtl files in a folder ( i also put in my texture .png files too for good luck) open a command prompt, browse to the folder and type obj2dattex.py 'xxx'.obj where 'xxx' is the file name of your obj and press enter, you should then get a 'xxx'.dat file which oolite will understand.

in the re-exporting from wings step i've been getting better results if i select the entire model and use the 'export selection as .obj' option as sometimes choosing the export as .obj option gets me an empty .obj file for some reason.
Post Reply