Results 1 to 2 of 2

Thread: sphere generate with out glu how

  1. #1
    Member Contributor
    Join Date
    Apr 2005
    Posts
    85

    sphere generate with out glu how

    how can i make a sphere with out using any of those toolkits ??? i found a tutorial but it was for directx i dont understand directx

  2. #2
    Senior Member Regular Contributor
    Join Date
    Sep 2002
    Location
    Dresden, Sachsen, Germany
    Posts
    203

    Re: sphere generate with out glu how

    ... but you could take out the math and draw the sphere with opengl.

    Assume the sphere center at cx, cy, cz and a radius r.

    a valid sphere point p(x, y, z) satisfies the condition

    r = x + y + z

    use this to draw a sphere.

Similar Threads

  1. how i can to generate a sphere map by shaders
    By dios-del-juego in forum OpenGL: General
    Replies: 0
    Last Post: 01-04-2011, 11:03 AM
  2. I cant generate what i want or i just cant see it
    By Fergor in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-19-2008, 09:40 AM
  3. Render a trimmed sphere ? (a quarter of sphere)
    By HaVyThoai in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-07-2007, 12:05 PM
  4. Replies: 4
    Last Post: 07-09-2003, 02:22 AM
  5. Sphere-sphere collision detection
    By Billy Lee in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-08-2003, 11:03 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