Camera diagram/projection
              in 
             Programming Questions 
              •  
              1 year ago    
            
 
           
             I am looking for an image/sketch that shows where each camera parameter is going. 
            
 
            
           
             Here is a test I am working on, still not 100% clear though.
             
             
              
             
             
              
             
              
             
             
              
             
             
 
           - void setup() {
- size(1000, 600, P3D);
- background(255);
- smooth();
- noStroke();
- }
- void draw() {
- background(255);
- lights();
- camera(mouseX, mouseY, 1000, // eyeX, eyeY, eyeZ
- 500, 300, 0, //centerX, centerY, centerZ
- 0.0, 1.0, 0); // upX, upY, upZ
- fill(225);
- rect(0,0,1000,600);
- fill(150);
- box(100);
- }
              Something like the camera analogy from the redbook, but with the eyex,eyey,centerx,centery labeled.
             
             
             
              thanks
             
             
              t
             
             
              
              1  
            
 
            
