|
![](/i/fill.gif) |
On 25 May 2002 18:08:09 -0400, ingo wrote:
> And this as an inspiration for Ron:
> http://glinda.lrsm.upenn.edu/~weeks/software/quasic.html
I'll bet you all thought I was dead.
This is pretty, but unfortunately the algorithm he describes doesn't seem to
lend itself to arbitrary evaluation like we need for procedural textures.
However, it seems to be related to the fact that a Penrose tiling is the
projection of a 5-dimensional lattice onto a 2-dimensional plane with a
specific rotation with respect to the lattice. For a procedural texture, of
course, one might choose instead to use the projection of a 5-dimensional
lattice onto a 3-dimensional space.
--
#macro R(L P)sphere{L __}cylinder{L P __}#end#macro P(_1)union{R(z+_ z)R(-z _-z)
R(_-z*3_+z)torus{1__ clipped_by{plane{_ 0}}}translate z+_1}#end#macro S(_)9-(_1-
_)*(_1-_)#end#macro Z(_1 _ __)union{P(_)P(-_)R(y-z-1_)translate.1*_1-y*8pigment{
rgb<S(7)S(5)S(3)>}}#if(_1)Z(_1-__,_,__)#end#end Z(10x*-2,.2)camera{rotate x*90}
Post a reply to this message
|
![](/i/fill.gif) |