Jim Charter nous apporta ses lumieres en ce 18/04/2006 12:32:
> Can someone explain what the iso_rcsg.inc functions do? I am not sure > what "rounded" means.
It's a tool to make iso_surfaces shapes whose edges are round rather than sharp like
those of normal
primitives like a box.
--
Alain
-------------------------------------------------
Fundamentalism #3: Shit must be born again.
Jim Charter wrote:
> Can someone explain what the iso_rcsg.inc functions do? I am not sure > what "rounded" means.
The macros in iso_rcsg.inc generate distance functions for the shapes
they represent while the normal macros in iso_csg.inc just ensure the
function is zero at the shape surface.
Note there are a lot of shapes that have a distance function macro in
iso_csg.inc (like sphere, torus, triangle) so they don't need a separate
one in iso_rcsg.inc.
Christoph
--
POV-Ray tutorials, include files, Landscape of the week:
http://www.imagico.de/ (Last updated 14 Mar. 2006)
MegaPOV with mechanics simulation: http://megapov.inetart.net/
From: Jim Charter
Subject: Re: iso_rcsg.inc
Date: 20 Apr 2006 17:26:08
Message: <4447fc70@news.povray.org>
Christoph Hormann wrote:
> Jim Charter wrote:> >> Can someone explain what the iso_rcsg.inc functions do? I am not sure >> what "rounded" means.> > > The macros in iso_rcsg.inc generate distance functions for the shapes > they represent while the normal macros in iso_csg.inc just ensure the > function is zero at the shape surface.> > Note there are a lot of shapes that have a distance function macro in > iso_csg.inc (like sphere, torus, triangle) so they don't need a separate > one in iso_rcsg.inc.> > Christoph>
Thanks Christoph. Could you suggest a test that would show up the
difference?
Alain wrote:
> Jim Charter nous apporta ses lumieres en ce 18/04/2006 12:32:> >> Can someone explain what the iso_rcsg.inc functions do? I am not sure >> what "rounded" means.> > It's a tool to make iso_surfaces shapes whose edges are round rather > than sharp like those of normal primitives like a box.>
Well the file includes macros for both IC_Box and IC_Round_Box
On Thu, 20 Apr 2006 17:24:43 -0400, Jim Charter <jrc### [at] msncom> wrote:
> Thanks Christoph. Could you suggest a test that would show up the > difference?
I was posting some test screens at the time I was working on it:
http://news.povray.org/povray.binaries.images/thread/%3Cfan39ugtbuhev280korg4ot4mm11irktlv%404ax.com%3E/
HTH,
ABX