Page 1 of 1

Converting Oolite DAT models?

Posted: Sun May 29, 2011 12:33 pm
by DaddyHoggy
How easy is it (or indeed is it possible) to take the .dat files that oolite uses for the ship models and covert them back into something else a 3D modelling tool can use? (i.e. reversing the python obj2dat process?)

Re: Converting Oolite DAT models?

Posted: Sun May 29, 2011 12:59 pm
by Commander McLane
DaddyHoggy wrote:
How easy is it (or indeed is it possible) to take the .dat files that oolite uses for the ship models and covert them back into something else a 3D modelling tool can use? (i.e. reversing the python obj2dat process?)
It's no more difficult than to use the python dat2obj process. The script for that is on the same download page as the obj2dat script. :wink:

Re: Converting Oolite DAT models?

Posted: Sun May 29, 2011 1:12 pm
by DaddyHoggy
:oops: D'oh... didn't realise that somebody had already thought of that!

Downloading now!

Re: Converting Oolite DAT models?

Posted: Sun May 29, 2011 1:20 pm
by drew
DaddyHoggy wrote:
How easy is it (or indeed is it possible) to take the .dat files that oolite uses for the ship models and covert them back into something else a 3D modelling tool can use? (i.e. reversing the python obj2dat process?)
I recognise that line of questioning...

...what are you up to, eh? :wink:

Cheers,

Drew.

Re: Converting Oolite DAT models?

Posted: Sun May 29, 2011 1:24 pm
by DaddyHoggy
That would be telling, especially if my idea comes to naught...

Re: Converting Oolite DAT models?

Posted: Sun May 29, 2011 5:52 pm
by Killer Wolf
the python script DAT2OBJ works w/ a box modeller like Wings, but if you use owt else you might just get a bunch of unconnected vertices.

Re: Converting Oolite DAT models?

Posted: Sun May 29, 2011 6:08 pm
by DaddyHoggy
Wings would be good enough to start - I could export from Wings to something else from there...