POV-Ray : Newsgroups : povray.advanced-users : hf and slope : Re: hf and slope Server Time
29 Jul 2024 18:19:58 EDT (-0400)
  Re: hf and slope  
From: Warp
Date: 21 Mar 2001 17:42:32
Message: <3ab92e58@news.povray.org>
Christoph Hormann <chr### [at] gmxde> wrote:
: It's fairly simple, just start with slope y and a simple color map.  

  Note: The usable values of the color map in this case are from 0.5 to 1
since the values 0 to 0.5 never appear on a heighfield (when using slope y).

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

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