Help with Models for Absolute Beginners (wings3d and PC)
Moderators: winston, another_commander
- Amen Brick
- Deadly
- Posts: 187
- Joined: Sat May 10, 2008 5:22 pm
- Location: Bolton!
Help with Models for Absolute Beginners (wings3d and PC)
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.
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.
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
As I would like to start modelling ships - this is very useful - thank-you.
Should it be a sticky oh great and powerful moderators?
Should it be a sticky oh great and powerful moderators?
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
Re: Help with Models for Absolute Beginners (wings3d and PC)
Glad to be of helpAmen Brick wrote:I'd like to thank CptKey, who was a life saver and everyone else who got me to the finishing post.
Download Fighter HUD, Stingray and System Redux from the EliteWiki
- Prester John
- Competent
- Posts: 56
- Joined: Mon Sep 17, 2018 5:57 am
Re: Help with Models for Absolute Beginners (wings3d and PC)
What's happening when you only have the file.obj (and, of course, NOT the file.mtl)?Amen Brick wrote: ↑Fri Jun 06, 2008 10:11 amI 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.
- Prester John
- Competent
- Posts: 56
- Joined: Mon Sep 17, 2018 5:57 am
Re: Help with Models for Absolute Beginners (wings3d and PC)
So, if I get it right, this conversion will not work if you don't have the *.mtl file with the model.obj. Right?Amen Brick wrote: ↑Fri Jun 06, 2008 10:11 amI 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.
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: Help with Models for Absolute Beginners (wings3d and PC)
.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)
Yep.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.
BTW: The recommended converter script these days is
Obj2DatTexNorm.py
. It requires (if I recall it right) Python 2.7.- Prester John
- Competent
- Posts: 56
- Joined: Mon Sep 17, 2018 5:57 am
Re: Help with Models for Absolute Beginners (wings3d and PC)
On the Wiki, I saw "download Python 2.6", when I dowloaded Obj2Dat.py.Svengali wrote: ↑Sun Oct 07, 2018 11:09 amYep.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.
BTW: The recommended converter script these days isObj2DatTexNorm.py
. It requires (if I recall it right) Python 2.7.
So you mean I have to re-download Python 2.7 for *points at link above*?
*GRUMF!* Okay, I note.
Re: Help with Models for Absolute Beginners (wings3d and PC)
Seems the WIKI is outdated as well. See this post by Ahruman.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.
- Prester John
- Competent
- Posts: 56
- Joined: Mon Sep 17, 2018 5:57 am
Re: Help with Models for Absolute Beginners (wings3d and PC)
Checked.... *breathes deeeply* thank youSvengali wrote: ↑Sun Oct 07, 2018 6:02 pmSeems the WIKI is outdated as well. See this post by Ahruman.Prester John wrote: ↑Sun Oct 07, 2018 5:39 pmOn 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*?
*GRUMF!* Okay, I note.