Rangeerror when model is rotated or outside of the view

Software: Away3D 3.x

Avatar
Bas, Newbie
Posted: 12 September 2011 10:12 AM   Total Posts: 23

Hey all,

I finally got my collada model up and running. But when i rotate the model and it gets outside the view i get a RangeError. In the console log below its 16 out of 16, but it gives other numbers every time….......

RangeErrorError #1125: The index 16 is out of range 16.
 
at away3d.core.render::BasicRenderer/render()[D:\Ticon_Workspaces\workspace 4.5 3D\away3d\src\away3d\core\render\BasicRenderer.as:98]
 at away3d
.core.session::AbstractSession/render()[D:\Ticon_Workspaces\workspace 4.5 3D\away3d\src\away3d\core\session\AbstractSession.as:440]
 at away3d
.core.session::AbstractSession/render()[D:\Ticon_Workspaces\workspace 4.5 3D\away3d\src\away3d\core\session\AbstractSession.as:435]
 at away3d
.core.session::AbstractSession/render()[D:\Ticon_Workspaces\workspace 4.5 3D\away3d\src\away3d\core\session\AbstractSession.as:435]
 at away3d
.containers::View3D/render()[D:\Ticon_Workspaces\workspace 4.5 3D\away3d\src\away3d\containers\View3D.as:867]
 at engine3D
::ViewEngine/onEnterFrame()[D:\Ticon_Workspaces\workspace 4.5 3D\away3d\src\engine3D\ViewEngine.as:374] 

When i use a HoverCamera3D the problem isn’t there.
Can someone shed some light on this?

Thanks in advance everybody

   

Laurid, Newbie
Posted: 20 September 2011 08:15 AM   Total Posts: 5   [ # 1 ]

I have the same Problem here, but I also get this error with simple Primitives and the HoverCamera?
Does somebody has asolution to this?

Btw: I’m using the latest Version of Away3D for Flash Player 10 from github.

Thanks.

   

Avatar
Alejandro Santander, Administrator
Posted: 21 September 2011 12:03 AM   Total Posts: 414   [ # 2 ]

Hi,

Could any of you provide means for us to reproduce the error, i.e. what model you are loading, what situation it happens in, what source did you use, etc.

I’d be happy to test on this and verify if its a bug, but I need more info =)

   

Avatar
Bas, Newbie
Posted: 22 September 2011 06:43 AM   Total Posts: 23   [ # 3 ]

Hello Alejandro,

I exported my project as a .fxp file so you can easily import the project into flash builder.

The problem occurs if you zoom in with the mouse wheel, you grab the model with the mouse cursor and rotate around.

since the zip file is too large to attach here, you can download it here: http://www.zshare.net/download/94535531d6c720e8/

The project itself is a work in progress wink

Thanks in advance

   

Agilis, Newbie
Posted: 30 September 2011 06:41 PM   Total Posts: 18   [ # 4 ]

Getting this error multiple times. Currently using a view that is 512 x 512 with a Cube object that is 50px and a WiredCube that is 100px. As the camera rotates around its Y-axis, the RangeError exception is thrown. I have to decrease the Cube and WiredCube sizes to make sure the WiredCube does not go outside the view.

Away3D 3.x

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X