Hey Micheal

ZoomFocusLens uses the focus property to push back the perceived position of
the camera, so if you position your camera at (0, 0, -500) looking along the
z axis, you'll get the same visual output of you placed a camera using
PerspectiveLens at (0, 0, -600). The ZoomFocusLens approach is something
that can help nearfield clipping artifacts with standard rectangle clipping,
as rendered objects sit slighly further back in the view and therefor do not
get culled quite as readily. However, it is still a lwgacy approach, left
over from Papervision days. For anything that requires accurate camera
placement in a scene, PerspectiveLens is the best to use

cheers

Rob

On Fri, Jun 4, 2010 at 3:26 PM, Michael Iv <[email protected]> wrote:

> Hi all! I can't get the visual difference using PerspectiveLens vs
> ZoomFocusLens. I know that the class difference is the perspective
> calculation as it is seen in the source code of these classes but I have
> tweaked it in different ways and it behaves just like the PerspectiveLens
>
> Sent from my iPhone
>



-- 
Rob Bateman
Flash Development & Consultancy

[email protected]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to