> "Bob H." wrote:
> > I refuse to believe this is a 2D object or image_map
> > until you give proof.
If it were 3D, the various corners would not line up so consistently.
Ken wrote:
> #declare MysteryPigmentII=
> pigment{#local C=array[6]{
>
> pigment{P1}
> pigment{P1}
> pigment{P2}
> pigment{P2}
> pigment{P3}
> pigment{P3}}
>
> #local T=sqrt(3);#local B=pigment{radial pigment_map{ #local i=0;
> #while(i<6)[i/6 C[i]][(i+1)/6 C[i]]#local i=i+1;#end}}radial
> pigment_map{#local i=0;#while(i<6)#local a=(i+.5)*60*y;#local G=1.5*T;[i/6
> gradient x pigment_map{[1/3 B scale 1/G rotate -a][1/3 B translate vrotate(
> T*x, a)rotate -a scale 1/G]}scale G rotate a][(i+1)/6 gradient x pigment_map{
> [1/3 B scale 1/G rotate -a][1/3 B translate vrotate(T*x,a)rotate -a scale
> 1/G]}scale G rotate a]#local i=i+1;#end}translate x warp{repeat 5*x}warp{
> repeat T*z}scale .5}
Oy. How can you work with that?!
--
Anton Sherwood -- br0### [at] p0b0x com -- http://ogre.nu/
Post a reply to this message
|