On Jan 26, 2010, at 10:14 AM, gabor papp wrote:
Thanks for that, but there's still an oddity - there are 3 extra
rows?
oh, yes. sorry, i forgot about that. there are some extra control
points for nurbs surfaces. it's a bit confusing, so i was suggesting
some time ago to make smaller surfaces, but stick to the pdata size
the user requires. for example for nurbs planes you get +1 rows and
columns.
Yeah, I like this idea. Otherwise it gets messy.
So, the corrected version is below, but this isn't exactly what I'd
want - I want to be able to set the number of rows beforehand.
Hmm...
i think you can solve it by making the list (+ dim 3) size:
(define vals (build-list (+ dims 3) (lambda (n) (rndf))))
The trouble is, I want to fit the surface dimensions to a specific
audio buffer size, so I need the number of control points to fit a
certain number, rather than the other way around.
Thanks
Evan