title: How could I draw an Outlined Mesh like this?
body: <p>So I saw a blog about parsing OBJ files, but what really caught my eye was the object they were parsing (this question isn't about parsing OBJ files).</p>
  
  <p><img src="https://i.stack.imgur.com/yDOkV.jpg" alt="enter image description here"></p>
  
  <p>I know the mesh was created using a 3D noise algorithm, probably simplex noise, but what I want to know is how I could make a similar line effect to that in LWJGL.</p>
  
  <p>I already have a 3D simplex noise algorithm, and some code that I thought would work but really doesn't do quite the same thing.</p>
  
  <p>The pattern I notice about the mesh is there are rows of lines that start on the outside where the noise density is highest. Those lines then evolve based on the noise density in specific spots, so what I tried to do was make an algorithm to produce those lines and evolve them as well, but that didn't quite so work.</p>
  
  <pre><code>SimplexNoise noise = new SimplexNoise(23453) //Variable is the seed
  worldList = glGenLists(1);
  glNewList(worldList, GL_COMPILE); //Inefficient but gets the job done
      float prevx = 0.0f;
      float prevy = 0.0f;
      float prevz = 0.0f;
      for(int x=0;x&lt;256;x++){
          for(int y=0;y&lt;256;y++){
              for(int z=0;z&lt;256;z++){
                  float xf = x/100;
                  float yf = y/100;
                  float zf = z/100;
                  density = noise.simplex(3,xf,yf,zf); //octaves,x,y,z
                  if(density&gt;3){ //filter out some results
                      drawLine(prevx,prevy,prevz,x+1,y*density,z*density);
                      drawLine(prevx,prevy,prevz,x*density,y+1,z*density);
                      drawLine(prevx,prevy,prevz,x*density,y*density,z+1);
                  }
              }
          }
      }
  glEndList();
  </code></pre>
  
  <p>It shouldn't be hard to realize that this doesn't produce anything near the same results. I do not know how to approach or exactly produce the same mesh shape or something similar, so can anyone help me?</p>