ID 85006 - CameraCreate: Zero division exception raised for "fov" and "near" parameters

Follow

Problem summary

The fov and near parameters of a CameraCreate node can be set to 0, which raises a ZeroDivisionError and stops the Viewer from updating correctly when trying to look through the camera in the Viewer.


Customer reported version

Katana 2.5v5

Customer reported platform

Windows 8

Steps to reproduce


  1. Create a CameraCreate node

  2. Expand the scene graph

  3. Look through the camera in the viewer

  4. Set the near clipping plane or the field of view parameter to 0



Workaround

Make sure the fov and near parameters are never set to a value of 0.


Reproduced by support

Katana 1.6, 2.0, 2.5v5


Expected behaviour

There should be some safeguard in place that prevents a value of 0 for these parameters, maybe an automatic substitution or a warning.

Actual behaviour

The value can be entered and raises errors.

    We're sorry to hear that

    Please tell us why