1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

Pyra Noob Question: What OpenGl lib do I use?

Discussion in 'C /C ++' started by SuperUser, Nov 14, 2016.

  1. SuperUser

    SuperUser Still Fresh

    Joined:
    Oct 9, 2016
    Messages:
    10
    Hello, I'm currently interested in developing a basic 3d game for the upcoming Pyra. I am quite new to this community and do not own a Pandora, but have pre-orderd the Pyra. My idea was to start making the game using my Arch Linux install and then compiling in on the Pyra!

    But in order to do that I need to know what OpenGl version to use and what library is the most appropriate, Or is it just come down to what ever I prefer(SDL2, GLFW or SFML)?

    And what are the upsides & downsides to using any of the mention librarys on the Pyra?
     
    Last edited: Nov 14, 2016
    Tags:
    ible likes this.
  2. mjohansson

    mjohansson Supporter

    Joined:
    Feb 10, 2011
    Messages:
    386
    The GL version depends if you wish to use shaders or not, its a choise between GLES 1 for no shaders or GLES 2 for shaders. Dont know if its of any interest but this might be of help: https://pandorawiki.org/GLES
     
  3. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,410
    Location:
    France, near Lyon
    If you need shaders, stick to SDL2 and use GLES2 context.
    If you can go with OpenGL 1.5, using gl4es you can use mostly anything.
     
  4. SuperUser

    SuperUser Still Fresh

    Joined:
    Oct 9, 2016
    Messages:
    10
    Use in short use GLES 2 with SDL2.
    Thank you for your time ptitSeb & mjohansson.
     

Share This Page

Loading...