|
|
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] wvadelphianet
Post a reply to this message
Attachments:
Download 'PovedPov.jpg' (41 KB)
Preview of image 'PovedPov.jpg'
|
|