|
|
Marc Champagne posts in p.general a picture and a short scene of one
bogus blob for 3.5
I convert it to a scene of 3.1 and try it.
The bug was already there.
The good news is that the bug is due to the 'convex hull optimisation'
(whatever it can be) in the blob code.
The sad news is that I do not understand the math used for this bogus thing.
So, have a look and cry!!!!
Here the code for 3.1:
#version 3.1;
#declare image_width=640;
#declare image_height=640;
global_settings { assumed_gamma 1.0 }
camera {
location <3, 3, -3>
direction 1.5*z
right x*image_width/image_height
look_at <0,1,0>
}
light_source {
<0, -10, -250>
rgb 2
// cylinder
// parallel
//point_at <0,0,0>
}
#declare T = 1 ;
#declare S = 1 ;
blob {
threshold T
sphere { < 0, 0, 0 >, 1, S }
sphere { < -1, 1, 0 >, 1, S }
sphere { < 0, 1, 1 >, 1, S }
sphere { < 0, 1, 0 >, 1, S }
sphere { < 0, 1,-1 >, 1, S }
sphere { < 1, 1, 0 >, 1, S }
sphere { < 0, 2, 0 >, 1, S }
sturm
pigment { rgb < .4, 0, 0 > }
finish { ambient .7 diffuse .3 }
}
#################################
And two images: one from 3.1, and the same from patched code so as to
comment out the optimisation (as suggested during 3.5 beta, french
reader can get more information at
http://jgrimbert.free.fr/pov/correct/blobc.html
)
Have a nice day!
Post a reply to this message
Attachments:
Download 'blob.png' (26 KB)
Download 'blobg+.png' (26 KB)
Preview of image 'blob.png'
Preview of image 'blobg+.png'
|
|