POV-Ray : Newsgroups : povray.binaries.images : Iso floor grow (46Kbu) : Re: Iso floor grow (46Kbu) Server Time
19 Aug 2024 16:12:13 EDT (-0400)
  Re: Iso floor grow (46Kbu)  
From: Tor Olav Kristensen
Date: 11 Nov 2000 22:57:09
Message: <3A0E149A.D34202CF@online.no>
Tor Olav Kristensen wrote:
>... 
> I think that it's possible to construct a "ReplikateFunction" that
> also can generate grids of isosurfaces with an even number of "parts"
> along each side.
>...

I think this is such a function:

$ ReplicateFunction =
function {
  OtherFunction(
    x % Xspacing - if(x, 1, -1)*Xspacing/2,
    y,
    z % Zspacing - if(z, 1, -1)*Zspacing/2
  )
}


And I think this cointaned_by statement can be 
used with your iso-surface when the above 
function is used:

  contained_by {
    box {
      -<Xnr, 3.5, Znr>*<Xspacing, 1, Zspacing>,
       <Xnr, 1.0, Znr>*<Xspacing, 1, Zspacing>
    }
  }


Best regards,

Tor Olav
-- 
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

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