Does anyone know how to use opengl?
  • I just started looking into it. and i can't find any good tutorials. im decent at math,(im only a sophmore in HS) and want to add simple design to some programs that i make. i think i will prefer openGL over directX because of the cross platform, but anyways, can i get a few tutorials?
  • OpenGL is only a displaying library and it doesn't handle events. That's why you can't use it alone. You need another library for that. Most popular choices are GLUT and SDL.

    GLUT is very primitive. You just initialize it, give a driving and events handling functions and... That's all. I find it useful for scripts only, like city generator, model viewer and etc...

    SDL, on the other hand, is more complex (compared to GLUT) but it's simple anyway. You just initialize window/fullscreen with it and use an event class to handle events. It gives you more power than GLUT. Lazy Foo's tutorials are nice:
    http://www.lazyfoo.net/SDL_tutorials/index.php
    Here are some SDL tutorials too (including how to use it together with OpenGL):
    http://gpwiki.org/index.php/SDL

    There are many tutorials on OpenGL. These use OpenGL and GLUT and are still nice:
    http://www.videotutorialsrock.com/


    If you need more tutorials, just Google it. These are the ones I know from the past. (and they're at the top of Google results)
  • ok thank you very much vento!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Poll

No poll attached to this discussion.

In this Discussion