POV-Ray : Newsgroups : povray.general : Nurbs ? : Re: Nurbs ? Server Time
7 Aug 2024 21:18:38 EDT (-0400)
  Re: Nurbs ?  
From: Nekar Xenos
Date: 1 Jun 2001 10:28:30
Message: <3b17a68e@news.povray.org>
Here's the answer I got when I asked a similar question some time ago:


> If anyone knows the Equations for NURBS, I'd be very grateful.

NURBS = Non Uniform Rational B-Splines, aka Bezier Patches, Bicubic Patches,
etc.  It's all the same stuff.
...Chambers


--
/* Nekar Xenos */#local N=<-20,40,100>;#local K=<20,-40,100>;#local R=seed(0);
blob{#while((K-N).x>0)#local X=N;#local N=N+<rand(R),rand(R),1>/3;#local N=(
vlength(N-K)<vlength(X-K)?N:2*X-N);sphere{<N.y,-N.x,N.z>,1,1 scale .02}sphere{N
,1,1 scale.02}sphere{<-N.x-40,N.y,N.z>1,1 scale.01}sphere{<N.x+40,-N.y,N.z>1,1
scale.01 }#end pigment{rgbt 1}interior{media{emission <2,4,5>*5}}hollow}


Post a reply to this message

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