POV-Ray : Newsgroups : povray.general : New to the forum and testing a sig : Re: New to the forum and testing a sig Server Time
4 Aug 2024 20:19:47 EDT (-0400)
  Re: New to the forum and testing a sig  
From: Warp
Date: 20 Feb 2003 03:46:27
Message: <3e5495e3@news.povray.org>
Wayne Fluharty <wfl### [at] worldnetattnet> wrote:
> light_source{0 1}#default{pigment{rgb 1-y}}#declare W=3;#macro F(
> L,U)box{<W,L-.5,6><W+.1,U-.5,7>}#end#macro H(A,R,T,Y)F(R,Y)box{<A
> ,W-.5,6><T,(W-.4),7>}#declare W=W-1;#end H(-2,0,.1,0)H(-1,-1,2.1
> ,2.1)F(-2,-1)H(-1,0,0,2)H(-2,-1,-1,3)H(0,-2,2,1)H(-1,0,1,3)//Flu

  This didn't quite preserve your fancy variable naming, but at least it's
a bit shorter:

light_source{0,1}#macro H(A,R,T,Y,W)box{<W,R-.5,6><W+.1Y-.5,7>}box{<A,W-.5,
6><T,W-.4,7>}#end union{H(-2,0,.1,0,3)H(-1,-1,2.1,2.1,2)H(9,-2,9,-1,1)H(-1,
0,0,2,1)H(-2,-1,-1,3,0)H(0,-2,2,1,-1)H(-1,0,1,3,-2)pigment{rgb 1-y}}//Flu


-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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