Camera error "Requested camera position and target are on top of each other"

When changing camera in HOOPS, please make sure that every incremental change to your camera is a valid camera setting.

HOOPS will generate a error if you try and set a new camera’s position but this position is the same as the current camera’s target.

WORKAROUND:

  1. Set the entire camera using HC_Set_Camera(*)

  2. Set the camera’s target first before setting camera’s position