Results 1 to 3 of 3

Thread: Creating spheres?

  1. #1
    Guest

    Creating spheres?

    How do you create spheres in opengl?
    I tried making a program to generate the vertices of a sphere, but couldn't get the algorithm right, can someone help me find a way to make spheres?, thanks

  2. #2
    Guest

    Re: Creating spheres?

    Look no further...

    Try this :

    void glutSolidSphere ( GLdouble radius, GLint slices, GLint stacks );

    or

    void glutWireSphere ( GLdouble radius, GLint slices, GLint stacks );

    It's all done for you...

  3. #3
    Guest

    Re: Creating spheres?

    cool thanks

Similar Threads

  1. Spheres
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 12-09-2004, 01:43 AM
  2. Creating a ChaseCamera in OGL & Creating multiple cameras
    By Nuno Miguel Silva in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 08-03-2004, 12:45 AM
  3. Two Spheres ..
    By glcrazy in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 12-05-2003, 02:36 AM
  4. Help creating spheres with coordinates?
    By idistrust in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-11-2003, 02:02 AM
  5. Creating Spheres
    By ltrain_riders in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 11-21-2002, 06:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean