POV-Ray : Newsgroups : povray.binaries.images : fished onion : Re: fished onion Server Time
20 Aug 2024 04:19:34 EDT (-0400)
  Re: fished onion  
From: Wlodzimierz ABX Skiba
Date: 16 Oct 2000 03:51:38
Message: <39eab38a$1@news.povray.org>
> 2) The way I did it was to modify the (x,y,z) parameters in the
function call,
> like this:
> function{
>     My_pigment_function(
>        abs(x)-floor(abs(x)),
>        abs(y)-floor(abs(y)),
>        abs(z)-floor(abs(z))
>    )
> }
> This also tiles a <0,0,0>-<1,1,1> slice of the pattern in 3D - but if
I'm not
> mistaken, the pattern is mirrored at the origin.


why you absolute coordinates ?

My_pigment_function(x-floor(x),y-floor(y),z-floor(z))

ABX


Post a reply to this message

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