Problem with AssetLibrary

Software: Away3D 4.x

louis87, Jr. Member
Posted: 28 November 2011 11:37 AM   Total Posts: 46

Hi everybody,

I observed an error when I load with AssetLibrary many times. The error makes to increment the time of loading every time.

There is the code I’m using to test the error (is based on the example “Basic_LoadOBJ.as”):

http://dl.dropbox.com/u/28132609/Main.as

And assets:

http://dl.dropbox.com/u/28132609/sphere.obj
http://dl.dropbox.com/u/28132609/sphere_d.jpg

In the example, I load 40 spheres (format .obj), and it takes 2-3 sec. And I added the key “R” to reset the example and reload it. When it’s reloaded around 20 times, the time of loading is multiplied by 2.

I don’t know if it is a bug, an incorrect use or I’m not disposing everything.

Any idea?

   

louis87, Jr. Member
Posted: 28 November 2011 01:45 PM   Total Posts: 46   [ # 1 ]

by the way, using ColorMaterial the errors occurs too…

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X