Forums > Jitter

jit.gl.nurbs ctrlmatrix


baz
October 24, 2009 | 7:08 pm

Hi all,
I want to make a cylinder that can be easily deformed – bending just like a cheesy vj animation of traveling through a tube. I thought jit.gl.nurbs would be a good place to start. Problem is the nurbs always conforms to the first and last control points, making it impossible to create a cylinder. Unless I’m missing something?
If I can’t use nurbs, it would seem to make sense to use a shader to manipulate select vertices of a cylinder, but as far as I can tell shaders manipulate all vertices at once.
Huge thanks in advance if anyone can help me achieve this.
Cheers,
Baz



baz
October 24, 2009 | 9:42 pm

I figured out the answer – I had to close on both x and y axis (message "closed 1 1"). This smoothly joins the nurbs surface between first and last points in the control matrix. Don’t really understand, but hey – it works!
baz


Viewing 2 posts - 1 through 2 (of 2 total)