|
|
"LanuHum" <Lan### [at] yandexru> wrote:
> Something doesn't coincide.:(
> #version 3.7;
>
> #include "shapes.inc"
> #include "functions.inc"
> global_settings {
> assumed_gamma 1.000000
> }
> sky_sphere {
> pigment {rgb<0.050, 0.050, 0.050>}
> }
>
> #declare Default_texture = texture{pigment {rgb 0.8}}
>
> #declare Material = texture{
> pigment{color rgbft <0.8000,0.0127,0.0332,0.0000,0.0000>}
> }
> #declare Material_001 = texture{
> pigment{color rgbft <0.0123,0.0084,0.8000,0.0000,0.0000>}
> }
> #declare Material_002 = texture{
> pigment{color rgbft <0.0803,0.8000,0.0184,0.0000,0.0000>}
> }
> #declare Material_003 = texture{
> pigment{color rgbft <0.6392,0.8000,0.5126,0.0000,0.0000>}
> }
> #declare data_Cylinder_shape_002_ob = cylinder { <0,0,1>,<0,0,-1>,1
> }
> #declare data_Cylinder_shape_001_ob = cylinder { <0,0,1>,<0,0,-1>,1
> }
> #declare data_Cylinder_shape_ob = cylinder { <0,0,1>,<0,0,-1>,1
> }
> union {
> }
> #declare BezierCurve_bezier_points = array[8]{
> <-1,0><-0.5,0.5><0,0><1,0>
> <1,0><2,0><-0.2001,0.2996><0.7999,0.2996>
> }
> #include "bezier_spheresweep.inc"
> #declare data_BezierCurve_ob = object{Shape_Bezierpoints_Sphere_Sweep(20,
> BezierCurve_bezier_points, 0.02)
> texture {Material_003}
> }
> object {data_Cylinder_shape_002_ob
> texture {Material}
> matrix <-0.000000, -0.000000, -0.034897, 0.000000, 0.034897, -0.000000,
> 14.249066, -0.000001, -0.000001, 0.000000, 0.000000, 0.000000>
> }
>
> object {data_Cylinder_shape_001_ob
> texture {Material_002}
> matrix <0.034897, 0.000000, 0.000000, 0.000000, 0.034897, 0.000000,
> 0.000000, 0.000000, 10.180943, 0.000000, 0.000000, 0.000000>
> }
>
> object {data_Cylinder_shape_ob
> texture {Material_001}
> matrix <0.034897, 0.000000, 0.000000, 0.000000, -0.000000, -0.034897,
> 0.000000, 3.339409, -0.000000, 0.000000, 0.000000, 0.000000>
> }
>
> object {data_BezierCurve_ob
> texture {Material_003}
> matrix <4.031789, 0.000000, 0.000000, 0.000000, 2.190180, -3.385031,
> 0.000000, 3.385031, 2.190180, 0.000000, 0.000000, 0.000000>
> }
>
> light_source {
> <5.07,5.58,4.28>
> color rgb<1, 1, 1>
> fade_distance 25.0000000000
> fade_power 1
> }
> camera {
> perspective
> location <0,0,0>
> look_at <0,0,-1>
> right <-1.7777777777777777, 0, 0>
> up <0, 1, 0>
> angle 49.134343
> rotate <-27.098163, 46.688390, -0.903519>
> translate <7.481132, 5.343666, 6.507640>
> }
union{
sphere{
<-1,0>, 0.05
}
sphere{
<1,0>, 0.05
}
sphere{
<1,0>, 0.05
}
sphere{
<0.7999,0.2996>, 0.05
}
pigment{rgb 0.5}
matrix <4.031789, 0.000000, 0.000000, 0.000000, 2.190180,
-3.385031,0.000000, 3.385031, 2.190180, 0.000000, 0.000000, 0.000000>
}
??
I'm not sure what causes this, but I drew some spheres in addition, it fits the
terminals of the curve. Or you actually drew three dimension coordinates but you
output just two dimension coordinate data?
Post a reply to this message
Attachments:
Download 'bezier_sweep_test2.png' (78 KB)
Preview of image 'bezier_sweep_test2.png'
|
|