OpenParsec / openparsec

GNU General Public License v2.0
51 stars 8 forks source link

Look into loading other file types for 3d objects #87

Open uberlinuxguy opened 2 years ago

uberlinuxguy commented 2 years ago

@Cheeseness mentioned GLTF @slime73 mentioned OBJ @CrazySpence mentioned vrml2.

We should take a look at the 3 of 'em and see what looks the easiest/has a good C/C++ lib, and just roll with it.

Requirements:

uberlinuxguy commented 2 years ago

GLTF:

slime73 commented 2 years ago

GLTF is the most fully featured of those formats, I think it makes sense to aim for it as long it can support everything the game needs.

I noticed genobject/odt have some "interesting" / 90's era material settings per face, figuring that stuff out - and how much of it is actually used - is probably one part of moving to one of these new formats.

uberlinuxguy commented 2 years ago

Yeah I was just looking for libraries for the other two, VRML2 seems to be a very old format, might be hard to find a library for it. OBJ which was a wavefront thing(?) Seems pretty old too, the couple I found on github referencing that were unmaintained.

CrazySpence commented 2 years ago

I like libraries.

the online conversion sites also seem to support this so i can turn a bunch of wing commander ships i've been stock piling for years into it with the drop of a hat </secret plan>