Hi, this is my first mail to the list so hello everybody.

I've been trying to make GLMorphic work on pharo and got some useful
results. I investigated the plugin that was needed to integrate into the VM
and noticed it was really small, so I thought why make this in C if you can
implement it directly in smalltalk. Shortly after that I came up with a
translation of it (through FFI) so that you can use it with the VM as is.
The code isn't something I'd call good, but it works fine (only windows,
sorry).


If you want to try it, you should do

ScriptLoader loadFFI.

and then download the GLMorphic-JEP version of GLMorphic package from
squeaksource (after GLMorphic-sig? ). I also made some modifications to
FFI-Examples, so you may also have to dowonload FF-Examples-JEP from
squeakfoundation.org. I'm new to monticello so it wouldn't be strange if
nothing got uploaded correctly.

Some things work and most looks messed up, specially fonts... try

World fullDrawOn: GLDisplayScreen testCanvas.

and you'll see.

Let me know what you think.

Bye!

-- 
Javier Pimás
Ciudad de Buenos Aires
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to