Jump to content
  • Advertisement


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


Please help (Morphing)

This topic is 6596 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

Help, I''m getting desperate.... I''m trying to develop a morphing program in OpenGL, I''ve already done one that simply interpolates available points to do simple transformations, this is where I come to a crashing halt... I''m trying to develop an algorithm (Kent, Parent and Carlson) whereby the two objects topologies are mapped onto the surface of a unit sphere... However I have no idea what a unit sphere is or how to implement it...? Ben... ps I''ve already tried on NeHe''s Opengl forum but I did not get any replies....

Share this post

Link to post
Share on other sites
A unit sphere is a sphere with radius 1.
The equation x^2 + y^2 + z^2 = 1 describes a unit sphere with its center in the origin.

If you want a u/v - parameterized description:

x = cos(u)*cos(v)
y = sin(u)*cos(v)
z = sin(v)

u is in [0,2*PI)
and v is in [-PI,PI]


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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!