|
 |
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] schunter etc tu-bs de> 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] gmx de>
> Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |