DAT Object Format.

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
maaarcooose
---- E L I T E ----
---- E L I T E ----
Posts: 397
Joined: Sun May 29, 2011 9:36 pm
Location: Devon, UK
Contact:

DAT Object Format.

Post 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!
Trading computers and writing stuff....
Website: http://www.theramist.co.uk/
OOliteInfo: http://www.theramist.co.uk/ooliteinfo/oo.php
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: DAT Object Format.

Post 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)
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: DAT Object Format.

Post 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.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: DAT Object Format.

Post by Shipbuilder »

Could you not export to a different format directly from Wings 3D or Blender ?
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
maaarcooose
---- E L I T E ----
---- E L I T E ----
Posts: 397
Joined: Sun May 29, 2011 9:36 pm
Location: Devon, UK
Contact:

Re: DAT Object Format.

Post 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!
Trading computers and writing stuff....
Website: http://www.theramist.co.uk/
OOliteInfo: http://www.theramist.co.uk/ooliteinfo/oo.php
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: DAT Object Format.

Post 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
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: DAT Object Format.

Post 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!
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
maaarcooose
---- E L I T E ----
---- E L I T E ----
Posts: 397
Joined: Sun May 29, 2011 9:36 pm
Location: Devon, UK
Contact:

Re: DAT Object Format.

Post by maaarcooose »

I just have to keep thinking up work for myself. :mrgreen:

!m!
Trading computers and writing stuff....
Website: http://www.theramist.co.uk/
OOliteInfo: http://www.theramist.co.uk/ooliteinfo/oo.php
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: DAT Object Format.

Post 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.)
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: DAT Object Format.

Post 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.
Post Reply