How to set the camera rotation range in HOOPS Communicator?

I want to limit the rotation range of the camera.

For example, judge the rotation around the X axis or Y axis by the direction of mouse movement.

The effect is the same as in the link below. You can try to hold down the left mouse button to rotate the model in the link

The particular effect seen in the link (the camera rotating around the selection point) is available in the HOOPS Communicator Viewer by holding down the middle mouse button during rotation. You might also want to enable BIM orbit to constrain rotation. (link)

Other than that if the functionality is not available in our standard orbit operator (CameraOrbitOperator — HOOPS Communicator 2023 U1 Documentation), you will have to write your own operator to support it.

1 Like