Question

Does anyone have a working example on how to get a text drawn in openGL, the erlang bindings?

Im using a texture right now to load the one created by wxBitmap. And I am considering moving the GL code to Java or C++.

Was it helpful?

Solution

Have you run "wx:demo()" from the erlang shell, it contains one example of how to do it. Click OpenGL and have a look at the code.

OTHER TIPS

A minimal Elixir example looks like this: Create the module (top). Execute in terminal (middle). Choose 'gl' in Window with wxExamples (bottom):

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top