POV-Ray : Newsgroups : povray.binaries.scene-files : A helix on a sinusoid : Re: A helix on a sinusoid Server Time
1 Sep 2024 10:23:05 EDT (-0400)
  Re: A helix on a sinusoid  
From: sahraoui
Date: 3 Apr 2007 17:05:01
Message: <web.4612c09af3443be2439ba8f00@news.povray.org>
What about this code


#declare ObjectSpline = create_spline (
   array[4] {<-2, 0, 0>, <0, 15, 5>, <2, 1, 0>, <0, 15,5>},
   create_hermite_spline)


//create_spline_object (ObjectSpline, default_options)

union {coil_spline (ObjectSpline, spline_steps (60)
   + spline_radius (1.2)
   + coil_radius (0.05))
   pigment {rgb <1, 0, 0>}
   finish {phong 0.6}
   }

I am still not at ease with splines. Your code also creat a spline right?
where you used sphere_sweep and b_spline
Where can i find a literature about these two commands.

thanks

Mike Williams <nos### [at] econymdemoncouk> wrote:
> In the code listed above, the centre of the helix is at <0,0,0>.
>
> Without the "rotate y*60" z would go from -10*H-R to +10*H+R.
> x and y would go from -(1+R) to 1+R.
>
> --
> Mike Williams
> Gentleman of Leisure


Post a reply to this message

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