Jump to content
  • Advertisement


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


Drawing a sphere...

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

Hi, wanted to know how to draw a sphere, not using the glut function or anything just through a for look and triangle strips... hopefully that makes sense... thanks

Share this post

Link to post
Share on other sites
In Delphi:
Hit my site at http://www.magnumstudios.com and look under tutorials.

In C:
Paul Bourke's site is found at http://www.swin.edu.au/astronomy/pbourke/opengl/ and covers this topic.

My sphere is a simple conversion of his sphere, both handle texture coords, and are demo'd using quad strips. You can change the GLBegin to use GL_TRIANGLE_STRIP, it even improves performance.


Edited by - DeschutesCore on March 18, 2001 8:30:12 PM

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!