[Papervision3D] I got blackout
katopz
katopz at sleepydesign.com
Thu Sep 13 00:18:43 PDT 2007
i got this problem when try to do this http://sleepydesign.com/labs/as3/PaperVision3D/MayaCameraControl/
and try press green cone for trouble
u can try this problem in http://papervision3d.googlecode.com/svn/trunk/as3/trunk/examples/Cube/main.as
then replace line#133 with
private function update3D():void
{
//cube.rotationY = container.mouseX / 2;
//cube.rotationX = container.mouseY / 2;
camera.x=0
camera.y=1000
camera.z=0
camera.lookAt(cube)
// Render
scene.renderCamera( this.camera );
}
and all thing blackout don't know why, maybe something wrong in lookAt method
anyway you can try replace camera.x=0 with camera.x=container.mouseX/2;
and try to move mouse to center (x=0), it's gone black at that point too
quick test here : http://sleepydesign.com/labs/as3/PaperVision3D/MayaCameraControl/Cube.swf
thx!
katopz
http://www.sleepydesign.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070913/545a46f7/attachment.html
More information about the Papervision3D
mailing list