title: Understanding the .binvox file format
body: <p>I have a file with a list of (x,y,z) coordinates of points which I am attempting to convert into a voxel file format readable by <a href="http://www.cs.princeton.edu/~min/viewvox/" rel="nofollow">viewvox</a>. I have come across the <a href="http://www.cs.princeton.edu/~min/binvox/binvox.html" rel="nofollow">binvox</a> file format which seems like it should be relatively simple but I just can't get my head around it. In particular when it mentions the use of a value byte and a count byte I must have misunderstood because it is unclear to me why the range for count must be 1&lt;=count&lt;=255.</p>
  
  <p>Hopefully somebody can do one or more of the following: explain the format to me like I am five years old, provide a working example of a binvox file for a small model or suggest a better way of converting my coordinate data to a voxelised format.</p>
  
  <p>Thanks in advance for any advice.</p>
  
  <p>EDIT: After thinking some more I've understood the range of the count byte - 1 is the minimum because a count of 0 would be uninformative and the maximum is 255 because that is the maximum value of a byte.</p>