NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Projection matrix from two points



We're playing around with flythroughs in the IDV and I am trying to figure
out (I am particularly brain dead trying to think in 3D) how to
create a projection matrix from two points, (x1,y1,z1) (x2,y2,z2)
such that the camera position is at the first point and the point of view
is towards the second point.

Any ideas?

Thanks,
Jeff




  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: