|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Response to my "An Interesting Pigment" post was so good, I decided to
do it completely differently and more readably. Here's the result.
As a bonus, change the definition of A from 0 to 120 to get the effect
Rune put on the floor of his latest illusion pic in .binaries.images.
#declare CubeTiles=pigment {
#local A=0; // use 120 for the hexagonal star effect
#local Z=sqrt(3)/2*z+x;
#local C=array[3]{
pigment{color Gray30}
pigment{color Gray70}
pigment{color White}
}
#local B=pigment{
radial
pigment_map{
#local i=0;
#while(i<3)
[i/3 C[i]][(i+1)/3 C[i]]
#local i=i+1;
#end
}
}
hexagon
pigment {B
translate Z
warp {repeat 3*x}
warp {repeat 1.5*sqrt(3)*z offset 1.5*x}
translate -Z
}
pigment {B
translate Z
warp {repeat 3*x}
warp {repeat 1.5*sqrt(3)*z offset 1.5*x}
translate -Z
rotate -A*y
translate <1.5,0,-sqrt(3)/2>
}
pigment {B
translate Z
warp {repeat 3*x}
warp {repeat 1.5*sqrt(3)*z offset 1.5*x}
translate -Z
rotate A*y
translate <1.5,0,sqrt(3)/2>
}
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ron Parker wrote:
>
> Response to my "An Interesting Pigment" post was so good, I decided to
> do it completely differently and more readably. Here's the result.
> As a bonus, change the definition of A from 0 to 120 to get the effect
> Rune put on the floor of his latest illusion pic in .binaries.images.
No macro control ? It's pretty but not very useful without a macro or two.
;^ }
--
Ken Tyler - 1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Very nice pigment. Other interesting settings are A = 60,240,300.
Alberto
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 19 Oct 1999 14:34:58 -0400, Alberto wrote:
>Very nice pigment. Other interesting settings are A = 60,240,300.
180 is rather interesting, too. 240 is kinda boring; it looks just like
hexagon.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |