transformation of a cube superquadric

I wish I had an idea how I manage to turn a cube
superquadric in (a cube whose faces are in the form of cones of different sizes) in c + + / OpenGL. My cube is built from an array of vertex that binds GL_POLYGON mode.
thank you
Last edited on
I happen to do so.
I create an array of vertices, which enables me to my cube and novel designed to have the same time
the coordinates of each vertex that is the object end.
I calculate the normal of each surface of my cube and then disturbs through a coefficient lambda.
I can get a different profile to time I change the value of lambda.
thank you
Topic archived. No new replies allowed.