title: Render distance in Processing P3D (Vertexes disappear)
body: <p>I have a 3D world with x,y,z coordinates where I can move around. However, when I move away from vertices (translate) they disappear. How can I change this? </p>
  
  <p>I am using TRIANGLE_STRIP.</p>
  
  <p>I am including below what I use to draw the vertices and connect them.</p>
  
  <pre><code>for (int y = 0; y &lt; rows-1; y++) {
      beginShape(TRIANGLE_STRIP);
      fill(100, 40, 40);
      for (int x = 0; x &lt; cols; x++) {
          vertex(x*scl, y*scl, map[x][y]);
          vertex(x*scl, (y+1)*scl, map[x][y+1]);
      }
      endShape(CLOSE);
  }
  </code></pre>
  
  <p>Here is an animation to better explain:</p>
  
  <p><a href="https://imgur.com/a/kbrGS5o" rel="nofollow noreferrer">https://imgur.com/a/kbrGS5o</a></p>