Gaps in 3D shapes using P3D, PeasyCam
              in 
             Core Library Questions 
              •  
              2 years ago    
            
 
           
             Hi...I've been working up a visualization of vectors and simple cylinders in 3-space, using P3D,
            
and am getting a few behaviors that are bugging me a bit. Specifically, creating a cylinder using
beginShape... endShape with mode QUAD_STRIP.
            
Couple of screen shots:
            
             
             
            
            
            
            
             
             
             
             
             
             
           
 
            
           and am getting a few behaviors that are bugging me a bit. Specifically, creating a cylinder using
beginShape... endShape with mode QUAD_STRIP.
Couple of screen shots:
- I use stroke and fill with exactly the same parameters, for example (127, 127, 127, 200),
 and see darker lines for the stroke than the fill.
- The black vertical line in the first image has an associated white "ghost" when the line is
 superimposed over the gray surface behind it. Is this an aliasing error of some sort?
- It's hard to see, but in the second image there are thin "white" lines that go from one vertex
 in each rectangular panel to the opposite corner. I say "white" because there's actually
 nothing rendered--you can see straight through to whatever is beyond the surface. Might this
 be an artifact of rendering a quadrilateral in 3-space instead of using two triangles? Also
 should add that if I use noStroke, there's a similar gap between each panel.
 
              
              1  
            
 
            
