Camera Lookat vector not transformed?

  • apartridge

    apartridge - 2013-05-02

    Im using the following flags for my renderer:

    nw->m_scene = nw->m_importer->ReadFile( filename,
            aiProcess_Triangulate            |
            aiProcess_FindInstances          |
            aiProcess_JoinIdenticalVertices  |
            aiProcess_OptimizeGraph          |
            aiProcess_OptimizeMeshes         |
            aiProcess_PreTransformVertices    );

    However, it seems that the camera is not correctly transformed into a global space. The lookat vector remains 0 0 -1, but the eye-vector is correct. I would like to keep this flat node graph to increase the speed of my renderer.

  • apartridge

    apartridge - 2013-05-07

    Just wanted to let you know that the error is that lookAt is in fact lookDir in Assimb. So there is some inconsistent naming there, but i figured my bug and fixed it.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks