POV-Ray : Newsgroups : povray.binaries.scene-files : Crevice Grime Macro : Re: Crevice Grime Macro Server Time
25 Apr 2024 04:11:11 EDT (-0400)
  Re: Crevice Grime Macro  
From: Trevor G Quayle
Date: 29 Mar 2011 08:50:01
Message: <web.4d91d48bb2dc5cad81c811d20@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> Here is the crevice grime (and edge detect) macro I have been working on.  I
> ahve also included a sample scene.  I tried to document it and clean it up
> somewhat.  Feel free to try it out and modify.  Please post any results or
> problems.
>
> -tgq

A slight modification to the macro.  I removed the function wrapper from inside
so it should be used outside now:

pigment{
  function{Crevice(,,,,,,,,)}
  colour_map{...}
}

This allows the convenience of manipulating it with other functions:

#declare Func2=function{pattern{bozo}}

pigment{
  function{Crevice(,,,,,,,,)*Func2(x,y,z)}
  colour_map{...}
}



-tgq


Post a reply to this message


Attachments:
Download 'crevice.inc.txt' (11 KB)

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