Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-26 Thread Esteban Lorenzano
On 26 Dec 2013, at 16:44, Stéphane Ducasse wrote: > This sounds really exciting :) > >> That sounds very interesting. I dream of a virtual world environment such as >> Second Life, highly dynamic and completely open source. > > Croquet was going in that direction and this is good to improve t

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-26 Thread Stéphane Ducasse
This sounds really exciting :) > That sounds very interesting. I dream of a virtual world environment such as > Second Life, highly dynamic and completely open source. Croquet was going in that direction and this is good to improve the infrastructure of Pharo in that direction. Better interacti

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-26 Thread Denis Kudriashov
2013/12/26 Ronie Salgado > Stef > > That sounds very interesting. I dream of a virtual world environment such > as Second Life, highly dynamic and completely open source. What about Croquet?

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-26 Thread Alexandre Bergel
Thanks Ronie for these explanation Alexandre On Dec 26, 2013, at 7:52 AM, Ronie Salgado wrote: > Alex, > > libSDL and libSDL2 are low-level multi-media libraries designed for games. > Those libraries are best suited for basic pixel blitting, some lines and rect > in a cross platform way. Bo

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-26 Thread Igor Stasenko
On 26 December 2013 07:52, Ronie Salgado wrote: > Alex, > > libSDL and libSDL2 are low-level multi-media libraries designed for games. > Those libraries are best suited for basic pixel blitting, some lines and > rect in a cross platform way. Both libraries allows you to use a custom > software re

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-25 Thread Ronie Salgado
Alex, libSDL and libSDL2 are low-level multi-media libraries designed for games. Those libraries are best suited for basic pixel blitting, some lines and rect in a cross platform way. Both libraries allows you to use a custom software rendering or create a window in a cross-platform way. As for Ca

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-25 Thread Alexandre Bergel
Ronie, You mention libSDL. Do you know how it compares with Cairo? They look similar, but I could not find a detailed comparison Alexandre > Le 26-12-2013 à 0:12, Ronie Salgado a écrit : > > Stef > > That sounds very interesting. I dream of a virtual world environment such as > Second Life,

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-25 Thread Ronie Salgado
Stef That sounds very interesting. I dream of a virtual world environment such as Second Life, highly dynamic and completely open source. But currently I would like to do a simple video game, with toon like graphic, using bullet for physics. I think that making an actual game development pipeline

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-25 Thread Stéphane Ducasse
Ronie I was talking about 3D with Igor (because Igor came to Smalltalk because he wanted to use it as a game engine and built rendering engine in Pascal long long time ago :). So I was brainstorming to see what you could do. the last time alex show roassal 3D we were thinking that it would be

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-24 Thread Igor Stasenko
On 24 December 2013 21:01, Ronie Salgado wrote: > Hi Denis, > > The shape color is not enough to know about its transparency, because it > could have a texture with partially transparent elements. Despite that, > there's another kind of transparency, fully opaque or fully transparent, > which doe

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-24 Thread Ronie Salgado
Hi Denis, The shape color is not enough to know about its transparency, because it could have a texture with partially transparent elements. Despite that, there's another kind of transparency, fully opaque or fully transparent, which doesn't require special rendering. That other kind of transparen

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-24 Thread Denis Kudriashov
Hi 2013/12/24 Alexandre Bergel > > el1 := (R3CubeShape new color: (Color purple alpha: 0.2)) element. > el2 := (R3CubeShape new color: (Color purple alpha: 0.2)) element. > el1 makeTranslucent. Can it be automatic? Element has color which know about its transparency

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-23 Thread Ronie Salgado
Hi Alex, Translucent objects requires a singlepass lighting model, which I took the opportunity to complete and make it the default one. I put your example with a slight modification under R3Example>>translucentCubes Translucent elements require a reception of the message makeTranslucent since the

Re: [Pharo-dev] Transparent colors with NBOpenGL?

2013-12-23 Thread Igor Stasenko
On 23 December 2013 22:04, Alexandre Bergel wrote: > Hi! > > Is there a way to have transparent colors with NBOpenGL? > I’ve tried the following (using Roassal 3d): > > -=-=-=-=-=-=-=-=-=-= > | view el1 el2 | > view := R3View new. > el1 := (R3CubeShape new color: (Color purple alpha: 0.2)) elemen

[Pharo-dev] Transparent colors with NBOpenGL?

2013-12-23 Thread Alexandre Bergel
Hi!Is there a way to have transparent colors with NBOpenGL?I’ve tried the following (using Roassal 3d):-=-=-=-=-=-=-=-=-=-=| view el1 el2 |view := R3View new.el1 := (R3CubeShape new color: (Color purple alpha: 0.2)) element.el2 := (R3CubeShape new color: (Color purple alpha: 0.2)) element.view add: