Spikey Sphere

Started by
1 comment, last by Funkymunky 22 years, 3 months ago
Hi, I''m trying to tesselate a sphere and I''m having a weird problem. My method is to take a unit polyhedron, usually octahedron or icosahedron. Then, I divide each triangle into 4 more triangles, from the midpoints of each side. I subtract the origin of the sphere from these points to make them vectors pointing from the center of the sphere, then I normalize these vectors. (1/magnitude) Finally I scale the vectors by the defined radius. The problem is, I get these spikes at the points where the original unit polyhedron had converging planes. It''s weird, and I can''t think of why it''s doing it. Any and all help is much appreciated.
Advertisement
I had this same problem when I made my sphere. Unfortunately, I can''t remember the exact cause of the problem. I think it is because you aren''t scaling all the points by your radius equally. Are you normalizing your vertices of the original octahedron? Check that.
Ah yeah that did it, thanks

This topic is closed to new replies.

Advertisement