|
|
a second set of images, I think here it's clearer what's happening :)
First the object without subdivision, then 3 times subdivided, then 5 times
subdivided but with normal triangles. As you can see, the lighting on the
bottom object is almost identical as the one on the first two, this means
the geometry of the third object is the implied geometry of the first.
cu!
--
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x) // ZK http://www.povplace.com
Post a reply to this message
Attachments:
Download 'subdivisiontest2.jpg' (53 KB)
Preview of image 'subdivisiontest2.jpg'
|
|