POV-Ray : Newsgroups : povray.general : csg > mesh : Re: csg > mesh Server Time
13 Aug 2024 05:47:42 EDT (-0400)
  Re: csg > mesh  
From: Jerry Anning
Date: 24 Oct 1998 14:34:59
Message: <36320FD2.6ED7CF1E@dhol.com>
It should be possible to convert a POV csg to a mesh with Ron Parker's
Superpatch.  I am working on it right now, but you may be able to roll
your own faster.  The basic idea is to use object_bounds to put a box
around the object, then iterate around that box using trace() to pick
off points of the object, then use any suitable triangulating algo on
the point set.  If the object is complex, you may want to use additional
planes at other angles, using the bounding box to ensure that you are
far enough away.

Jerry Anning
cle### [at] dholcom


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.