POV-Ray : Newsgroups : povray.binaries.images : NURBS macro test : NURBS macro test Server Time
7 Aug 2024 13:18:50 EDT (-0400)
  NURBS macro test  
From: Jaap
Date: 19 Feb 2006 13:00:01
Message: <web.43f8b12d25e72a0a8399d8d0@news.povray.org>
testing my NURBS macro.

I would like to use Rhino 3D to model povray splines, But the NURBS used in
Rhino 3D turned out to be very different from the splines in povray. Just
using the vertexes as a natural spline in povray gave very different
results inbetween the vertexes. To make sure that Povray did exactly what I
had drawn in Rhino, i wrote a litlle NURBS sampling macro for povray.

it's in povray.text.scene-files
it should do NURBS of any order. (may get a bit slow)

(note: that the spline "re-indexing" (for constant speed) is not included)

jaap.


Post a reply to this message


Attachments:
Download 'nurbs_test.png' (37 KB)

Preview of image 'nurbs_test.png'
nurbs_test.png


 

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