Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: gluSphere() question

  1. #1
    Junior Member Regular Contributor
    Join Date
    Mar 2003
    Location
    Chicago, IL US
    Posts
    100

    gluSphere() question

    Hi,

    Could anyone give an example or explain why you would want to create two spheres in the same app with diff numbers of slices/stacks for each case?

    Thanks very much.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Mar 2003
    Location
    Chicago, IL US
    Posts
    100

    Re: gluSphere() question

    Found out it is because one sphere may be larger than another.

  3. #3
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: gluSphere() question

    Hi !

    That's one reason, another is that a sphere might be far away from the viewer all the time, then it might be worthless to have lots of triangles in the sphere.

    Mikael

  4. #4
    Junior Member Regular Contributor
    Join Date
    Mar 2003
    Location
    Chicago, IL US
    Posts
    100

    Re: gluSphere() question

    Thanks for the info.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •