[Papervision3D] Error #1007: Instantiation attempted on a non-constructor.

Ross Sclafani ross.sclafani at gmail.com
Mon Jan 5 08:01:32 PST 2009


not sure how this relates to your issue, but you are creating a plane  
with a not-yet-made material.
hope it helps.
_r
On Jan 5, 2009, at 10:50 AM, Phil wrote:

>
>    var plane:Plane = new Plane(shadedMaterial);
>
>    scene.addChild(plane);
>
>    camera.z = -500;
>
>    var bm:Bitmap = new myBitmap();
>
>    var light:PointLight3D = new PointLight3D();
>
>    var bitmapMaterial:BitmapMaterial = new  
> BitmapMaterial(bm.bitmapData, true);
>    var shader:PhongShader = new PhongShader(light, 0xffffff,  
> 0x000000, 10);
>    var shadedMaterial:ShadedMaterial = new  
> ShadedMaterial(bitmapMaterial, shader);
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090105/415030ab/attachment.html>


More information about the Papervision3D mailing list