Seb Lee-Delisle


Where did my camera go?

Some of you may have noticed that the FreeCamera3D and FrustumCamera3D classes have mysteriously disappeared from the latest version of the GreatWhite alpha test Papervision trunk.

But don’t panic! There’s a perfectly logical explanation for it!

Tim Knip has been working tirelessly to simplify and refactor the Papervision3D cameras. And what an improvement!

There is now only one camera.

By default it’s the same as the old FreeCamera3D.

If you want it to always point at an object (like the old Camera3D), just set it’s target property with a DisplayObject3D.

If you want it to be like the old FrustumCamera3D set its frustumCulling property to true. (Always recommended, in fact we may make this true by default).

Now you can adjust the field of view using the old zoom / focus values, or if you prefer something more intuitive you can use the fov property, which is the vertical field of view (I think this is in degrees).

Nice work Tim!

This entry was posted in Flash, Obsolete, Papervision3D. Bookmark the permalink.

8 Responses to Where did my camera go?