[OpenSCAD] Alpha transparency bug

nop head nop.head at gmail.com
Tue Sep 27 23:36:08 CEST 2011

Another oddity is that cut edges of semi transparent objects seem to
come out green just like the cut edges of glass look green. Great if
you are modelling glass, but not if you are modelling acrylic.

On 27 September 2011 19:48, Marius Kintel <marius at kintel.net> wrote:
> On Sep 23, 2011, at 20:16 PM, nop head wrote:
>> If I make an object transparent with the % operator I can see other
>> objects inside it. If I use the alpha value in the color() function I
>> can not see other objects inside, but I can see internal details of
>> the object itself.
> This is a known problem, from TODO.txt:
>  - When specifying a transparency with the color() statement,
>    the object is not sorted and will be rendered wrongly
> The problem is that for non-opaque objects to be rendered correctly, they must be sorted in back-to-front order and rendered after all other geometry has been rendered. The problem lies in combining this with how OpenCSG works.
>  -Marius
> _______________________________________________
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
> http://rocklinux.net/mailman/listinfo/openscad

More information about the OpenSCAD mailing list