Standard way of rendering sphere is by divinding into triangles at regular angles - which gives very different sizes of triangles near the poles and ‘equator’. Probably a lot better way would be to start from icosahedron (which is very sphere-like given it is composed from 20 triangles only) and then subdivide the triangles for better level of detail. Does anybody know about ready to use algorithm for it ? It doesn’t have to be java3d specific, just something outputting the triangle coordinates. Even coordinates for basic icosahedron would be nice
If not, I’m considering writing one. One question which comes to my head - if I would like to approximate the sphere of radius 1, should the vertices of icosahedron be at distance one from center (and stay there when more and more vertices are added with better level of detail) or should they be moved a bit further for basic LOD and get closer and closer to sphere radius with each detail step (which would mean that volume of the solid would be always the same) ?