Importing 3dsmax scene into direct3d environment

sean.thurston
Total Points:
8,322
Status Points:
0
Brown Belt
October 1, 2008 1:07 PM PDT
Rate
 
|Best Answer
#1

Hi Pieter Ted de Vries,

The output there is becuase you didn't initialize thread memory. If you take a look at the ConsoleExampleMt, it shows how to setup the memory system. It is in the StandAloneDemos folder.

The second one there is an assert used for debugging purposes. There is a difference between asserts and crashes, just throwing that out there for everyone. What's going on with this one is that you are loading the your information from a packfile, which is fine. But, the packfiledata is then being freed when the initialize method exists. What you want to do is keep that packfiledata around until the end of the simulation. So, you might want to store it as a member variable of your simulation. You might need to call addReference() on it so that when the loader exits, it doesn't take the packfiledata with it.

There was a post about this buried in another thread: http://software.intel.com/en-us/forums/havok/topic/59587/page/2

It is like a few posts from the bottom. I'm glad this came up in its own thread though.

Let me know if that helps.

Thanks,
Sean



Intel Software Network Forums Statistics

8293 users have contributed to 31243 threads and 99119 posts to date.
In the past 24 hours, we have 12 new thread(s) 12 new posts(s), and 24 new user(s).

In the past 3 days, the most popular thread for everyone has been huge pages on linux? The most posts were made to Pipeline buffer between stages? The post with the most views is Another example attached (Tr

Please welcome our newest member bwillems