Results 1 to 5 of 5

Thread: Info about SDL...

  1. #1
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    Sydney, NSW, Australia
    Posts
    426

    Info about SDL...

    Im currently using GLUT for window init and mouse/keyboard stuff... but i dont really like it, its too fiddly... i dont weant to use win32 coz i hate m$ and also it would be non-portable and messy code...
    I hear about SDL... can someone give me some info on it? Like, is it good? and is it fast/slow, stable, functional, etc...
    :: Sleep is a poor substitute for caffeine ::

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2002
    Location
    St. Louis, MO USA
    Posts
    177

    Re: Info about SDL...

    It's very good, fast, stable, portable, and best of all, you get to write your own message loop instead of using callback functions.

  3. #3
    Member Contributor
    Join Date
    Oct 2002
    Location
    New Zealand
    Posts
    56

    Re: Info about SDL...

    I'm using SDL (with Linux) and I'm very impressed with it. As far as OpenGL is concerned, SDL fires it up then gets out of the way.

  4. #4
    Senior Member Regular Contributor
    Join Date
    Sep 2001
    Location
    macedon, ny
    Posts
    288

    Re: Info about SDL...

    I like what SDL can do, but I DONT Like how involved it is to code. I prefer to use GLUT for input myself. Some people say GLUT is too slow for input, but i simply create a bool KeyDown[256] array, and when ever a key is pressed set the value, and simply check that value each frame, then if its released reset the value. This speeds glut up GREATLY.

    I also prefer OpenALs sound setup to the one SDL uses, and devIL works well with OpenGL also.

    All in all I do LIKE SDL, but i would prefer
    OpenGL(graphics), devIL(image loading), OpenAL(sound), and glut(input), all of which carry the OpenGL syntax, so NO new stuff to learn.

  5. #5
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    Sydney, NSW, Australia
    Posts
    426

    Re: Info about SDL...

    Id only use SDL for input and initialisation of the window... i hate using 3rd party image loading software, i code the loaders myself...
    Its just that glut is beginning to **** me... Its crap for input imho, slow as, and i did a test:
    win32 app with just a triangle spiining, and glut app with a triangle spinning... GLUT is noticeably slower. I know that with a more complex program the difference wouldnt be very big, but nevertheless, performance matters.

    But i also HATE win32, anything to do with M$ ****s me, and i use windows 98 only coz i have to, cant get 3d drivers working in linux ;-(
    :: Sleep is a poor substitute for caffeine ::

Similar Threads

  1. Info GPU
    By foketto in forum OpenCL
    Replies: 0
    Last Post: 01-16-2014, 11:15 AM
  2. info
    By qmars in forum OpenGL: Windows
    Replies: 2
    Last Post: 08-23-2008, 01:41 AM
  3. PCF, need some info
    By Zulfiqar Malik in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 01-21-2005, 09:17 AM
  4. more info
    By 20040902jimeg in forum OpenGL: User Software
    Replies: 0
    Last Post: 09-03-2004, 06:50 AM
  5. I need any help or info
    By reqiem in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-20-2001, 01:59 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