High-speed image generation of complex solid objects using octree encoding