Results 1 to 2 of 2

Thread: how to draw a slice of a sphere with opengl?

  1. #1
    Member Newbie
    Join Date
    Oct 2001
    Location
    beijing/China
    Posts
    46

    how to draw a slice of a sphere with opengl?

    there is function to draw a sphere in opengl,
    but how can i draw a surface just as 1/8 sphere?3xs a lot
    your friendly ruixp^!^

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: how to draw a slice of a sphere with opengl?

    There's no function to draw a sphere in OpenGL, but there is in GLU and GLUT.

    Never mind, add some clipping planes before drawing the sphere, and use them to cut some parts of the sphere.

Similar Threads

  1. Draw Sphere
    By noobatopengl in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 10-20-2015, 03:25 PM
  2. how to draw a sphere?
    By chen in forum OpenGL: Advanced Coding
    Replies: 15
    Last Post: 03-25-2006, 07:06 AM
  3. How can I draw a sphere cap?
    By glsqyj in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 04-26-2005, 05:08 PM
  4. How to draw a trimmed sphere in OpenGL?
    By Phan Dan in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-26-2003, 04:25 PM
  5. Draw sphere in OpenGL
    By J-Tek in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-12-2002, 08:53 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