Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

get world matrix of model?

Help
Anonymous
2012-01-26
2013-06-03

  • Anonymous
    2012-01-26

    I've loaded a model with assimp, no problem so far. But now i need the world matrix of my model. I just have no idea where to get that from. Can someone pleae help me out with that?

    Thanks for any help.

     
  • Kim Kulling
    Kim Kulling
    2012-01-26

    Look into the ths aiNode. This holds the transformation of the current node. The example SimpleOpenGL shows you how you have to apply these matrices for OpenGL.

    Kimmi

     
  • (aiScene::mRootNode)