Is the 3-D camera "upside down"?
              in 
             Programming Questions 
              •  
              1 year ago    
            
 
           
             This would seem like a really weird question, but I made a camera with the following objects parameters:
            
            
             
            
             
            
            
 
            
           - void setup() {
- size(640, 360, P3D);
- fill(0);
- }
- void draw() {
- background(0);
- camera(0.0, 400.0, 0.0, // eyeX, eyeY, eyeZ
- 0.0, 0.0, 0.0, // centerX, centerY, centerZ
- 0.0, 0.0, 1.0); // upX, upY, upZ
- stroke(255,0,0);
- line(-100, 0, 0, 200, 0, 0);
- stroke(0,0,255);
- line(0, -100, 0, 0, 200, 0);
- stroke(0,255,0);
- line(0, 0, -100, 0, 0, 200);
- }
             Thanks
            
 
            
              
              1  
            
 
            
 
 
           
 
            