Please help (Morphing)
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....
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]
GA
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]
GA
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement