Hey Steanson the standard lens (Zoomfocuslens) uses the old style of perspective projection, with focus and zoom properties. Perspectivelens however, uses a projection that is more commonly seen in other 3d applications and games, where there is no focus property. if you are exporting from max or maya, and want to get exactly the same camera look as in the modeler, you should use perspectivelens!
hth Rob On Wed, Aug 19, 2009 at 2:13 PM, steanson <[email protected]>wrote: > > Hey thanks absolutely perfect! works a treat > > What is the diff between the perspective lens and the standard lens? > > thanks once again > Steve > > On Aug 19, 10:37 am, elguapoloco > <[email protected]> wrote: > > Hello, > > > > This example should help: > http://www.infiniteturtles.co.uk/projects/away3d/demos/FrustumHotelRo... > > > > Basically you can use Frustum Clipping to avoid whole objects being > > removed when only parts of them are visible. Right click and View > > Source for the code: > > > > scene = new Scene3D(); > > clipping = new FrustumClipping({minZ:10}); > > camera = new Camera3D({zoom:6, focus:100, x:176, z:54}); > > camera.lens = new PerspectiveLens(); > > view = new View3D({scene:scene, camera:camera, clipping:clipping}); > > > > Cheers, > > > > JJ. > -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
