Ah, I see what you mean. That's what I was kind of thinking of in the first
place. I'd done the transparency using a pigment_map, but the texture_map is
the trick. I do kind of like the original version with the phong shading on
both the colored and the transparent strips. It looks like a molded piece of
plastic, like a sheet of acetate.
But thanks for the suggestion. I like this version too. Also, the GIF format
does look much better - thanks**2.
"JRG" <jrg### [at] hotmail com> wrote in message
news:3c505862$1@news.povray.org...
> Well, what I meant was just to eliminate the highlighting from the
transparent
> stripes, not from the red ones too. This can be accomplished with a simple
> texture_map.
>
> --
> #local j=text{ttf"arial""JRG".2,0}#local J=0;#while(J<10)#local R=0;#while
> (R<2)#local G=0;#while(G<1)#if(inside(j<R,G.1>))object{j
scale.025translate
> <R-1G-J/20J/-40+2>pigment{rgb<9J>}}#debug"O"#else#debug" "#end#local G=G+
> .025;#end#local R=R+.05;#debug"\n"#end#local J=J+1;#end// JRG
>
> Home: http://digilander.iol.it/jrgpov file://New: Kitchen scene WIP
>
>
>
Post a reply to this message
Attachments:
Download 'RipplePhongStrip.gif' (91 KB)
Preview of image 'RipplePhongStrip.gif'
![RipplePhongStrip.gif](/povray.binaries.images/attachment/%3C3c51f9cf%40news.povray.org%3E/RipplePhongStrip.gif?preview=1)
|