I just got done working out some code to generate spheres from traingles and
smooth_triangles, but when I texture the sphere with both a texture (red) and an
interior_texture (green), it appears to me that some of the surface normals are
the opposite of what they should be. I tried playing around with the order of
the vertices, but that didn't seem to accomplish much.
Switch the value of P between true and false to render either the
icosahedron-based sphere or the octahedron-based sphere.
Thanks for any helpful insights
Post a reply to this message
Attachments:
Download 'subdivided_mesh_sphere.pov.txt' (11 KB)
|