POV-Ray : Newsgroups : povray.binaries.images : NURBS's : NURBS's Server Time
5 Nov 2024 20:16:47 EST (-0500)
  NURBS's  
From: triple r
Date: 7 Jun 2005 03:40:00
Message: <web.42a54ed6dbe6460920cb1ca60@news.povray.org>
NURBS...  NURBS's... NURBSi...?
Either way, here's the result of some work tonight with a c++ program in
p.b.s.f. to read points and output a single nurbs patch to a uv-mapped
mesh2 file with normals.  Any degree works fine for u and v dimensions.
Parses a simple input file.  Improvements planned, but here it is for now.
Still needs more testing.  Here it is finishing off a fillet nicely with a
10x10 patch, although I don't know the math to find the weight of the
middle point such that everything is perfectly circular.  Let me know if
it's useful at all, otherwise I'll assume the worst...

 - Ricky

Ooh.  Maybe I'll make it so if you leave out weights, it assumes those are 1
also - it already figures out the knot vector if you leave that out.


Post a reply to this message

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