3D nodes Tree data structure (octree)?

How would you implement an octree for scene 3D nodes ?