jefftrull / ColladaOgreImporter

Loading Collada models into Ogre3D
MIT License
7 stars 4 forks source link

multiple transformations not supported #3

Closed jefftrull closed 7 years ago

jefftrull commented 7 years ago

@Nidhin009 commented on another issue:

I created a cube in blender. I exported it as a dae file. And imported in my application using ColladaOgre importer. It says as below

COLLADA WARNING: Scene node has 5 transformations - we only handle 0 or 1 COLLADA WARNING: Scene node has 5 transformations - we only handle 0 or 1

And nothing is visible in the scene.

According to the COLLADA spec multiple transformations should be handled by applying them in sequence, in "post order", whatever that means. It shouldn't be too hard to implement.

jefftrull commented 7 years ago

Fixed by commit 7aea14edc73943e1d4ea29dbd7a7644673fd6cda