Inconsistent Cameras
Open
@AlphaAbdo is already working on this.
Since Jun 30, 2025.
- Dominant language
- TypeScript
- Stars
- 88
- Forks
- 105
- Avg merge
- 16h 15m
- Merged PRs (30d)
- 34
Description
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
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.