POV-Ray : Newsgroups : povray.binaries.images : Walter's bones : Re: Walter's bones Server Time
7 Aug 2024 17:22:24 EDT (-0400)
  Re: Walter's bones  
From: B  Gimeno
Date: 4 Jan 2006 07:50:22
Message: <43bbc48e$1@news.povray.org>
--
> Interesting... is the background layered? I suppose so...

not exactly...is a trick that I learned from Shiro Nakayama and TonyB
(http://welcome.to.tonyb) from their "hexagons.inc" file
I took his file and converted all the #declares into a #macro to choose
pigments, basically is:
pigment {
hexagon
pigment {hexagon [tranform...]}
pigment {hexagon[tranform...]}
pigment {hexagon[tranform...]}
}
 see also :
http://news.povray.org/povray.general/thread/%3C43b93de8%241%40news.povray.o
rg%3E/
http://usuarios.lycos.es/game2413/english/checkers.htm
http://usuarios.lycos.es/game2413/english/hexagons.htm


light_source{0,1}#macro C(r,p)cylinder{x*-2,x*2,.9 pigment { rgb
p} /* B Gimeno estoeslarealidad */ rotate p*90 } #end difference
{box {-1,1} C(z /* http://usuarios.lycos.es/game2413 */,x)C(x,y)
C(z,z) pigment{rgb 2} rotate 45 translate z*4} // www.povray.org


Post a reply to this message

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