-----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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPxmBpAAoJEFcGo2TJLgG1gxAIALBOHn31aR8Ou3liuDglNjCp HPwU8C/zQApqHU1CcuTrIfsVd2Y8s2tIV32yitSWuP4xVhQ93sYVZnusnhJMH8am 980m5ssFvuEV0OYg+7SaIWolzW7J5r05MO0eYj/3cQIisUtSca58DlQzavH9Uz3i thKKN2/5OMZqhdVwWvqtddf3k0rWlyOilj0Zz0kk4IYycMoNnZaPX6gKDoZ7Stc+ 0UhOwiTqxvG3lLW0/OvfTfvKthYRcvh0B47tJNkHZ1rhVlvKTvqTdk3jEM2QkgGu IE0wS+Ps0Tbv2Fwjnv3VijSAGGdDCpdloSQ4DrwnwwChooZ5/QJccdRb2XxQSAc= =L0hg -----END PGP SIGNATURE----- |
On Wed, May 30, 2012 at 11:01 AM, Tim Felgentreff <[hidden email]> 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 <[hidden email]> wrote:
> On Wed, May 30, 2012 at 11:01 AM, Tim Felgentreff <[hidden email]> 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 -- Best regards, Igor Stasenko. |
In reply to this post by Tim Felgentreff
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 - OpenGL-Core-bf.16(hmm.15).mcd (7K) Download Attachment |
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 - |
Free forum by Nabble | Edit this page |