-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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.
On Wed, May 30, 2012 at 11:01 AM, Tim Felgentreff tim@nada1.de wrote:
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)
Yes! My dream GUI would be a Smalltalk widget library that draws into Areithfa Ffenestri windows via OpenGL (or maybe Cairo). Native windows would play nicely with the OS window manager, and Smalltalk widgets would give us a consistent experience across platforms. Visualworks is going in that direction with Cairo, and Igor's nascent Athens project looks interesting, but we haven't really seen such a beast yet.
Colin
On 30 May 2012 20:24, Colin Putney colin@wiresong.com wrote:
On Wed, May 30, 2012 at 11:01 AM, Tim Felgentreff tim@nada1.de wrote:
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)
Yes! My dream GUI would be a Smalltalk widget library that draws into Areithfa Ffenestri windows via OpenGL (or maybe Cairo). Native windows would play nicely with the OS window manager, and Smalltalk widgets would give us a consistent experience across platforms. Visualworks is going in that direction with Cairo, and Igor's nascent Athens project looks interesting, but we haven't really seen such a beast yet.
Yes, one of the goals of Athens is to incorporate it as default graphic framework for Morphic (and for rest of stuff of course). At some point, i will certainly start implementing OpenGL backend for Athens and will certainly use some of the work from GLMorphic.
Colin
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 -
On May 30, 2012, at 9:20 PM, Bert Freudenberg wrote:
Btw, I just added back texture support to CroquetGL, see attachment (will add to repo when I get access).
Is this GPL or MIT licensed?
Marcus
-- Marcus Denker -- http://marcusdenker.de
On 30.05.2012, at 21:36, Marcus Denker wrote:
On May 30, 2012, at 9:20 PM, Bert Freudenberg wrote:
Btw, I just added back texture support to CroquetGL, see attachment (will add to repo when I get access).
Is this GPL or MIT licensed?
Marcus
MIT:
http://www.squeaksource.com/CroquetGL.html
- Bert -
squeak-dev@lists.squeakfoundation.org