Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Funkymunky

Spikey Sphere

This topic is 5999 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!