[Plib-devel] various updates to PLIB CVS
Brought to you by:
sjbaker
From: Dave M. <Dav...@dy...> - 2000-07-12 21:05:02
|
I made some updates to PLIB CVS - BMP images are upside down. i noticed the problem when i started using PNG files. I fixed ssgImageLoader to vertically *flip* the BMP images and modified the ssgLoadASE to set the V texture coordinate properly. - I updated the ASE loader to create a parent heirarchy. ASE has a *NODE_PARENT tag which lets you do this. the parent heirarchy should allow more sophisticated control of the model transforms. you'll have to do skeletal animation manually. i've given up on transform animation with ASE because of incomplete info in the file format. - I added MESH_ANIMATION support to the ASE loader. If it sees *MESH_ANIMATION then it builds a ssgTimedSelector entity to the scene graph. I tested this with a shark model I have that bends back and forth. It works great. Of course, you can do this with multiple models yourself but the ASE format has mesh animation built into it. If I can find some models that I can opensource, I will. - I added the ssgIndexArray to the ssgCreateData structure. This is the first step toward allowing the loaders to use Mark's vertex array class. still working on the Blender VRML loader. It's going well. Just taking a little longer than I hoped. :) -- Dave McClurg mailto:dav...@dy... http://www.dynamix.com mailto:da...@po... (home) http://www.pond.net/~davem |