XYZ File Format

To distribute our models we have selected to use a very simple format often referred to as an XYZRGB file. The files are ASCII text files with each line containing a single point consisting of the following attributes,

PositionX PositionY PositionZ

ColorR

ColorG

ColorB

[PositionX], [PositionY] and [PositionZ] are all described as floating point numbers, while the colors [ColorR], [ColorG] and [ColorB] are unsigned bytes described as values from 0-255.