|
|
The intersection of two isosurfaces is now {A | B} and the merge of two
isosurfaces is now {A & B}, whereas in previous betas (and MegaPOV) it
was the other way round.
I guess this is probably as a consequence of fixing the bitwise
functionality of the "&" and "|" operators in functions as reported in:-
Are '&' and '|' swiched?
(when used in a function operating on numbers they have the opposite
effect)
http://news.povray.org/Xns9128A184570B3seed7@povray.org
Perhaps this is the way that the maths works, but the other way round
seems much more intuitive (i.e. that the intersection is those points in
A and in B). If this is the way things are going to be, then the
documentation needs to be switched round to match.
Example: This is a box under betas 1 through 7.
isosurface {
function { (y*y-1) & (x*x-1) & (z*z-1) }
max_gradient 3
contained_by{sphere{0,2.5}}
pigment {rgb 1}
}
camera { location <3,3,-5> look_at <0, 0, 0>}
sky_sphere { pigment {
function{abs(y)}
color_map { [0.0 color blue 0.6] [1.0 color rgb 1] }
}
}
light_source {<100,200,-100> colour rgb 1}
POV 3.5b8, Win 98se, Celeron II 850, 128 Mb
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|