[Papervision3D] Problem with the new camera

Kevin Aebig kevin at keslabs.com
Fri Sep 5 07:52:42 PDT 2008


>From what I've had to dig up, if you're looking to have a Free Camera you
need to change the focus and target:

camera.focus = 100;
camera.target = null;

Other than that, it's basically the same the old camera. What kind of
problems are you having?

Kevin

-----Original Message-----
From: papervision3d-bounces at osflash.org
[mailto:papervision3d-bounces at osflash.org] On Behalf Of Pablo Lemos
Sent: Friday, September 05, 2008 8:26 AM
To: papervision3d at osflash.org
Subject: Re: [Papervision3D] Problem with the new camera

The new camera seems to be the most difficult thing to understand at PPV2.0 
Final.
Is there a "definitive" tutorial or good doc about it?

Pablo Cabana
(21) 9338-0388
Cabana Criação
(21) 2707-7020
www.cabanacriacao.com
Visite também o Cabanoblog:
www.cabanacriacao.com/blog


----- Original Message ----- 
From: "md.stage" <md.stage at gmail.com>
To: <papervision3D at osflash.org>
Sent: Friday, September 05, 2008 10:41 AM
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
>
> 


_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org





More information about the Papervision3D mailing list