|
![](/i/fill.gif) |
Just playing with a macro to fill an object with objects. Works good as a
background :-)
It uses *very* primitive collision detection. Just checks to see of any of the
8 corners of the bounding box of a new object or it's center is inside() a union
of all previous objects. So there is probably some overlap.
Now, if only I could get my Intersect(A,B) macro to work...
Questions? Comments?
Michael
--
#macro M(D,J)text{ttf"cyrvetic.ttf"D 1,0translate-J}#end#macro N(E,K)#local A=
M(E,K)light_source{-z*30rgb 1projected_through{A}}#end N("Michael"<1.6,-.2,5>)
N("Johnson"<1.9.8,5>)sphere{z*9,4pigment{gradient x+y scale 10color_map{[0 rgb
x][1rgb x+y]}sine_wave}} // (c)2001 Michael D Johnson red### [at] wv adelphia net
Post a reply to this message
Attachments:
Download 'PovedPov.jpg' (41 KB)
Preview of image 'PovedPov.jpg'
![PovedPov.jpg](/povray.binaries.images/attachment/%3C3bf1f674%40news.povray.org%3E/PovedPov.jpg?preview=1)
|
![](/i/fill.gif) |