Page 3 of 3

Posted: Sun Apr 12, 2009 2:39 pm
by L o
If I put a variable into the C...MeshFileLoader class, is that variable still existing after the mesh is loaded? I.e. is the whole MeshFileLoader class deleted after loading?

Posted: Sun Apr 12, 2009 5:00 pm
by L o
Would it help if I would read the verts into one seperate meshbuffer and then make meshbuffers for each texture?

Posted: Mon Apr 13, 2009 10:32 pm
by hybrid
Yes, the data still exists, you should clean everything after the load. The loader object is only destroyed at app end.
Putting each texture into a separate meshbuffer won't help with the crash, but is definitely the correct way to store meshes in Irrlicht.

Posted: Sat Apr 18, 2009 6:06 pm
by L o
Ah thank you, I had some wrong indices, now it works!