POV-Ray : Newsgroups : povray.binaries.images : LanuHum, I cannot convert bezier spline to cubic spline : Re: LanuHum, I cannot convert bezier spline to cubic spline Server Time
16 May 2024 17:17:43 EDT (-0400)
  Re: LanuHum, I cannot convert bezier spline to cubic spline  
From: And
Date: 16 Aug 2015 13:50:00
Message: <web.55d0ccbba4f6ca688423d9aa0@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
> > Another picture:
>
> It gives to hope!

Oh, this is just like Cousin Ricky's sphere sweep macro. I spend some time
studying it. Thanks to him.

This is not the 'sphere_sweep' object of povray, it just a union. The union
contains some spheres and cylinders.


If you want to add to your scene:

//-------------------------------
#include "bezier_spheresweep.inc"

#declare my_bezier_points =
array[8]{
<0, 0, 0>, <0.2, 0.3, 0.1>, <0.6, 0.1, 0>, <1, 0, 0>,
<1, 0, 0>, <1, -0.5, 0>, <1.2, -0.5, 0.5>, <1.6, -0.6, 0.8>
}





object{
Shape_Bezierpoints_Sphere_Sweep(20, my_bezier_points, 0.02)
    pigment{rgb<0.1,0.2,0.2>}
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.