POV-Ray : Newsgroups : povray.binaries.images : why the difference??? : Re: why the difference??? Server Time
19 Aug 2024 20:12:14 EDT (-0400)
  Re: why the difference???  
From: Oded
Date: 21 Oct 2000 06:25:18
Message: <39f16f0e@news.povray.org>
thanks, both of you

got it now.
since im not gonna make a box, its just an example of a more general
problem.
i have a question , what does the '&' operator do (not logically, i mean
actually, since you dont have true/false nor bits in real numbers....)?

Christoph Hormann <Chr### [at] schunteretctu-bsde> wrote in message
news:39F13E71.63853111@schunter.etc.tu-bs.de...
>
>
> Oded wrote:
> >
> > between the following two pov-codes' results.
> > I have no idea, hope someone can tell me why two identical objects look
> > different
> > one is a simple CSG, the other an isosurface
> > attached are the results...
> >
>
> As Mike said, the isosurface function you used is not that good because of
the
> high gradient (abrupt changes in value) occuring.  In general the if(,,)
> construct is not very suited for isosurface functions in most cases.
>
> You should use the classical isosurface cube instead:
>
>

>   function { abs(x) & abs(y) & abs(z) }
>   threshold 0.5
>   contained_by{ box { <-2,-2,-2> <2,2,2> } }
> }
>
> Christoph
>
> --
> Christoph Hormann <chr### [at] gmxde>
> Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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