|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Post a reply to this message
Attachments:
Download 'bob_marbles.jpg' (4 KB)
Download 'bob_marbles.jp2.dat' (99 KB)
Preview of image 'bob_marbles.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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}
--
Tek
www.evilsuperbrain.com
Post a reply to this message
Attachments:
Download 'balls.jpg' (66 KB)
Preview of image 'balls.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 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.
Yeah, I could clean up those nearly white pixels by just editing the source
image, but I was too lazy :)
> By the way, nice compression in the code.
Thanks, it's become a habit since entering the short-code contest.
--
Tek
www.evilsuperbrain.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Tek" <tek### [at] evilsuperbraincom> wrote in message
news:4052b27a$1@news.povray.org...
> > 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.
>
> Yeah, I could clean up those nearly white pixels by just editing the
source
> image, but I was too lazy :)
>
> > By the way, nice compression in the code.
>
> Thanks, it's become a habit since entering the short-code contest.
Cool!
--
- Respectfully,
Dan
http://<broken link>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Neato. Not always easy to get a good result with glass tho'.
You can have a lot of fun with variations on this idea:
http://www.peake42.freeserve.co.uk/mosaic.htm
Alf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |