POV-Ray : Newsgroups : povray.beta-test.binaries : Catmull-Rom spline bounded by its Bezier control points Server Time
29 Apr 2024 08:32:36 EDT (-0400)
  Catmull-Rom spline bounded by its Bezier control points (Message 1 to 1 of 1)  
From: Gleb
Subject: Catmull-Rom spline bounded by its Bezier control points
Date: 10 May 2002 16:28:37
Message: <3cdc2d75$1@news.povray.org>
This is a code and example image for subj.
It seems that it is necessary to take into account
not only the radius at particular control point,
but radii of its neighbours too.

Can anyone test this code?

Calculations are simple and I hope
it is not difficult to rewrite this code in C
in case it will be found useful.

Any comments?

Gleb


Post a reply to this message


Attachments:
Download 'crBounds.pov.txt' (4 KB) Download 'crBounds.jpg' (13 KB)

Preview of image 'crBounds.jpg'
crBounds.jpg


 

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