Page 1 of 1

Documentation on ASSIMP metafile parameters?

Posted: 05 Sep 2013, 07:23
by Kerr
I'm looking for documentation or a list or something to tell me what all things I can set in a metafile...

It must exist I figure, but I haven't figured out where yet.

Re: Documentation on ASSIMP metafile parameters?

Posted: 05 Sep 2013, 07:59
by SpliFF
The wiki page is too thin on details but it has a link that does cover some of the texture properties: http://springrts.com/wiki/Assimp

There's some info and sample in this announcement thread as well: http://springrts.com/phpbb/viewtopic.ph ... 65#p463265

There's the source code too:
https://github.com/spring/spring/blob/d ... Parser.cpp

If you have a specific question just ask here.

Since metafiles were introduced very few people have used them so we are light on testing/doco. Most of the available properties should work except for adjusting the model scale which last I checked Spring doesn't support internally.

EDIT: Looking at the current code it appears scaling support may have added recently (see the scale and scalex, scaley, scalez piece properties).