How I can write an OpenGl application using Enthought Framework? I created a TasksApplication and I am stuck on this tutorial, I don't know what I can use instead PythonEditor
there. I need to create something where I will be able to render.
UPDATE:
I changed the code to
def create(self, parent):
widget = GLWidget(parent)
self.control = widget
Where GlWidget
is implemented like in this example.
And I have a runtime crash. But I am able to run the GL script from the example above.
UPDATE2:
UPDATE4: Code was updated according to @Robert Kern suggestions. Now it works.