Opened 12 years ago
Closed 11 years ago
#12 closed enhancement (fixed)
Make mouse selection work with oculus rendering
Reported by: | Tom Goddard | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Retired | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | chimera |
Description
Mouse selection of objects only works correctly for mono camera mode. Would like it to work in stereo modes such as oculus rift. Currently it simply picks the wrong object.
Need to fix Camera clip_plane_points() to use a specific view number. For oculus mode would want to determine which half of window mouse is in to choose left vs right eye. Then would need to unwarp (lens correction) to get the correct line of sight through the mouse. A similar calculation would be needed to go from window pixel position to direction in dome camera mode. In sequential stereo mode can just use left eye.
Fixed. Mouse can be either in the left or right eye view and it correctly computes the objects under mouse.