GLMorphic

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

GLMorphic

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

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] GLMorphic

Bert Freudenberg
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
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] GLMorphic

Marcus Denker-4

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


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] GLMorphic

Bert Freudenberg

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 -