[squeak-dev] GLMorphic

Tim Felgentreff tim at nada1.de
Wed May 30 18:01:13 UTC 2012


-----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-----


More information about the Squeak-dev mailing list