<center><b><h2>File format</h2></b></center>
<p>
<h3>Riscan Pro ASCII</h3>
The <b>Riscan Pro ASCII</b> format is a text file exported from Riscan Pro. It must be exported with all the fields, seperated by a <b>blank</b>, and includes the header. The header must appear <b>exactly</b> as below, else the file cannot be loaded
<p>
<center>ID X[m] Y[m] Z[m] Range[m] Theta[deg] Phi[deg] R[0..1] G[0..1] B[0..1] Intensity[0..1]</center>
<p>
<h3>RAW</h3>
The <b>RAW</b> file format is a binary sequence of the following C++ struct
<pre>
struct Point
{
    float x, y, z;
    unsigned char r, g, b, ID;
};
</pre>
<br>
where <b>x,y,z</b> are the 3D co-ordinates and <b>r,g,b</b> are the colours. The <b>ID</b> field is used to distinguish which scan the points belong to. It was added because it might be useful. 
<p>
The <b>Compressed RAW</b> format is essentially the RAW format compressed using the zlib library and can be uncompressed using either gzip or Winzip.
<p>
<center><a href="index.htm">Return home</a></center>
