I know this is a little vague, but hopefully it can be of some help to
someone. I had loaded a DAE file and displayed it in a View3D with
default parameters, and everything seemed fine until the model moved
far enough offscreen that parts of it would be clipped by the view
frustum; at that moment, all the polygons in the character's body
began flickering randomly (between visible and invisible), and I would
occasionally receive errors like this:

RangeError: Error #1125: The index 151 is out of range 145.
        at away3d.core.render::BasicRenderer/render()
        at away3d.core.session::AbstractSession/render()
        at away3d.core.session::AbstractSession/render()
        at away3d.containers::View3D/render()
        at loadExternalBones/frameFunc()

which seemed to come from the line where the renderer draws the
polygons in the order determined by the filters.

Long story short, after struggling with it for a long time, I found a
post on this board indicating that ZoomFocusLens should be avoided...
and go figure, Camera3D defaults to using a ZoomFocusLens, for some
reason... as soon as I gave the camera a PerspectiveLens instead, the
problem disappeared instantly. Hopefully this can be of use to someone
else having the same problem I had.

Reply via email to