Hi ronie This is super cool. I would prefer Volcano to Pompeii because lot of people died at pompeii but it the dead in Pharo are the old Morphs this is ok for me :) About the back end, this is really good to have multiple back-ends for Bloc. Stef On Sat, May 13, 2017 at 1:55 AM, Ronie Salgado <roniesalg@gmail.com> wrote:
Hi Alex,
This is great!
Do you know whether Pompeii can be used by Bloc?
I do not know. If the Bloc people pointed me to the places that have to be modified, and if there are willing to have yet another backend, then I am willing to try adding the backend for Bloc.
Best regards, Ronie
2017-05-12 20:01 GMT-03:00 Alexandre Bergel <alexandre.bergel@me.com>:
Hi Ronie,
This is great! Do you know whether Pompeii can be used by Bloc?
Alexandre
On May 12, 2017, at 6:26 PM, Ronie Salgado <roniesalg@gmail.com> wrote:
Hello,
I am releasing a first version of a new 2D graphics API that I am making for Pharo, using OpenGL.
<Captura de pantalla de 2017-05-12 18-23-03.png> <Captura de pantalla de 2017-05-12 18-24-30.png>
http://smalltalkhub.com/#!/~ronsaldo/PompeiiGraphics https://youtu.be/emE6_1RpAo8
This 2D graphics API is not vectorial based becase it does not use SVG style paths. This API is triangle mesh based, so it is more friendlier with the GPU than Athens or Sparta.
With this API I did a basic gui toolkit, with only two widgets: buttons and label. I did this Widget toolkit to not mess with Bloc, and because I need something relatively stable for the Woden 2 level editor. For now, I am leaving this widget toolkit mostly as a demo. Hopefully it is possible to make Bloc backend using this API.
During the process of making this API, I had to fix several bugs with OSWindow, and bugs in the interaction between OSWindow and OpenGL. The biggest problem was a race condition between the creation of an OSWindow using SDL2, and the events (such as Expose) that are sent to the just created Window.
As for Mac OS X, OSWindow is out of service until a pull request ( https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/138 ) gets integrated into the VM.
Best regards, Ronie
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.