This is a subtask of RT-30187. In scope of this subtask, implement support for near/far clipping planes to the picking mechanism. This issue depends on specifying the planes, camera position and fixing rendering, this subtask is meant to do as much as possible before they are resolved. To follow current state of rendering, do the following: * fully implement clipping for perspective camera with fixed eye position * for default perspective camera, clip 0.0 to infinity * for parallel camera, clip negative infinity to positive infinity This way the clipping will be in place, aligned with rendering, and it should be easy to correct the clipping values when the other issues are resolved.
|