[Papervision3D] Problem with the new camera
Kevin Aebig
kevin at keslabs.com
Fri Sep 5 08:03:29 PDT 2008
camera = new Camera3D();
camera.zoom = cameraZoom;
camera.focus = cameraFocus;
camera.target = null;
?
Kevin
-----Original Message-----
From: papervision3d-bounces at osflash.org
[mailto:papervision3d-bounces at osflash.org] On Behalf Of md.stage
Sent: Friday, September 05, 2008 7:41 AM
To: papervision3D at osflash.org
Subject: [Papervision3D] Problem with the new camera
Hi,
My software works with an old version of PV3D (rev 623), and doesn't with
the last one (the 2.0).
I have seen that the problem comes from the camera, it changes from :
public function Camera3D( target:DisplayObject3D=null, zoom:Number=11,
focus:Number=100, initObject:Object=null )
to
public function Camera3D(fov:Number=60, near:Number=10, far:Number=5000,
useCulling:Boolean=false, useProjection:Boolean=false)
So now, my call "camera = new Camera3D(null, cameraZoom, cameraFocus);"
doesn't work anymore.
Does anyone have an idea about how to make my camera works ? I have try, but
the change seems to have been really huge.
Thanks !
--
View this message in context:
http://www.nabble.com/Problem-with-the-new-camera-tp19327722p19327722.html
Sent from the Papervision3D mailing list archive at Nabble.com.
_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
More information about the Papervision3D
mailing list