[Fault] exception, information=RangeError: Error #3669: Bad input size.

Software: Away3D 4.x

cosophy, Newbie
Posted: 26 July 2011 05:17 AM   Total Posts: 5

Hi,

I am trying to load a 3DS by Loader3D.
I am running a demo Loader3DSTest.as
I got this bug when call
view.render();

the stack is crashed at:
flash.display3D::VertexBuffer3D/uploadFromVector

 

   

Richard Olsson, Administrator
Posted: 26 July 2011 08:08 AM   Total Posts: 1192   [ # 1 ]

Is this the latest version from GitHub? Is the model using a bitmap material or are you perhaps applying one after the load finishes and if so, does the model have UV coordinates?

   

cosophy, Newbie
Posted: 26 July 2011 12:08 PM   Total Posts: 5   [ # 2 ]

I am not sure about the version of GitHud, but you just remind me checking the material.
Yes, they were not applied to the model, the model I read from 3DS file doesn’t contain the texture information.

After assign the bitmap texture in 3D MAX, the error message has gone!
Thanks a lot.

And I am wondering, If I use the Loader3D to load the mesh, How could I apply the bitmap texture to it?

   

Richard Olsson, Administrator
Posted: 26 July 2011 12:14 PM   Total Posts: 1192   [ # 3 ]

Listen for MESH_COMPLETE, and when you get that event, cast the event.asset property to a mesh and set the material to that.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X