POV-Ray : Newsgroups : povray.binaries.images : "Bob" marbles [jpeg2000 + std tn] Server Time
14 Nov 2024 10:18:30 EST (-0500)
  "Bob" marbles [jpeg2000 + std tn] (Message 1 to 6 of 6)  
From: IMBJR
Subject: "Bob" marbles [jpeg2000 + std tn]
Date: 10 Mar 2004 17:47:06
Message: <mt3v40tss71iqkg3a8b1qmrqbt5efmcceg@4ax.com>


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'
bob_marbles.jpg

From: Tek
Subject: Re: "Bob" marbles [jpeg2000 + std tn]
Date: 11 Mar 2004 23:02:45
Message: <40513665@news.povray.org>
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'
balls.jpg


 

From: IMBJR
Subject: Re: "Bob" marbles [jpeg2000 + std tn]
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

From: Tek
Subject: Re: "Bob" marbles [jpeg2000 + std tn]
Date: 13 Mar 2004 02:04:26
Message: <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.

-- 
Tek
www.evilsuperbrain.com


Post a reply to this message

From: Dan P
Subject: Re: "Bob" marbles [jpeg2000 + std tn]
Date: 13 Mar 2004 19:32:30
Message: <4053a81e$1@news.povray.org>
"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

From: Alf Peake
Subject: Re: "Bob" marbles [jpeg2000 + std tn]
Date: 14 Mar 2004 09:34:03
Message: <40546d5b@news.povray.org>
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

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