Results 1 to 5 of 5

Thread: real newbie question ogl 3d & 2d

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    dfjklas, ny, usa
    Posts
    18

    real newbie question ogl 3d & 2d

    I'm very new to graphics programming. Thank you in advance to anyone who replies.

    I understand the benefits of OpenGL to be cross platform libraries that are supported by hardware graphics accelerators.

    1. Is OpenGL only for 3d rendering and not 2d graphics?

    2. What would be the 2d equivalent to OpenGL? Are there open source, cross-platofrm, hardware supported libraries for 2d graphics?

    3. If this 2d-equivalent doesn't exist, why not?

  2. #2
    Junior Member Newbie
    Join Date
    Mar 2002
    Posts
    22

    Re: real newbie question ogl 3d & 2d

    Welcome to our discussion boards, good luck to you and your OGL pursuits ...

    1. OGL is for both 2d and 3d (for example, textures are 2d)
    It all depends on implementation

    Hope this helps!

    TEFLON DRAGON
    - = TEFLON DRAGON = -

  3. #3
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Nov 2010
    Posts
    2,466

    Re: real newbie question ogl 3d & 2d

    from the about opengl page
    'OpenGL is the premier environment for developing portable, interactive 2D and 3D graphics applications. Since its introduction in 1992, OpenGL has become the industry's most widely used and supported 2D and 3D graphics application programming interface (API)'

  4. #4
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    dfjklas, ny, usa
    Posts
    18

    Re: real newbie question ogl 3d & 2d

    If OpenGL can be used for 2d graphics, has anyone tried using it for the foundation of a windowing system?

    For instance, why or why not would it make sense to implement XWindows using OpenGL as the foundation?

  5. #5
    Senior Member Regular Contributor
    Join Date
    May 2000
    Location
    Oxford, England
    Posts
    472

    Re: real newbie question ogl 3d & 2d

    Originally posted by ogl_is_great:

    If OpenGL can be used for 2d graphics, has anyone tried using it for the foundation of a windowing system?

    For instance, why or why not would it make sense to implement XWindows using OpenGL as the foundation?

    Firtsly, Opengl is a graphics API, it allows you to draw 2D & 3D graphics to a portion of that screen. Ultimately it requires a windowing system for it to be used. Implimenting XWindows using openGL is a paradox, it requires XWindows in order to be used (or any other system, eg win32 api etc)

    There are however portable UI's that are available specifically for openGL (check out glui), but usually that side of things is taken care of by the native windowing systems

Similar Threads

  1. Real Noob question
    By khofnak in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-24-2016, 05:21 PM
  2. Newbie Question.
    By ToxicBlotch in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-16-2014, 03:13 PM
  3. real newbie loading image question
    By lepp in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-16-2002, 06:30 AM
  4. Feeble minded newbie invades the real forum, got to do it.
    By Eber Kain in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 02-15-2001, 05:35 PM
  5. Real beginner OpenGL question
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-01-2001, 12:16 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