Nobody has never tried to change the subdivision of a sphere after its creation? All kind of reaction would be interesting for me. Thanks in advance.
PS: I've created the issue 97: http://code.google.com/p/away3d/issues/detail?id=97 On 21 fév, 00:44, ABA <[email protected]> wrote: > More precisely, there is an error only when the values of segmentsW > and segmentsH decrease, all is ok when the values increase > > On 21 fév, 00:28, ABA <[email protected]> wrote: > > > 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.
