Hi Rob and team, any thoughts on this one (issue 87)? I am stuck at the moment: Away3D 3.4.0 clipping problem hides my 3D object when loaded into parent swf. Current trunk fixes that, but crashes with phong material at certain angles. Thanks! Ralph
On Jan 13, 7:06 am, Fabrice3D <[email protected]> wrote: > thx > On Jan 13, 2010, at 12:50 PM, Ralph B wrote: > > > Hi Fabrice, I couldn't find a discussion of exactly the same problem, > > so I have submitted a newissue(no.87). > > Ralph > > > On Jan 13, 3:47 am, Fabrice3D <[email protected]> wrote: > >> Its the second time, I read thisissue, > >> please fill up an entry into the bugreport list. > > >>http://code.google.com/p/away3d/issues/list > > >> Fabrice > >> On Jan 13, 2010, at 2:06 AM, Ralph B wrote: > > >>> With the latest trunk FP10 build, I get a crash when Away3D renders a > >>> scene that has many objects but only one (a Cylinder primitive) that > >>> has PhongColorMaterial applied. It happens only at certain look > >>> angles and camera distance/zoom settings (I am using HoverCam) and I > >>> am having trouble forcing the crash under repeatable conditions. It > >>> does not happen with Away3D 3.4.0. I am not using frustum clipping, > >>> and the crash happens with or without RectangleClipping. > > >>> Is it a bug, or has something changed since 3.4.0 regarding how > >>> PhongColorMaterial should be used? > > >>> Thanks! Ralph > > >>> Crash dump sample: > > >>> TypeError: Error #1009: Cannot access a property or method of a null > >>> object reference. > >>> at away3d.materials.shaders::AbstractShader/getUVData() > >>> at away3d.materials.shaders::DiffusePhongShader/renderLayer() > >>> at away3d.materials::CompositeMaterial/renderLayer() > >>> at away3d.materials::CompositeMaterial/renderTriangle() > >>> at away3d.core.draw::DrawTriangle/render() > >>> at away3d.core.draw::PrimitiveQuadrantTreeNode/render() > >>> at away3d.core.draw::PrimitiveQuadrantTreeNode/render_other() > >>> at away3d.core.draw::PrimitiveQuadrantTreeNode/render() > >>> at away3d.core.draw::PrimitiveQuadrantTreeNode/render_other() > >>> at away3d.core.draw::PrimitiveQuadrantTreeNode/render() > >>> at away3d.core.draw::PrimitiveQuadrantTreeNode/render_other() > >>> at away3d.core.draw::PrimitiveQuadrantTreeNode/render() > >>> at away3d.core.render::QuadrantRenderer/render() > >>> at away3d.core.render::AbstractRenderSession/render() > >>> at away3d.core.render::AbstractRenderSession/render() > >>> at away3d.containers::View3D/render() > >
