POV-Ray : Newsgroups : povray.newusers : pattern as function : Re: pattern as function Server Time
4 Nov 2024 21:26:28 EST (-0500)
  Re: pattern as function  
From: Christoph Hormann
Date: 4 Nov 2002 09:44:02
Message: <3DC687B2.16CE4C5@gmx.de>
Dennis Miller wrote:
> 
> Thanks Chris, but looking in functions.inc, I don't see what the syntax
> would be to specify say, the turbulence using an isosurface pattern
> function. There is a comment in the file that says "some of these ...require
> special parameters..." So does that mean that you can't specify all the
> parameters of a pattern when using it as an isosurface? Or if you can, can
> you give me an example? F_marble isn;t included in the 7.7 section and the
> turbulence parameter isn't mentioned either.

fumctions.inc, line 661:

#declare f_marble = function {pattern {marble}}

with turbulence warp:

#declare f_marble_turb = 
  function {
    pattern {
      marble
      warp { turbulence 0.5 }
    }
  }

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 02 Nov. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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