Having problem loading large data

Software: Away3D 4.x

kerike, Newbie
Posted: 27 July 2011 02:06 PM   Total Posts: 7

Hi,

I’m doing a bsp file loader and I have some questions for you. I can parse the data, I can show the vertices and materials, but only for small files (1M or less).

Seeing that I can’t load all the file in a single mesh, I tried to optimise the loading process, to show only the visible data (the visible triangles and materials). Here is my problem. I don’t know how to do this in a correct way.

If I create a new mesh every time my memory is growing.
I tried to dispose the old mesh, but I get a null exception when I try to destroy the old Geometry.

Is there a way of doing this properly?

Thank you very much.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X