Ok, Thanks Igor Alexandre On 16 Jul 2013, at 06:43, Igor Stasenko <siguctua@gmail.com> wrote:
On 15 July 2013 20:05, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!
Milton, Ronie and I had a very fun programming session. Here some random screenshots during our programming session. Igor, would it be possible to have in the same window Athens and OpenGL? Maybe the question does not make sense, just I prefer the ask. On some point we would like to some popup in 2D above a 3D scene.
your question makes perfect sense. sure, you can combine drawings from both of them and blit things together. The only little problem is that Cairo pixel buffer (surface) is premultiplied with alpha (R*A, G*A, B*A, A) while Form is not (RGBA). And we don't have such blending rule in bitblt to combine pixels of such formats correctly.
All the examples are available on: http://smalltalkhub.com/#!/~ronsaldo/roassal3d You need to download first NBOpenGL to play with Roassal3d
Cheers, Ronie, Milton & Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
<Screen Shot 2013-07-15 at 2.03.30 PM.png> <Screen Shot 2013-07-15 at 1.36.46 PM.png>
-- Best regards, Igor Stasenko.