Sign in to follow this  
Axesor

Stretching and bending Spheres and Cubes...

Recommended Posts

Have you ever thought of making a cube or sphere with auxSolidSphere(float Radius); or auxSolidCube(float Size);? Stretching it. I don't know if any of you have done this or if this might help. This took the stress off of me.
glScalef(3.5f, 3.5f, 5.2f); //Just screwing with the square
glSolidCube(3.5f);

//Or to shrink circles or bend them for an explosion?

glScalef(5.5f, 6.5f, 5.5f); //Once again, just bending it to my liking
glSolidSphere(5.0f);


Anyone thought of that? It has helped me instead og going through all those glVertex3f. Just thought it might help =) ~Axesor [Edited by - Axesor on November 25, 2005 11:03:28 PM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this