POV-Ray : Newsgroups : povray.binaries.images : Lame Short Code Contest attempt : Re: Lame Short Code Contest attempt Server Time
11 Aug 2024 23:15:07 EDT (-0400)
  Re: Lame Short Code Contest attempt  
From: Tek
Date: 24 Feb 2004 01:12:08
Message: <403aeb38$1@news.povray.org>
"Christopher James Huff" <cja### [at] earthlinknet> wrote in message
news:cjameshuff-D54816.11362823022004@news.povray.org...
> In article <403### [at] hotmailcom>,
>  andrel <a_l### [at] hotmailcom> wrote:
>
> > #declare f=function{pigment{mandel 999interior 1,1translate-.17
> > color_map{[0rgb 0][1rgb 1]}scale 2}}light_source{y*.2rgb
> > 1}height_field{function 999,999{f(x,y,z).gray*.1}pigment{rgb
> > 1}translate-.5}camera{rotate x*45translate-.7*z}
>
> Replace ".gray" with ".hf" to save two characters.

You can just use .x instead, since the rgb components are the same.
Somebody's not been reading my source closely enough ;)

-- 
Tek
www.evilsuperbrain.com


Post a reply to this message

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