Hi Ronie,

cool! So I guess a possible next step would be an updated CodeCity [1] for Pharo 5 now... ;)

Small feedback:
Can confirm that the examples are working/displayed for me on Windows with build #50737 -
but I dont know how to stop it (except using ALT+F4 quit for Pharo Window). I can not click
in the Pharo Desk or interrupt with CMD+ while the example is running.
ESC close the visualization but still I can not click in Pharo afterwards. Did I miss something?

Thanks
Torsten
 
[1] http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2014-March/010878.html
 
Gesendet: Freitag, 29. April 2016 um 15:36 Uhr
Von: "Ronie Salgado" <[email protected]>
An: "Pharo Development List" <[email protected]>
Betreff: [Pharo-dev] UFFIOpenGL binding and Woden is now working in Pharo 5
Hello,
 
I made new OpenGL bindings for Pharo 5 using the UFFI (Available at: http://smalltalkhub.com/#!/~ronsaldo/UFFIOpenGL ).
 
Unlike the old NBOpenGL, these new bindings make a heavy use of OSWindow SDL2 which is integrated and enabled by default in the Pharo 5 image. These bindings do not provide a way to create an OpenGL context or to create a Morphic window using OpenGL unlike NBOpenGL.
 
For testing quickly OpenGL in Pharo 5, it should be enough to do the following in the playground:
 
(ConfigurationOfOSWindow project version: #stable) load: 'WithOpenGLAndExamples'.
 
(Smalltalk at: #OSGLExampleBasic3) new.
 
As for Woden, it is now working in Pharo 5 with the UFFI. For loading Woden in a Pharo 5 image, is enough to do the following in the playground (Also available at the Woden Smalltalkhub page):
 
Gofer new smalltalkhubUser: 'ronsaldo' project: 'Woden'; package: 'ConfigurationOfWoden'; load. (Smalltalk at: #ConfigurationOfWoden) loadBleedingEdge.
 
For an example the following script should be executed in a Playground:
 
WDFPSSimpleExample6 new open.
 
Greetings,
Ronie
 

Reply via email to