title: How does the .raw format work (3D models)
body: <p>I want to write a program that takes a 2 variable function as input an outputs a 3D model to be opend in 3d software like blender. I think .raw is the best option because it doesnt care about textures and such things. The only thing i don't understand is how the coordinates should be written in the .raw file...</p>
  
  <p>This is an example:</p>
  
  <pre><code>1 1 -1 1 -1 -1 -1 -1 -1 -1 1 -1 1 1 1 -1 1 1 -1 -1 1 1 -1 1 1 1 -1 1 1 1 1 -1 1 1 -1 -1 1 -1 -1 1 -1 1 -1 -1 1 -1 -1 -1 -1 -1 -1 -1 -1 1 -1 1 1 -1 1 -1 1 1 1 1 1 -1 -1 1 -1 -1 1 1 
  </code></pre>
  
  <p>It is a simple cube exported to raw, ofcourse this is a cube centered at 0,0,0 with sides of 2, but I just don't get the order of the coordinates and the logic of this format.</p>
  
  <p>Anyone who knows anything about this? </p>
  
  <p>Thank you!</p>