Send GEM-dev mailing list submissions to
gem-dev@lists.iem.at
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.puredata.info/listinfo/gem-dev
or, via email, send a message with subject or body 'help' to
gem-dev-request@lists.iem.at
You can reach the person managing the list at
gem-dev-owner@lists.iem.at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of GEM-dev digest..."
Today's Topics:
1. [curve 11] prints out "GL: invalid value" (Federico Camara Halac)
2. Re: [curve 11] prints out "GL: invalid value" (cyrille henry)
---------- Messaggio inoltrato ----------
From: Federico Camara Halac <camarafede@gmail.com>
To: gem-dev@lists.iem.at
Cc:
Date: Thu, 9 Feb 2017 17:13:36 -0500
Subject: [GEM-dev] [curve 11] prints out "GL: invalid value"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
---------- Messaggio inoltrato ----------
From: cyrille henry <ch@chnry.net>
To: gem-dev@lists.iem.at
Cc:
Date: Thu, 9 Feb 2017 23:35:33 +0100
Subject: Re: [GEM-dev] [curve 11] prints out "GL: invalid value"
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
_______________________________________________
GEM-dev mailing list
GEM-dev@lists.iem.at
https://lists.puredata.info/listinfo/gem-dev