POV-Ray : Newsgroups : povray.binaries.images : NURBS macro test Server Time
7 Aug 2024 15:20:39 EDT (-0400)
  NURBS macro test (Message 1 to 3 of 3)  
From: Jaap
Subject: NURBS macro test
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


 

From: somebody
Subject: Re: NURBS macro test
Date: 19 Feb 2006 18:32:13
Message: <43f8fffd$1@news.povray.org>
"Jaap" <jws### [at] yahoocom> wrote

> 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.

Did you try "ConvertToBeziers" in Rhino?


Post a reply to this message

From: Jaap
Subject: Re: NURBS macro test
Date: 19 Feb 2006 19:05:00
Message: <web.43f90704e405db1ca8399d8d0@news.povray.org>
"somebody" <x### [at] ycom> wrote:
> Did you try "ConvertToBeziers" in Rhino?

Ehh... no. I did try to draw bezier curves, but could not find how to do it.
I will give it a try.


Post a reply to this message

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