Skip to content

Inconsistent Cameras #714

@AlphaAbdo

Description

@AlphaAbdo

Description:
There is a critical inconsistency in the zooming mechanism between the active Perspective Camera and the Orthographic Camera. This leads to the Orthographic mode being essentially unusable for standard tasks, such as visualizing the full detector.

🐞 Bug Behavior

When switching to the Orthographic Camera and attempting to zoom out (e.g., to frame the entire detector), the following occurs:

  • The Perspective Camera's position is updated as well, resulting in it moving too far back.
  • This causes scene elements to disappear, including critical components like tracks.
  • Because both cameras share the same position, and the Perspective camera interprets this position differently, zooming out breaks the scene rendering in both modes.

Example

Image

In the attached images, you can clearly see:

  • After zooming out in Orthographic mode, the back/mid scene layers vanishes.
  • Even before full disappearance, tracks are missing due to the extreme distance of the Perspective camera.

🔄 Expected Behavior

  • Orthographic and Perspective cameras should manage zoom/position independently, or
  • A mechanism should be added to decouple their zoom levels and field of view/focus behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions