Anybody uses GLFW with openGL here?

Hi,
If somebody worked with GLFW with GL, what is your experience about this API?

Is it well documented, easy to learn etc, any info is greatly appreciated,
thank you.

Please no links just opinions :)

codekiddy.
After 2 days I figured out it's not worth wasting a time ....
After 2 days I figured out it's not worth wasting a time ....

Well imho its much better than using glut, and the documentation is pretty good. The quickstart tutorial got me up and running within about half an hour I reckon.
Hi slicedpan and thank you for your reply!

The GLFW main loop abuses my CPU,
I created just a single OpenGL window using GLFW and my CPU goes to the 60% all the time, because their while loop constatly runs whether there are messages received or not.

for what?
to see a black window? :D

I create 100 times better window with WindowsAPI and CPU will run smootly wating for message.

Yes GLFW reference gives a nice intro tutorial but I'm just curious how to learn next, openGl documentatino is not pretty frendly.

So I give up,

Well imho its much better than using glut


Yes it's better but it's not GUI library :D
I saw comments on the forums where people are saying that GLFW is the same bullshet as GLUT,.

Cheers!
GLUT isn't bullshit, it's just not really suited for much else other than writing simple OpenGL test programs.

But yeah, from the looks of it SFM, Allegro etc are probably nicer to use than GLFW. Didn't actually try it though.
Well GLFW is the same bullshit as GLUT, in that it provides a fairly minimal set of features, basically just window creation and input, but that suits me fine.


I created just a single OpenGL window using GLFW and my CPU goes to the 60% all the time, because their while loop constatly runs


This is something you have to do yourself, luckily GLFW has cross platform sleep and timing functions. Also the resolution of the timing functions is much better than GLUT. If you (only) want to learn modern OpenGL then GLFW is the way to go.
Somebody on the Stackowerflow mentioned a GLFW as a good one (can't find the link anymore) and he got loads of downvotes by other membes.

Suddenly that was the end of my GLUT learning as well as GLFW :(

But I'm glad you like it, anyway :)

Kind regards!
Topic archived. No new replies allowed.