Rendering 3D polyhedrons and wireframe spheres