On 30.05.2012, at 20:01, Tim Felgentreff wrote:
Hi
I've been playing with GLMorphic, updating it to work with current CroquetGL. I've been using it as my Display canvas for a couple of days, and I like the idea of allowing Morphs to use OpenGL in their drawOn: methods (makes for much faster transform morphs ;)
There's plenty of problems, and performance isn't great, but do people think better OpenGL integration is something that's still worth pursuing? (not necessarily based on GLMorphic)
If you want to give it a try, I've updated the ConfigurationOfGLMorphic in the squeaksource.com/GLMorphic repository. Load the #lastVersion (development) and try and enable the GLCanvas with
GLDisplayScreen new
Works okay here on my i5 with Mesa (software) rendering, and pretty well when run on an nVidia card. I've only tried it on Linux, but it should work wherever CroquetGL works.
There's a little example morph in the GLMorphic-Examples category that renders a rotating cube in its drawSubmorphsOn:
Best,
- -Tim
PS: Please do not judge me too harsh for the GL code - never really played with OpenGL before.
There's definitely interest, I'd say :)
Btw, I just added back texture support to CroquetGL, see attachment (will add to repo when I get access).
- Bert -