POV-Ray : Newsgroups : povray.documentation.inbuilt : Height Field Functions : Re: Height Field Functions Server Time
4 May 2024 13:09:11 EDT (-0400)
  Re: Height Field Functions  
From: Warp
Date: 18 Jul 2002 12:11:01
Message: <3d36e894@news.povray.org>
Peter D. Dunlap <NOp### [at] insightrrcom> wrote:
> Is there documentation on how to use height fields with a function?

  See the section 6.7.11.16 of the POV-Ray documentation.
  You can use a function image to create a heightfield.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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