POV-Ray : Newsgroups : povray.binaries.images : "Bob" marbles [jpeg2000 + std tn] : Re: "Bob" marbles [jpeg2000 + std tn] Server Time
14 Nov 2024 08:20:51 EST (-0500)
  Re: "Bob" marbles [jpeg2000 + std tn]  
From: IMBJR
Date: 12 Mar 2004 14:33:19
Message: <9a44509ue7otd1tf4br8djbmlnfg5kfo3d@4ax.com>
On Thu, 11 Mar 2004 20:02:54 -0800, "Tek" <tek### [at] evilsuperbraincom>
wrote:

>I feel inspired! :)
>
>#local P=function{pigment{image_map{png"s"}}}#local Y=0;#while(Y
><50)#local X=mod(Y,2)/2;#while(X<40)#local C=P(X/40,Y*.02,0);#if
>(C.gray<1)sphere{<X,Y*.8>/40-.5+z,.011pigment{rgb C}}#end#local
>X=X+1;#end#local Y=Y+1;#end background{1}light_source{y-.5,5}

I notice you've got some "background" spheres there that are nearly
white. I used a picture pigment and a mask pigment and only sampled
where the mask said that the red channel was 1 in value - I forgot one
can use the grey value as well.

By the way, nice compression in the code.

--------------------------------
My First Subgenius Picture Book:
http://www.imbjr.com


Post a reply to this message

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