Panda3D
Public Member Functions | Static Public Member Functions

CylindricalLens Class Reference

A cylindrical lens. More...

List of all members.

Public Member Functions

 CylindricalLens ()

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

A cylindrical lens.

This is the kind of lens generally used for extremely wide panoramic shots. It behaves like a normal perspective lens in the vertical direction, but it is non-linear in the horizontal dimension: a point on the film corresponds to a point in space in linear proportion to its angle to the camera, not to its straight-line distance from the center.

This allows up to 360 degree lenses in the horizontal dimension, with relatively little distortion. The distortion is not very apparent between two relatively nearby points on the film, but it becomes increasingly evident as you compare points widely spaced on the film.


Constructor & Destructor Documentation


Member Function Documentation

static TypeHandle getClassType ( ) [static]
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties