|
|
On Mon, 12 Aug 2002 10:51:40 +0200, ABX <abx### [at] babilonorg> wrote:
> The same appear when function of spline is used in
> isosurface.
Here is sample script for isosurface case. So, any confirmation of this bug ?
<SDL>
#version 3.5;
#include "functions.inc"
#declare Spline=spline{linear_spline -1 0 0 1 1 0};
#declare f_Spline=function{spline{Spline}};
#declare f_Imitation=function(Y){max(1-abs(Y),0)};
union{
// how it looks - it differs between renders
isosurface{
function{f_r(x,0,z)-f_Spline(y).x}
contained_by{sphere{0 1}}
translate x
}
// how it should look - it should be "glued cones"
isosurface{
function{f_r(x,0,z)-f_Imitation(y)}
contained_by{sphere{0 1}}
translate -x
}
pigment{rgb 1}
translate z*3
}
light_source{1e3*<-9,-5,-9> 1}
background{1}
</SDL>
ABX
Post a reply to this message
|
|