Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML and OpenGL  (Read 1328 times)

0 Members and 1 Guest are viewing this topic.

aanthonyz

  • Newbie
  • *
  • Posts: 17
    • View Profile
SFML and OpenGL
« on: April 27, 2014, 03:19:44 am »
Are there any tutorials on drawing with OpenGL. I know about the SFML OpenGL tutorial that Laurent created but im a bit confused when it comes to actually drawing. Can I draw like I would normally draw with SFML, like creating a texture, sprite, and displaying it or do I have to do it completely through OpenGL now?

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: SFML and OpenGL
« Reply #1 on: April 27, 2014, 04:16:03 am »
You can mix both, just follow the tutorial and pay attention to the push/pop states functions.  ;)
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: SFML and OpenGL
« Reply #2 on: April 27, 2014, 10:22:09 am »
SFML also provides some examples that you might be interested in.
SFML / OS X developer