I can’t seem to find Zoom and Focus properties on the camera using away3d 4.0. Have these been moved somewhere else?
zoom and focusSoftware: Away3D 4.x |
||
|
||
|
||
theMightyAtom, Sr. Member
Posted: 01 July 2011 10:11 AM Total Posts: 669 [ # 2 ] Give us a chance! In Broomstick, assign a PerpsectiveLens to your camera and then you can adjust the Field of View. (equivalent to “zoom” in ordinary camera) _camera.lens = new PerspectiveLens(60); For focus effects, check out the post processing example, using Depth of Field (DOFtest.as). It rocks! |
||
pete shand, Newbie
Posted: 01 July 2011 10:13 AM Total Posts: 21 [ # 3 ] Perfect! |
||
Alejandro Santander, Administrator
Posted: 01 July 2011 04:59 PM Total Posts: 414 [ # 4 ] Yes, Broomstick approaches 3D graphics in a more OpenGL way than previous versions of Away3D. The projection matrix used in the pipeline implies the zoom and focus values in the field of view value. Flash’s native 3D does so as well. |
||
ixor3d, Newbie
Posted: 30 January 2012 04:13 PM Total Posts: 3 [ # 5 ] Is there a way to simulate the old zoom focus attributes? I got in Away3dLite a subtle fish eye effect that I can’t seem to get in Away3d 4. Using the perspective lens with a large Field of View doesn’t give me the same effect. |