Jump to content
  • Advertisement


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


Please help (Morphing)

This topic is 6683 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!