Page 1 of 1

Help with Models for Absolute Beginners (wings3d and PC)

Posted: Fri Jun 06, 2008 10:11 am
by Amen Brick
I struggled to get my first model to dat format, mostly because I am an utter newb to scripting/programming/computer software tweaking. I've decided to write a quick abc for others with a similar lack of experience who want to join in but are anxious of wasting time.

I found the page http://oolite.aegidian.org/cyoship2/ useful for modelling with Wings3d upto a point, but one or two things could be clearer for the newb.

A: Make your model. How to do that is out of my scope, but the above page is helpful here.

B: Select Whole Object (the fully shaded cube), select your model and check the number of surfaces and vertices. Try not to have too many of these, less than 200 of each, if possible. You can have more for a bigger ship. More complex ships tax your graphics card more and may slow down the game.

C: Follow the guide above until it says 'Save Your Work". Make sure your auv and model file have the same name (I got a fault on converting, when they were different).

D: Press the menu marked 'Window' and choose Outliner.

E: Choose the auv file you chose and right click and choose 'Make External' (It took me an hour to find this out by myself!). Save it as a .png.

F: Follow the guide until it says: 'Converting for Oolite'

G: Get a copy of Model Utilities, available in on this board and Python25 (if you don't already have it) from http://www.python.org/download/releases/2.5/.

H: Download this to your main drive (C: for example)

I: Put the Obj2DatTex.py file from the Model Utility file into the Python25 main folder

I: Export your Model as a Wavefront (obj) to the Python25 folder. This will also make a .mtl file, which is your uv graphics.

J: Open up your 'DOS' box, by pressing Start on you PC, then choosing 'Run' and entering CMD.

I: In the Black Box, change your drive to Python25 thus:

cd\python25

J: Then type: Obj2DatTex.py <Your Model Save File Name>.obj (i.e Obj2DatTex.py Hornet.obj) and press enter.

This will then convert the file and you will have a dat file in the main Python25 folder.

I hope I didn't miss anything out.

I'd like to thank CptKey, who was a life saver and everyone else who got me to the finishing post.

Posted: Fri Jun 06, 2008 10:13 am
by DaddyHoggy
As I would like to start modelling ships - this is very useful - thank-you.

Should it be a sticky oh great and powerful moderators?

Re: Help with Models for Absolute Beginners (wings3d and PC)

Posted: Fri Jun 06, 2008 8:39 pm
by CaptKev
Amen Brick wrote:
I'd like to thank CptKey, who was a life saver and everyone else who got me to the finishing post.
Glad to be of help :D

Re: Help with Models for Absolute Beginners (wings3d and PC)

Posted: Fri Sep 21, 2018 9:32 am
by Prester John
Amen Brick wrote: Fri Jun 06, 2008 10:11 am
I struggled to get my first model to dat format, mostly because I am an utter newb to scripting/programming/computer software tweaking. I've decided to write a quick abc for others with a similar lack of experience who want to join in but are anxious of wasting time.

I found the page http://oolite.aegidian.org/cyoship2/ useful for modelling with Wings3d upto a point, but one or two things could be clearer for the newb.

A: Make your model. How to do that is out of my scope, but the above page is helpful here.

B: Select Whole Object (the fully shaded cube), select your model and check the number of surfaces and vertices. Try not to have too many of these, less than 200 of each, if possible. You can have more for a bigger ship. More complex ships tax your graphics card more and may slow down the game.

C: Follow the guide above until it says 'Save Your Work". Make sure your auv and model file have the same name (I got a fault on converting, when they were different).

D: Press the menu marked 'Window' and choose Outliner.

E: Choose the auv file you chose and right click and choose 'Make External' (It took me an hour to find this out by myself!). Save it as a .png.

F: Follow the guide until it says: 'Converting for Oolite'

G: Get a copy of Model Utilities, available in on this board and Python25 (if you don't already have it) from http://www.python.org/download/releases/2.5/.

H: Download this to your main drive (C: for example)

I: Put the Obj2DatTex.py file from the Model Utility file into the Python25 main folder

I: Export your Model as a Wavefront (obj) to the Python25 folder. This will also make a .mtl file, which is your uv graphics.

J: Open up your 'DOS' box, by pressing Start on you PC, then choosing 'Run' and entering CMD.

I: In the Black Box, change your drive to Python25 thus:

cd\python25

J: Then type: Obj2DatTex.py <Your Model Save File Name>.obj (i.e Obj2DatTex.py Hornet.obj) and press enter.

This will then convert the file and you will have a dat file in the main Python25 folder.

I hope I didn't miss anything out.

I'd like to thank CptKey, who was a life saver and everyone else who got me to the finishing post.
What's happening when you only have the file.obj (and, of course, NOT the file.mtl)?

Re: Help with Models for Absolute Beginners (wings3d and PC)

Posted: Sat Oct 06, 2018 4:27 pm
by Prester John
Amen Brick wrote: Fri Jun 06, 2008 10:11 am
I struggled to get my first model to dat format, mostly because I am an utter newb to scripting/programming/computer software tweaking. I've decided to write a quick abc for others with a similar lack of experience who want to join in but are anxious of wasting time.

I found the page http://oolite.aegidian.org/cyoship2/ useful for modelling with Wings3d upto a point, but one or two things could be clearer for the newb.

A: Make your model. How to do that is out of my scope, but the above page is helpful here.

B: Select Whole Object (the fully shaded cube), select your model and check the number of surfaces and vertices. Try not to have too many of these, less than 200 of each, if possible. You can have more for a bigger ship. More complex ships tax your graphics card more and may slow down the game.

C: Follow the guide above until it says 'Save Your Work". Make sure your auv and model file have the same name (I got a fault on converting, when they were different).

D: Press the menu marked 'Window' and choose Outliner.

E: Choose the auv file you chose and right click and choose 'Make External' (It took me an hour to find this out by myself!). Save it as a .png.

F: Follow the guide until it says: 'Converting for Oolite'

G: Get a copy of Model Utilities, available in on this board and Python25 (if you don't already have it) from http://www.python.org/download/releases/2.5/.

H: Download this to your main drive (C: for example)

I: Put the Obj2DatTex.py file from the Model Utility file into the Python25 main folder

I: Export your Model as a Wavefront (obj) to the Python25 folder. This will also make a .mtl file, which is your uv graphics.

J: Open up your 'DOS' box, by pressing Start on you PC, then choosing 'Run' and entering CMD.

I: In the Black Box, change your drive to Python25 thus:

cd\python25

J: Then type: Obj2DatTex.py <Your Model Save File Name>.obj (i.e Obj2DatTex.py Hornet.obj) and press enter.

This will then convert the file and you will have a dat file in the main Python25 folder.

I hope I didn't miss anything out.

I'd like to thank CptKey, who was a life saver and everyone else who got me to the finishing post.
So, if I get it right, this conversion will not work if you don't have the *.mtl file with the model.obj. Right?

Re: Help with Models for Absolute Beginners (wings3d and PC)

Posted: Sat Oct 06, 2018 4:54 pm
by another_commander
.mtl files specify the textures and material properties corresponding to those textures of a model. It might just be possible to use an obj file without the mtl (disclaimer: not sure, never done it), but I would expect that information related to textures of that model will be lost. It might also depend on the software used to do the conversion. Maybe our experienced modelers can chime in for more specifics.

Re: Help with Models for Absolute Beginners (wings3d and PC)

Posted: Sun Oct 07, 2018 11:09 am
by Svengali
another_commander wrote:
It might just be possible to use an obj file without the mtl (disclaimer: not sure, never done it), but I would expect that information related to textures of that model will be lost.
Yep.

BTW: The recommended converter script these days is Obj2DatTexNorm.py. It requires (if I recall it right) Python 2.7.

Re: Help with Models for Absolute Beginners (wings3d and PC)

Posted: Sun Oct 07, 2018 5:39 pm
by Prester John
Svengali wrote: Sun Oct 07, 2018 11:09 am
another_commander wrote:
It might just be possible to use an obj file without the mtl (disclaimer: not sure, never done it), but I would expect that information related to textures of that model will be lost.
Yep.

BTW: The recommended converter script these days is Obj2DatTexNorm.py. It requires (if I recall it right) Python 2.7.
:| On the Wiki, I saw "download Python 2.6", when I dowloaded Obj2Dat.py.
So you mean I have to re-download Python 2.7 for *points at link above*?
:x *GRUMF!* Okay, I note.

Re: Help with Models for Absolute Beginners (wings3d and PC)

Posted: Sun Oct 07, 2018 6:02 pm
by Svengali
Prester John wrote: Sun Oct 07, 2018 5:39 pm
:| On the Wiki, I saw "download Python 2.6", when I dowloaded Obj2Dat.py.
So you mean I have to re-download Python 2.7 for *points at link above*?
:x *GRUMF!* Okay, I note.
Seems the WIKI is outdated as well. See this post by Ahruman.

Re: Help with Models for Absolute Beginners (wings3d and PC)

Posted: Sun Oct 07, 2018 6:09 pm
by Prester John
Svengali wrote: Sun Oct 07, 2018 6:02 pm
Prester John wrote: Sun Oct 07, 2018 5:39 pm
:| On the Wiki, I saw "download Python 2.6", when I dowloaded Obj2Dat.py.
So you mean I have to re-download Python 2.7 for *points at link above*?
:x *GRUMF!* Okay, I note.
Seems the WIKI is outdated as well. See this post by Ahruman.
Checked.... *breathes deeeply* thank you :roll: