On 24 December 2013 21:01, Ronie Salgado <[email protected]> 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 doesn't require special rendering. That other kind of transparency is > supported by the multi-pass lighting models. > > ... and there are many different techniques for rendering scenes with semi-transparent objects, including ray-tracing. Some solutions are simple some are complex, and require significant efforts for implementing them, like properly organizing/adjusting data structures and rendering pipeline. So, answering question if it 'can be automatic', - yes, if someone will implement it. OpenGL out-of-the-box, don't have such automagic. Greetings > Ronie Salgado > > > 2013/12/24 Denis Kudriashov <[email protected]> > >> Hi >> >> 2013/12/24 Alexandre Bergel <[email protected]> >> >>> >>> 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 >> > > -- Best regards, Igor Stasenko.
