Re: [Pharo-users] OpenGL minimum working example?
Hello Hernan, I have partially working code at http://smalltalkhub.com/#!/~tomooda/Jun4Pharo My code still have two problems that * depending on resolution, projection matrix can't be properly set, and * it freezes pharo when switching to fullscreen Best Regards, --- tomo
Hello Hernan, I tested the code only on Mac. --- tomo 2018/11/13(Tue) 8:27 Tomohiro Oda <tomohiro.tomo.oda@gmail.com> wrote:
Hello Hernan,
I have partially working code at http://smalltalkhub.com/#!/~tomooda/Jun4Pharo
My code still have two problems that * depending on resolution, projection matrix can't be properly set, and * it freezes pharo when switching to fullscreen
Best Regards, --- tomo
Hello Tomo, Thank you, very interesting project! BTW to load Jun4Pharo with UFFI OpenGL the expression is: Gofer new smalltalkhubUser: 'tomooda' project: 'Jun4Pharo'; configurationOf: #Jun; load. (Smalltalk at: #ConfigurationOfJun) project development load: #('Core'). There are only a few warnings during installation: This package depends on the following classes: TabActionButton NewListRenderer NewList Tab TabBar You must resolve these dependencies before you will be able to load these definitions: NewList>>#drawOnAthensCanvas: NewListRenderer>>#drawOnAthensCanvas: NewListRenderer>>#drawSubmorphsOnAthensCanvas: Tab>>#createClosedPolygonPathFrom:on: Tab>>#createLinesPathFrom:on: Tab>>#drawOnAthensCanvas: TabActionButton>>#drawOnAthensCanvas: TabBar>>#drawLinesOnAthensCanvas: TabBar>>#drawLinesWithSelection: TabBar>>#drawSubmorphsOnAthensCanvas: Most examples works also on Windows on Pharo 7. However the UFFI OpenGL freezes the image if launched on full-screen. Cheers, Hernán El lun., 12 nov. 2018 a las 20:41, Tomohiro Oda (<tomohiro.tomo.oda@gmail.com>) escribió:
Hello Hernan,
I tested the code only on Mac. --- tomo
2018/11/13(Tue) 8:27 Tomohiro Oda <tomohiro.tomo.oda@gmail.com> wrote:
Hello Hernan,
I have partially working code at http://smalltalkhub.com/#!/~tomooda/Jun4Pharo
My code still have two problems that * depending on resolution, projection matrix can't be properly set, and * it freezes pharo when switching to fullscreen
Best Regards, --- tomo
participants (2)
-
Hernán Morales Durand -
Tomohiro Oda