Results 1 to 3 of 3

Thread: Graphics in Linux

  1. #1
    Guest

    Graphics in Linux

    I'm doing a simple game as a project for school. I want to do it in linux with the free emacs and gcc compiler. All I really need is a basic function to place a pixel on the screen's 640x480 grid. Would OpenGL be a possiblity? and also would over kill for what I am trying to do? I am a QBasic programmer learning C and I'm used to a simple "pset(x,y),[color]" command. If someone could tell me if OpenGL is a possiblity or point me in the right direction I'd be grateful.

  2. #2
    Member Contributor
    Join Date
    Feb 2000
    Location
    Breda, Netherlands
    Posts
    57

    Re: Graphics in Linux

    Maybe you just need to learn GTK+ or qt. Great book on those topics are available, and simple for 2D graphics. OpenGL is mostly good for 3D graphics. You'll actually allways have to learn C (C++ for qt).

    John

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2000
    Posts
    9

    Re: Graphics in Linux

    I'd say take a look at clanlib, at http://www.clanlib.org. Its a 2D api, and does some really nice things for you, like setting up the window. OpenGL more of a 3D api, and would kinda be overkill for what you are describing.

Similar Threads

  1. graphics.h equivqlent under Linux
    By kiranv3 in forum OpenGL: Linux
    Replies: 15
    Last Post: 11-28-2013, 04:16 AM
  2. Raster Graphics and Vector Graphics
    By Mukund in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 02-08-2011, 05:40 PM
  3. Replies: 6
    Last Post: 11-01-2004, 08:26 PM
  4. Togl graphics fast on Linux, slow on NT
    By NTtogl in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-03-2002, 12:54 PM
  5. book: linux 3d graphics programming
    By jmg in forum OpenGL: Linux
    Replies: 3
    Last Post: 06-18-2001, 06:03 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