jdf / peasycam

Dead-simple mouse-driven camera for Processing
http://MrFeinberg.com/peasycam/
Apache License 2.0
116 stars 35 forks source link

lookThrough #2

Closed eljeffeg closed 13 years ago

eljeffeg commented 14 years ago

I could really use a "lookThrough" feature that would maintain the lookAt, but position the camera to look through a particular vector by rotating the camera (with a animation time of course). I'm using peasycam in a sketch of the Earth and I've plotted points on it for particular locations based on my data. I'm adding a menu of the particular locations, and when the user clicks on the menu item (like France), I'd like the Camera to rotate the correct location given the particular x,y,z location of France on the sphere. So the center of the Earth is my lookAt, but I need something like a lookThrough x,y,z.

Thanks Jon, this library is the best!

eljeffeg commented 13 years ago

This feature was added in my fork.