sdo format?

sdo format?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

sdo format?

Post by hughperkins »

Is there a description of the sdo format?

Edit: also, same question for 3do.

Are there any mods that are using sdo at the moment? How easy is it to convert a mod into sdo? What are advantages of each of 3do and sdo?
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

I think you mean s3os.

Um unless you've got the source models you'll basically have to redo the 3do models from scratch, at least I had lots of troubles with importing stuff I exported from upspring. In theory you'd have to UV map the 3dos and then skin it so it takes some time.

There's a faster way though using Milkshape3d and a third party 3do importer. It creates a simple face to face UV map and assembles all textures the model uses on a 512 (or 256?) texture map. You'll need the source GAFs for this to work though, that's the TA container format for graphics. You can then export the model and texture back to obj, import it in your favorite modeling app and start exporting stuff in single pieces again for setting up the s3o in upspring. It takes some time, but not as much as redoing from scratch apparently.
The plugin can be found on fileuniverse.com in the TA section IIRC. Don't have the link to the offical site right now.


I think it's best to bug jcnossen about file format descriptions. :-)
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

Post by hughperkins »

So, OTA models cant be converted automatically into s3o?
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

No, but that's on my TODO for the next upspring, I already have some texture collecting code.
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

Post by hughperkins »

Ok. Random question: are map features, such as rocks, s3o/sdo files? It looks like trees are special and geos are smoke sources, but unclear about rocks, corpses etc?
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Ok. Random question: are map features, such as rocks, s3o/sdo files? It looks like trees are special and geos are smoke sources, but unclear about rocks, corpses etc?
Yeah, rocks and corpses are 3DO or S3O
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

Post by hughperkins »

Ok. Just asking hypothetically you understand ;-)

Edit: first successful load of an s3o from C#

Image

C# s3o loader class (GPL):

http://manageddreams.com/csai/S3oLoader.cs

There's something missing in the rendering, something to do with team colors and alpha textures, but the loader itself seems ok.

Edit: updated file header to integrate original header
Last edited by hughperkins on 02 Dec 2006, 03:36, edited 2 times in total.
User avatar
BvDorp
Posts: 439
Joined: 14 Oct 2005, 12:09

Post by BvDorp »

I can sense something really freaking nice coming up here!

So. i'll just be silent, you two guys keep talking, coding, etc :lol:
Post Reply

Return to “Engine”