home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / tt / raysh402 / guide.tex / node13_mn.html < prev    next >
Text File  |  1992-02-09  |  2KB  |  53 lines

  1.  
  2. <H1><A ID="SECTION00510000000000000000">
  3. Camera Position</A>
  4. </H1>
  5.  
  6. <P>
  7. The three basic camera properties are its position, the direction
  8. in which it is pointing, and its orientation.  The keywords for
  9. specifying these values are described below.
  10. The default values
  11. are designed to provide a reasonable view of a sphere of radius 2
  12. located at origin.  If these default values are used,
  13. the origin is projected onto the center of the image plane, with
  14. the world <I>x</I> axis  running left-to-right, the <I>z</I> axis bottom-to-top,
  15. and the <I>y</I> axis going ``into'' the screen.
  16.  
  17. <P>
  18. <DL>
  19. <DT><STRONG><#4642#><#4642#></STRONG></DT>
  20. <DD><#1202#><TT>eyep</TT><#1202#> <tex2html_verbatim_mark>#math50#<tex2html_image_mark>#tex2html_wrap_inline4644#⇧ 
  21. <BR>    Place the virtual camera at the given position.
  22. </DD>
  23. </DL>The default camera position is (0, -8, 0).
  24.  
  25. <P>
  26. <DL>
  27. <DT><STRONG><#4645#><#4645#></STRONG></DT>
  28. <DD><#1206#><TT>lookp</TT><#1206#> <tex2html_verbatim_mark>#math51#<tex2html_image_mark>#tex2html_wrap_inline4647#⇧ 
  29. <BR>    Point the virtual camera toward the given position.
  30. </DD>
  31. </DL>The default look point is the origin (0, 0, 0).  The look point
  32. and camera position must not be coincident.
  33.  
  34. <P>
  35. <DL>
  36. <DT><STRONG><#4648#><#4648#></STRONG></DT>
  37. <DD><#1210#><TT>up</TT><#1210#> <tex2html_verbatim_mark>#math52#<tex2html_image_mark>#tex2html_wrap_inline4650#⇧ 
  38. <BR>    The ``up'' vector from the camera point is set to the
  39.     given direction.
  40. </DD>
  41. </DL>This up vector need not be orthogonal to
  42. the view vector, nor need it be normalized.  The default up
  43. direction is (0, 0, 1).
  44.  
  45. <P>
  46. Another popular standard viewing geometry, with the <I>x</I> axis running
  47. left-to-right,
  48. the <I>y</I> axis bottom-to-top, and the <I>z</I> axis pointing out of the screen,
  49. may be obtained by setting the up vector to (0, 1, 0) and by placing
  50. the camera on the positive <I>z</I> axis.
  51.  
  52. <P>
  53.