Most of what you need is in the demo.cpp, go there. For everything else there's google. -- artem
This openFrameworks addon (ofx) is a small adaptation of Simon Perreault's octree code