POV-Ray : Newsgroups : povray.unix : gradient problem vers. 3.1g : Re: gradient problem vers. 3.1g Server Time
28 Jul 2024 18:27:12 EDT (-0400)
  Re: gradient problem vers. 3.1g  
From:
Date: 21 Sep 2001 03:46:51
Message: <57rlqt0ed59nq02ulsdpmmflr1f17a0iss@4ax.com>
On 20 Sep 2001 11:43:34 -0400, ron### [at] povrayorg (Ron Parker) wrote:
> > > It's intentional.  Try rendering them.
> >
> > Cool.
>
> That one's one of my less cool ones.  Try this one.

so and mine

#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow}// povray.org

I mostly like my two others but they break signature length rule

// first
#local A="000114120001121034130151142153134064180060195"#local B=0;#macro G()
#declare B=B+1;val(substr(A,B,1))#end#local S=seed(1);light_source{10,1}blob{
threshold.6#local U=z;#local Y=0;#while(Y<15)#local E=G()*.7+.1e-3;#local V=<
3.5-G(),G()-2.5,-1>;#local X=0;#while(X<1)sphere{<12*X+rand(S)-6,Y+rand(S)-5,
-1>1,1}sphere{U+X*(V-U)+rand(S)E,.3}#local X=X+.01;#end#local U=V;#local Y=Y+
1;#end texture{pigment{rgb 1}normal{agate}}}camera{location z*8look_at 0}

// second
#macro L(D)light_source{D*5D spotlight point_at-D falloff 25}#end#local C=0;L(
x)L(y)#macro G()#declare C=C+1;val(substr(concat("00000100200301001402002102",
"3030034040122141142143222242322341342343400401402403410414420421423430434440"
),C,1))#end L(z)camera{location 8look_at 0}union{#while(1e2>C)box{#local P=<G(
),G(),G()>*.4-1;P+.4P}#end box{-9 9}texture{pigment{rgb 1}}}// call me ABX :-)

ABX


Post a reply to this message

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