Hi,

I've a problem with a sphere defined like that :
  var mySphere:Sphere = new Sphere(new BitmapFileMaterial("assets/
texture.jpg"), 1000);
  mySphere.sortFaces = true;
  scene.addChild(mySphere);

Later, depending on the distance between the sphere and the camera I
try to change mySphere.segmentsW and mySphere.segmentsH but there is
the following error:

ArgumentError: Error #2004: L'un des paramètres n'est pas valide.
        at flash.display::Graphics/drawTriangles()
        at flash.display::Graphics/drawPathObject()
        at flash.display::Graphics/drawGraphicsData()
        at away3dlite.core.render::FastRenderer/collectFaces()[D:\workspace
\Away3DLite_trunk\src\away3dlite\core\render\FastRenderer.as:90]
        at away3dlite.core.render::FastRenderer/collectFaces()[D:\workspace
\Away3DLite_trunk\src\away3dlite\core\render\FastRenderer.as:40]
        at away3dlite.core.render::FastRenderer/render()[D:\workspace
\Away3DLite_trunk\src\away3dlite\core\render\FastRenderer.as:185]
        at away3dlite.containers::View3D/render()[D:\workspace
\Away3DLite_trunk\src\away3dlite\containers\View3D.as:537]
        at away3dlite.templates::Template/onEnterFrame()[D:\workspace
\Away3DLite_trunk\src\away3dlite\templates\Template.as:93]

I've tried tu use Away3DLite 1.0.0 and the trunk with the last version
of Away3DLite but the same error occurs.

Is there a bug or should I realize the modification of the geometry
using an other way ?

Regards.

Reply via email to