Menu

Split loading/postprocessing.

Mark Sibly
2009-05-07
2013-06-03
  • Mark Sibly

    Mark Sibly - 2009-05-07

    Hi,

    How about making scene importing/processing a 2 step process?

    I'm thinking this because I'd like to change processing behaviour dependent on the loaded scene.

    For example: If the loaded scene has no animation, then I'd like to PreTransfromVertices - otherwise, not.

    Bye!
    Mark

     
    • Thomas Ziegenhagen

      Hm. Might be a nice idea for special case requirements. And should be easily implementable, apart from finding proper names for the new functions :-)

       
    • Alexander Gessler

      We can definitely do that. I'll put it on the TODO list, we'll report back as soon as it's on the server.

      For the moment, you might also want to consider the new aiProcess_OptimizeGraph flag. It doesn't transform all vertices into worldspace but it reduces the scene complexity and optimizes it for better rendering speed and larger meshes (with aiProcess_OptimizeMeshes) while preserving any animation-relevant data.

      Alex

       
    • Alexander Gessler

      Done! Try Importer::ApplyPostProcessing().

       
    • Mark Sibly

      Mark Sibly - 2009-05-28

      Hi,

      Thanks!

      Bye,
      Mark

       

Log in to post a comment.