POV-Ray : Newsgroups : povray.newusers : bezier curves problem : bezier curves problem Server Time
2 Nov 2024 07:24:10 EDT (-0400)
  bezier curves problem  
From: Kurts
Date: 3 Jul 2004 09:04:58
Message: <kurtzlepirate-3ECAB0.15045603072004@news.povray.org>
hi,

i have some trouble with 'bezier' curves. same set of points used in 'prism'
and in 'sphere_sweep' give not the same curve.

#declare courbe = prism {
  bezier_spline
  0, r,
  60,
  p1, p2, p3, ..., p60
  }

#declare spheres = sphere_sweep {
  b_spline,
  60+3,
  p1,r
  p2,r
  p3,r
  ...
  p60, r
  p1, r // for closing the curve
  p2, r
  p3, r
  }

please see image in "povray.binaries.images : bezier curves problem"

what do you think about that ?
where is my mistake ?

@+
louis


Post a reply to this message

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