POV-Ray : Newsgroups : povray.binaries.images : NURBS : Re: NURBS Server Time
17 May 2024 19:18:30 EDT (-0400)
  Re: NURBS  
From: Le Forgeron
Date: 5 Sep 2016 01:38:38
Message: <57cd04de$1@news.povray.org>
Le 04/09/2016 à 21:47, LanuHum a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
>> Le 04/09/2016 à 20:16, LanuHum a écrit :
>>> #declare ORDER=clock;
>>> #declare DEN=8-ORDER;
>>> #declare OBJE=
>>> nurbs {ORDER,ORDER,7,7,
>>> #for(C,0,1,1)
>>> #for(B,1,ORDER-1,1)
>>> 0,
>>> #end
>>> #for(A,0,1,1/DEN)
>>> A,
>>> #end
>>> #for(B,1,ORDER-1,1)
>>>
>>>
>>> if u != v ???
>>> if nurbs{3,9,3,9} ???
>>> Error.
>>>
>>>
>>>
>>
>> Of course "error", That part describes the know vector for each direction.
>> What did you expect ?
>
> I was expecting a rational decision. If the length is 1000, and the width is
> 0.1. Why do I need the same division?

This is SDL. It was used for that nurbs to generate the knot vectors.

You can use whatever knot vectors you want (as long as valid for knot 
vector).

I won't explain knot vectors.


Post a reply to this message

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