Exporting Usable Mesh Files

I spent a lot of time trying to figure out why I couldn’t export mesh files with the new 64-bit UNICODE version of the 3ds Max Orion Engine exporter.  All of the vertices were coming out all zeros!  I thought for sure it was a problem with the recent 64-bit conversion. So, I’ve been chasing around pointers and checking data type sizes, etc.

Well, I finally stepped through the HUGE exporter routine and discovered that the problem was with an attribute sort optimization.  In fact the debugger stepped me right up to the very line of code I was working on when I had to stop working on the engine!  I remember that small detail now, LOL.  That’s why the exporter wasn’t working!  It was just hitting some unfinished code is all.  By disabling that particular optimization for now, everything seems to be working great again!

About Eric DeBrosse

Lead developer of the Orion Engine.
This entry was posted in Engine Development. Bookmark the permalink.