Hi,
I’m on OSX 10.11.6, Gem working (via deken)
When rendering is on, this prints out “GL: invalid value” to the console:
[gemhead] | [curve 11]
(or any number above 10)
The curve object with its inlets create accordingly, but there is nothing displaying on the gemwin. The same happens if I send a list of > 10 xyz triplets to a rendering [curve] without argument.
The problem dissapears and [curve] works fine with 10 or less arguments.
[polygon], however, works correctly, as one would expect with "no maximum number of control-points.”
Anyway, not a huge deal but I’m wondering if either there is a solution of I’m doing something wrong, like assuming unlimited points in bezier curves are a thing.
Thanks!
fd
— fedecamarahalac.com
hello,
A Bezier curve did not pass throw the control point, and Bezier curve with lot's of control points are very slow to compute. So high order Bezier curve are not very common. the curve object compute the interpolation by the GPU, so the limit is a hardware limit (the "GL: invalid value" is a hardware error, not a Gem one).
Usually, people prefers splines. According to wikipedia, the most common spline is cubic B-spline : a piecewise 3rd order Bezier curve.
unfortunately, there is no "spline" object in Gem.
what i usualy do, is : -put points in a table -interpolate between this points in an other bigger table (using tabread4 / tabwrite for a simple and slow solution) -draw the big table with a vertexbuffer
cheers C
Le 09/02/2017 à 23:13, Federico Camara Halac a écrit :
Hi,
I’m on OSX 10.11.6, Gem working (via deken)
When rendering is on, this prints out “GL: invalid value” to the console:
[gemhead] | [curve 11]
(or any number above 10)
The curve object with its inlets create accordingly, but there is nothing displaying on the gemwin. The same happens if I send a list of > 10 xyz triplets to a rendering [curve] without argument.
The problem dissapears and [curve] works fine with 10 or less arguments.
[polygon], however, works correctly, as one would expect with "no maximum number of control-points.”
Anyway, not a huge deal but I’m wondering if either there is a solution of I’m doing something wrong, like assuming unlimited points in bezier curves are a thing.
Thanks!
fd
— fedecamarahalac.com http://fedecamarahalac.com
GEM-dev mailing list GEM-dev@lists.iem.at https://lists.puredata.info/listinfo/gem-dev