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: el1; add: el2.

el2 translateByZ: -2.

view addInteraction: R3MouseControl new; addInteraction: R3KeyControlForMac new.
view open
-=-=-=-=-=-=-=-=-=-=

But I get something like:
Would it be possible to have translucent cubes? Any OpenGL expert around?

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



Reply via email to