Can you recommend any resource to learn OpenGL to be used with wx?

So I wanna play with OpenGL in erlang wx.

I have found this resource for learning:

Do you know if that fits erlang wx?

Or is there a better resource I am not aware of?

Cheers!

Certainly; “modern” (shader-based) and wx can play nicely in conjunction, once a suitable OpenGL context is created. As far as I know, the gl and glu modules work great.

In addition to a general-purpose OpenGL resource like LearnOpenGL, I would recommend studying first the gl entry of wx:demo(), and then the sources of Wings3D, as there are there plenty of gems and operating procedures/best practices that would be quite difficult to reinvent.

Best regards,

Olivier.

2 Likes