Jump to content
  • Advertisement
Sign in to follow this  
Axesor

Stretching and bending Spheres and Cubes...

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

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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!