Results 1 to 3 of 3

Thread: Circle in 3D space

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2005
    Location
    India
    Posts
    11

    Circle in 3D space

    hi all,

    Can any one help me to draw a circle in 3D space.

    thanks,
    anish

  2. #2
    Guest

    Re: Circle in 3D space

    fast idea, draw a lot of points or small lines.

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jul 2001
    Location
    France
    Posts
    1,662

    Re: Circle in 3D space

    Draw your circle on one of the planes ((x,y) or (x,z) or (y,z)). Then you'll be able to use glTranslate and glRotate to move it.
    For doing a circle, just approximate its vertices with a polygon (ex: dodecahedron with 12 edges). Needless to say, more you'll have edges and more it will look like a real circle.

Similar Threads

  1. Replies: 4
    Last Post: 05-31-2016, 05:21 PM
  2. Computing radiance in world space, object space or view space?
    By shapeare in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-25-2013, 06:22 PM
  3. Connect midpoint circle dots for circle outline
    By TalysShade in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 10-05-2012, 03:42 PM
  4. Draw Circle, MidPoint Circle Algorithm
    By Trivialnight in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-25-2004, 03:14 PM
  5. Please advice - how to draw a circle in 3D space
    By anuchka in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 07-07-2004, 04:04 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