This error shows up most of the time when unvalid faces are into the geometry.
or no faces found at all.
Also make sure the mesh is added to the scene3D object.

Fabrice

On Apr 21, 2009, at 3:46 AM, nathan wrote:


Hmmm, yeah I am only doing that in one spot throughout the app and
commented it out and still happening.

Bit of a bugger, I don't really know what _vertexDictionary being null
means, so bit hard to debug.  Not sure where I should head with this
one.

Basically I am guessing it means that the meshes haven't parsed
correctly, but it all seems to be compiling ok....any more ideas?

On Apr 21, 10:46 am, Peter Kapelyan <[email protected]> wrote:
If you are doing a 3d>2d position using ScreenVertex, make sure you do that right after render(), not before, or you might get some error similiar to
this (I did).

Hope it helps.

-Pete



On Mon, Apr 20, 2009 at 8:39 PM, nathan <[email protected]> wrote:

Hey all,

i have successfully upgraded (well almost) to the newest away 3d
source and getting a runtime error.

I don't get any compile errors and all in all it was a pretty smooth
transition over to the new source, but I get a major crash...

Main Thread (Suspended: TypeError: Error #1009: Cannot access a
property or method of a null object reference.)
       away3d.core.utils::DrawPrimitiveStore/createScreenVertex
       away3d.cameras.lenses::ZoomFocusLens/project
       away3d.core.project::MeshProjector/primitives
       away3d.core.traverse::PrimitiveTraverser/apply
       away3d.core.base::Object3D/traverse
       away3d.containers::ObjectContainer3D/traverse
       away3d.containers::ObjectContainer3D/traverse
       away3d.containers::View3D/render
       onEnterFrame

I think it crashes because _vertexDictionary is null....

Maybe its a bit hard for you guys to say what is causing this as you
don't know the internals of my application, but any ideas on where I
should start looking?

Thanks for your time,
Nathan

--
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to