Results 1 to 5 of 5

Thread: Circles & connecting them!

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2003

    Circles & connecting them!

    Warm greetings to everyone,

    I am writing a program which extracts information from a database.

    I would love to have this info be displayed with OpenGL. To start I will probably use Python because its the only thing I know

    I could just start coding, but asking first might help me get some 'shortcuts' from long time users. Or perhaps someone will hint its just not possible

    I want OpenGL to:

    - Draw a circle with text in it
    - Draw circles around a centre circle
    - Connect the circles with lines

    To start with, this would kick serious ass!

    Would it be possible, with OpenGL, too:

    - zoom in & out (without loosing quality of text!)
    - write text around the edges of the circle
    - 'fly' over the screen

    Ok any and all help, tips, hints, pointers are more then welcome!

    Warm regards,

  2. #2
    Senior Member Regular Contributor
    Join Date
    Dec 2002

    Re: Circles & connecting them!


    Of course you can do all this things in OpenGL. OGL is a great graphics API. I am just not sure if it's good approach to learn OpenGL only for doing some database visualization. Sure - using it can give you really cool results but there are easier ways of doing this kind of graphics than learning OpenGL. If you want to learn how to use OGL - that's great. I just wanted to say that you can save a lot of time if you choose some easier way.

    [This message has been edited by Orzech (edited 09-03-2003).]

  3. #3
    Senior Member Regular Contributor
    Join Date
    Mar 2003
    Chicago, IL US

    Re: Circles & connecting them!

    If you do decide to use OpenGL for the purpose mention, the following site may also be helpful to brainstorm off of since there are some similarities to what you are interested in doing (flying, etc.):

    Hope this is useful.

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Feb 2002
    Bonn, Germany

    Re: Circles & connecting them!

    You need a flexible font renderer for the stuff you've mentioned. Note that OpenGL is a fairly low level (yet flexible) rasterization library, so it doesn't directly support font rendering at all. There are multiple ways to accomplish it, the most popular picks being textured quads and pixel rectangles (bitmaps).

    Whipping up a good font renderer is not an easy task for a "first OpenGL project".
    Try getting familiar with single texturing and alpha blending first, before you try to do this. It'll save you a lot of frustration.

    OTOH, the circles and lines should be fun

  5. #5
    Junior Member Newbie
    Join Date
    Sep 2003

    Re: Circles & connecting them!

    Ok thanks for your kind replies! I will try and make this happen


Similar Threads

  1. Drawing Arcs Connecting Two Points on a Sphere
    By Gonff in forum OpenGL: General
    Replies: 1
    Last Post: 08-20-2006, 05:03 AM
  2. Connecting rotations
    By fortikur in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-12-2005, 10:15 AM
  3. Connecting to A game
    By MudPuppy in forum OpenGL: User Software
    Replies: 0
    Last Post: 11-28-2003, 07:52 PM
  4. Problems Connecting to servers in OpenGl.
    By in forum OpenGL: User Software
    Replies: 0
    Last Post: 06-08-2003, 09:44 AM
  5. Connecting graphics w/ coding
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-25-2002, 09:14 PM

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