anoved / gpxtruder

Make 3D-printable elevation models of GPX tracks.
http://gpxtruder.xyz/
MIT License
71 stars 23 forks source link

Orthographic preview display mode #10

Closed anoved closed 10 years ago

anoved commented 10 years ago

ac49ac9a576befad12c17c8241fa4d98ba369506

Front/back/left/right/top view buttons now switch display to orthographic mode. Default view button and mouse drag restore perspective mode.

Scroll to zoom does not behave as expected in orthographic mode (appears to affect clipping plane).

Transition between orthographic/perspective should attempt to maintain similar apparent zoom.

anoved commented 10 years ago

5c745f1 fixes ortho extent to work with different bed/canvas proportions

anoved commented 10 years ago

eba892f now uses viewpointZ instead of bed size to calculate ortho extent scale. Bed no longer snaps to fill canvas in ortho mode but ortho view zoom works and corresponds well with perspective zoom.

anoved commented 10 years ago

Switch back to perspective should occur on rotation but not panning.

anoved commented 10 years ago

e796977 mouse move restores perspective only if not panning

anoved commented 10 years ago

Zooming in too close clips model display - more pronounced with taller models. Limit minimum viewpointZ to model height in orthographic [top] view?