POV-Ray : Newsgroups : povray.newusers : (vector) sum of two objects : Re: (vector) sum of two objects Server Time
31 Jul 2024 06:13:08 EDT (-0400)
  Re: (vector) sum of two objects  
From: ABX
Date: 30 Apr 2003 10:23:38
Message: <hbmvavsst1l8bc6fprek1cdbj89rg32rdq@4ax.com>
On Wed, 30 Apr 2003 10:08:19 -0400, Christopher James Huff
<cja### [at] earthlinknet> wrote:
> > Ok, example: I have a set of points. The rule used to create this set is that
> > all points of this set have the same distance from center and all points have
> > their coordinates positive in value. So I can express this set as:
> > 
> >   A={ P(x,y,z) : x^2+y^2+z^2=distance^2 , x>0 , y>0 , z>0 }
> > 
> > I can easly "convert" it into isosurface, can't I?
>
> Have you actually tried this for more than a few hundred points? You 
> would be much better off with a blob. And you won't end up with an 
> object with a surface going through that point.

It seems you somehow overcomplicated this subject in your mind. What I was
refering is simple moving function from set definition with typical rules of
combining http://www.econym.demon.co.uk/isotut/combine.htm :

isosurface{
  function{min(x*x+y*y+z*z-R*R,-x,-y,-z)}
  open
  ... // other isosurface syntax
}

Of course from the begining this is a scpecial case when set does not contain
enumerated list of points but infinite surfaces. EOT!

ABX


Post a reply to this message

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