[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Input Library



On Thu, 26 Sep 2002 Nathi-huesken@gmx.de wrote:

>> On Thu, Sep 26, 2002 at 02:51:30PM +0200, Nathi-huesken@gmx.de wrote:
>> 
>> > For Graphics I use OpenGL and for Sound I use OpenAL.
>> 
>> When using OpenGL you should get the user input from the same place you
>> got the OpenGL rendering context.
>> If you created the context with glX you should get the input from Xlib.
>> If you created the context with glut you should get the input from glut.
>> If you created the context with SDL you should get the input from SDL.
>> Etc.
>
>OK, I will use OpenGL and I think I will use glX (sounds best to me). But
>where can I find a tutorial or an explaining example of glX/Xlib? (as you can
>see, I have not done any programming under Linux yet) ;)

Ugh, why reinvent the wheel again. Why not just go with SDL, GLUT or Plib
like the rest of the world? You'll most likely end up with a nonportable
buggy mess, unless you're ready to spend *a lot* of time on that (more or
less useless) part of your project.

-- 
          "Yes, bugger all that." said Nanny. "Let's curse somebody."
                                            -- Terry Pratchett, Wyrd Sisters