Opened 9 years ago
Closed 9 years ago
#508 closed defect (fixed)
Stereoscopic 360 camera broken if models moved
| Reported by: | Tom Goddard | Owned by: | Tom Goddard |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Graphics | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
If any displayed models have transforms that are not the identity the stereoscopic 360 camera modes will not correctly render the left and right eye views with correct parallax.
The problem is in the opengl vertex shader where it is offsetting the eye position in model coordinates when they need to be offset in scene coordinates. This only creates a problem if a model has been moved from its initial position. Rendering is fine if only the camera is moved.
Fixing this will require providing the model and view matrices separately to the shader when in 360 stereo mode.
Fixed.