Page 1 of 1

DAT Object Format.

Posted: Thu Mar 21, 2013 4:24 pm
by maaarcooose
With the OBJ to DAT converter, is the output format one specifically for use with OOlite or is it a recognised 3D file format?

!m!

Re: DAT Object Format.

Posted: Thu Mar 21, 2013 10:07 pm
by Eric Walch
DAT is Oolite specific. Somewhere in Oolite 1.74, even a new dat format was added that also stored the normals. (For instance Asteroid Storm.oxp uses that format)

Re: DAT Object Format.

Posted: Thu Mar 21, 2013 10:13 pm
by DaddyHoggy
The problem with the .DAT format is that it's a bit about what is actually in the file - i.e. quite a few programs can read .dat format, but might not correctly read the .dat format as (re)created by the obj2dat script.

Sorry, that's probably not the answer you want.

Re: DAT Object Format.

Posted: Thu Mar 21, 2013 10:41 pm
by Shipbuilder
Could you not export to a different format directly from Wings 3D or Blender ?

Re: DAT Object Format.

Posted: Fri Mar 22, 2013 9:52 am
by maaarcooose
Okay.

I'm currently looking at the the format of the files because I want to look at importing the DAT or the OBJ file into vPython so you can view it.
I've got in mind to write a kind of ship builders tool that loads your DAT file, displays it and allows you to place the exhaust plumes, laser position, flashers and other bits.

vPython seems pretty good at creating models from a list of faces.

!m!

Re: DAT Object Format.

Posted: Fri Mar 22, 2013 10:15 am
by Commander McLane
maaarcooose wrote:
I've got in mind to write a kind of ship builders tool that loads your DAT file, displays it and allows you to place the exhaust plumes, laser position, flashers and other bits.
That sounds very much like a new and improved variant of DryDock (which was Mac-only, doesn't work on newer Macs, and is discontinued). I would like that. :D

Re: DAT Object Format.

Posted: Fri Mar 22, 2013 10:26 am
by DaddyHoggy
maaarcooose wrote:
Okay.

I'm currently looking at the the format of the files because I want to look at importing the DAT or the OBJ file into vPython so you can view it.
I've got in mind to write a kind of ship builders tool that loads your DAT file, displays it and allows you to place the exhaust plumes, laser position, flashers and other bits.

vPython seems pretty good at creating models from a list of faces.

!m!
Yes please - that would be fantastic!

Re: DAT Object Format.

Posted: Fri Mar 22, 2013 10:40 am
by maaarcooose
I just have to keep thinking up work for myself. :mrgreen:

!m!

Re: DAT Object Format.

Posted: Fri Mar 22, 2013 8:41 pm
by Eric Walch
Commander McLane wrote:
That sounds very much like a new and improved variant of DryDock (which was Mac-only, doesn't work on newer Macs, and is discontinued). I would like that. :D
The source is on Berlios. Anyone can try to improve things, or just compile it for a newer mac version. (The current version does not compile on XCode 3 or 4.)

Re: DAT Object Format.

Posted: Sun Mar 24, 2013 1:16 pm
by JensAyton
Eric Walch wrote:
Commander McLane wrote:
That sounds very much like a new and improved variant of DryDock (which was Mac-only, doesn't work on newer Macs, and is discontinued). I would like that. :D
The source is on Berlios. Anyone can try to improve things, or just compile it for a newer mac version. (The current version does not compile on XCode 3 or 4.)
It only ever worked in PowerPC builds, so I assume there’s some big-endian dependency somewhere.