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

8474 users have contributed to 31606 threads and 100656 posts to date.
In the past 24 hours, we have 30 new thread(s) 109 new posts(s), and 163 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member Kevin Johnson