[OpenSCAD] Negative ghosts

nop head nop.head at gmail.com
Tue Sep 27 21:10:00 CEST 2011

On 27 September 2011 19:56, Marius Kintel <marius at kintel.net> wrote:
> On Sep 27, 2011, at 20:22 PM, nop head wrote:
>> Yes but there aren't any actually any coincident surfaces since the
>> negative object was subtracted and does not appear in the scene. It
>> does this even when there is a render() around the object. Doesn't
>> that use CGAL to compute the finished shape?
> Yes, the render() statement uses CGAL to compute the geometry and there will thus be no geometry which can cause Z buffer tearing.
> With OpenCSG, negative objects are rendered positive using a special rendering mode - that's why it shows up there.
> On Sep 27, 2011, at 20:38 PM, Whosawhatsis wrote:
>> I'd be interested to see the code that still does this when you're
>> using render().
> Me too - if that's the case, it sounds like a different issue.

My mistake. Render() does fix the problem.

>  -Marius
> _______________________________________________
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
> http://rocklinux.net/mailman/listinfo/openscad

More information about the OpenSCAD mailing list