Hello Away3d members,

I loaded an obj file and I displayed it succefully in my scene.
The problem is, when I add any type of light in my material.lights
array, flashdevelop return me this :

TypeError: Error #2007: Le paramètre data ne doit pas être nul.
        at flash.display3D::VertexBuffer3D/uploadFromVector()
        at away3d.core.base::SubGeometry/getVertexNormalBuffer()[D:\2smacks
\away3D2\src\away3d\core\base\SubGeometry.as:274]
        at away3d.core.base::SubMesh/getVertexNormalBuffer()[D:\2smacks
\away3D2\src\away3d\core\base\SubMesh.as:199]

Lights works fine with primitives likes Cube, Plane, etc...

My light & my mesh are both child of my scene3D.

Can you help me, please ?

Reply via email to