dwww Home | Show directory contents | Find package

#!F-adobe-helvetica-medium-r-normal--18*
#!N 
#!CDarkGreen #!N  #!Rall541 
Example #!N #!EC #!N #!N The module Camera takes the following 
arguments: #!N #!I0 #!N #!N #!I0 #!N  #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-i-normal--18*   to #!EF 
#!EF #!I50 #!N The position in space to which the camera 
is pointed. The default is [0, 0, 0]. #!N #!I0 #!N 
 #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-i-normal--18*   from #!EF #!EF #!I50 #!N The position in space 
where the camera is located. The default is [0, 0, 1]. 
#!N #!I0 #!N  #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-i-normal--18*   width #!EF #!EF #!I50 #!N The 
width, in user units, of the camera's view. The default is 
100. #!N #!I0 #!N  #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-i-normal--18*   resolution #!EF #!EF #!I50 #!N 
The horizontal resolution, in pixels, of the image generated by the 
camera. The default is 640. #!N #!I0 #!N  #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-i-normal--18*   aspect 
#!EF #!EF #!I50 #!N The aspect ratio of the image generated 
by the camera (i.e., its height divided by its width). The 
default is 0.75. #!N #!I0 #!N  #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-i-normal--18*   up #!EF #!EF 
#!I50 #!N The direction, in the world coordinate system, that the 
camera considers "up" The default is [0, 1, 0]. #!N #!I0 
#!N  #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-i-normal--18*   perspective #!EF #!EF #!I50 #!N The projection method. 
The default is 0, indicating orthographic projection. #!N #!I0 #!N  #!F-adobe-times-bold-r-normal--18*   
 #!F-adobe-times-bold-i-normal--18*   view angle #!EF #!EF #!I50 #!N The viewing angle. This 
applies only in perspective projection, and the default is 30. #!N 
#!I0 #!N  #!F-adobe-times-bold-r-normal--18*    #!F-adobe-times-bold-i-normal--18*   background #!EF #!EF #!I50 #!N The image 
background color. The default is "black." #!I0 #!N #!N #!N #!N 
The following function calls are all equivalent and construct the default 
Camera Object: #!N #!N #!CForestGreen #!N  #!F-adobe-courier-bold-r-normal--18*   #!N c1 = Camera 
([0, 0, 0], [0, 0, 1], 100, 640, 0.75, [0, 1, 
0], 0, "black"); #!N c2 = Camera (NULL, NULL, NULL, NULL, 
NULL, NULL, NULL, NULL, NULL); #!N c3 = Camera (); #!N 
c4 = Camera (NULL, NULL, NULL, NULL, NULL, [0, 1, 0], 
NULL, NULL); #!N c5 = Camera (up = [0, 1, 0]); 
#!N c6 = Camera ([5, 5, 5], [0, 0, 1], NULL, 
to = [0, 0, 0]); #!N c7 = Camera (width = 
512, width = 640); #!EF #!N #!N #!EC #!N #!N #!N 
 #!F-adobe-times-medium-i-normal--18*   Next Topic #!EF #!N #!N  #!Lfca,dxall543 h Function Call Attributes  #!EL  #!N  #!F-adobe-times-medium-i-normal--18*   #!N 

Generated by dwww version 1.15 on Sat Jun 22 12:57:47 CEST 2024.