Hi,
I am encountering a problem with the PhongBitmapMaterialCache,
although it may be that I just don't understand what it is supposed to
do. I am trying to apply it to a sphere primitive. I am using a
HoverCamera3D, and as soon as I move it, or if I set the
targetpanangle or targettiltangle to a value other than zero, I get
the errors listed below.
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at flash.geom::Matrix/concat()
at away3d.materials.shaders::SpecularPhongShader/renderShader()[C:
\Inetpub\wwwroot\test\src\away3d\materials\shaders
\SpecularPhongShader.as:149]
at away3d.materials.shaders::AbstractShader/renderBitmapLayer()[C:
\Inetpub\wwwroot\test\src\away3d\materials\shaders\AbstractShader.as:
247]
at away3d.materials::BitmapMaterialContainer/getMapping()[C:\Inetpub
\wwwroot\test\src\away3d\materials\BitmapMaterialContainer.as:91]
at away3d.materials::BitmapMaterial/renderTriangle()[C:\Inetpub
\wwwroot\test\src\away3d\materials\BitmapMaterial.as:872]
at away3d.core.draw::DrawTriangle/render()[C:\Inetpub\wwwroot\test\src
\away3d\core\draw\DrawTriangle.as:254]
at away3d.core.render::BasicRenderer/render()[C:\Inetpub\wwwroot\test
\src\away3d\core\render\BasicRenderer.as:100]
at away3d.core.render::AbstractRenderSession/render()[C:\Inetpub
\wwwroot\test\src\away3d\core\render\AbstractRenderSession.as:418]
at away3d.core.render::AbstractRenderSession/render()[C:\Inetpub
\wwwroot\test\src\away3d\core\render\AbstractRenderSession.as:415]
at away3d.containers::View3D/render()[C:\Inetpub\wwwroot\test\src
\away3d\containers\View3D.as:946]
at Main/enterFrame()[C:\Inetpub\wwwroot\test\src\Main.as:131]
I am using Away3D 2.4 and have updated to the latest svn. Is it me, or
is there a problem?
Regards,
John Wilson