Re: [K3d-development] Spline Width/Color and Point Size/Shape
Brought to you by:
barche
From: Esben S. <b0...@es...> - 2009-12-28 08:14:06
|
Esben Stien <b0...@es...> writes: > I'll try to play with making nice control points Well, that's just making a sphere, really. Making it constant size is what's also happening with the Move Tool in move_tool.cpp:226, where you scale the manipulator to show it at a constant size. I guess it's just scaled to the distance between the camera and the object, then divided?. > I don't think it's possible to use gluNurbsCurve here, to draw the > splines. The biggest problem is of course, that it seems to draw the > spline like a thin strip, instead of a tube. I guess the best thing to do is to sweep a profile along gluNurbsCurve, then, to make it tubelike?. I don't think OpenGL supports doing this otherwise?. -- Esben Stien is b0ef@e s a http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@ n n |