nthallen / KK-RATIGAN

Interactive Simulation for Payload Control
0 stars 0 forks source link

Visualization Enhancements #8

Closed nthallen closed 6 years ago

nthallen commented 7 years ago
nthallen commented 7 years ago

Given Zenith Angle Ze and Azimuth Angle Az, the direction vector from the focal point toward the camera is given by:

If we code this into an interaction, we could:

If this works, it means we need to allow the focal point to be somewhere other than the gondola position. We can figure out the details after running the test, but it might be possible to simply set a reasonable distance range, and update the focal point if the zoom is too close or too far.

nthallen commented 6 years ago

Clipping is still an issue. We have documented the problem and submitted an issue on the mayavi GitHub. The current workaround is to make the planetary disc really small. The disadvantage of this is that you can fall off the edge!