<div dir="ltr">Hi Cyrille,<div><br></div><div>you wrote:</div><div><br></div><div><span style="font-size:12.8px">>>> what i usualy do, is :</span><br style="font-size:12.8px"><span style="font-size:12.8px">>>> -put points in a table</span><br style="font-size:12.8px"><span style="font-size:12.8px">>>> -interpolate between this points in an other bigger table (using tabread4 / tabwrite for a simple and slow solution)</span><br style="font-size:12.8px"><span style="font-size:12.8px">>>> -draw the big table with a vertexbuffer</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">It's very interesting.</span></div><div><span style="font-size:12.8px">Do you have sample patch for this?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">cheers, Dario</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">PS: your work Egregore is fantastic</span></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-10 12:00 GMT+01:00  <span dir="ltr"><<a href="mailto:gem-dev-request@lists.iem.at" target="_blank">gem-dev-request@lists.iem.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send GEM-dev mailing list submissions to<br>
        <a href="mailto:gem-dev@lists.iem.at">gem-dev@lists.iem.at</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.puredata.info/listinfo/gem-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/gem-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:gem-dev-request@lists.iem.at">gem-dev-request@lists.iem.at</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gem-dev-owner@lists.iem.at">gem-dev-owner@lists.iem.at</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of GEM-dev digest..."<br>
<br>Today's Topics:<br>
<br>
   1. [curve 11] prints out "GL: invalid value" (Federico Camara Halac)<br>
   2. Re: [curve 11] prints out "GL: invalid value" (cyrille henry)<br>
<br><br>---------- Messaggio inoltrato ----------<br>From: Federico Camara Halac <<a href="mailto:camarafede@gmail.com">camarafede@gmail.com</a>><br>To: <a href="mailto:gem-dev@lists.iem.at">gem-dev@lists.iem.at</a><br>Cc: <br>Date: Thu, 9 Feb 2017 17:13:36 -0500<br>Subject: [GEM-dev] [curve 11] prints out "GL: invalid value"<br><div style="word-wrap:break-word">Hi,<div><div><br></div><div>I’m on OSX 10.11.6, Gem working (via deken)</div><div><br></div><div>When rendering is on, this prints out “GL: invalid value” to the console:</div><div><br></div><div>[gemhead]</div><div>|</div><div>[curve 11]</div><div><br></div><div>(or any number above 10)</div><div><br></div><div>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. </div><div><br></div><div>The problem dissapears and [curve] works fine with 10 or less arguments.</div><div><br></div><div>[polygon], however, works correctly, as one would expect with "no maximum number of control-points.”</div><div><br></div><div>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.</div><div><br></div><div>Thanks!</div><div><br></div><div>fd</div><div><br></div><div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">—<br><a href="http://fedecamarahalac.com" target="_blank">fedecamarahalac.com</a></div></div></div></div></div>
</div>
<br></div></div></div><br><br>---------- Messaggio inoltrato ----------<br>From: cyrille henry <<a href="mailto:ch@chnry.net">ch@chnry.net</a>><br>To: <a href="mailto:gem-dev@lists.iem.at">gem-dev@lists.iem.at</a><br>Cc: <br>Date: Thu, 9 Feb 2017 23:35:33 +0100<br>Subject: Re: [GEM-dev] [curve 11] prints out "GL: invalid value"<br>hello,<br>
<br>
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.<br>
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).<br>
<br>
<br>
Usually, people prefers splines. According to wikipedia, the most common spline is cubic B-spline : a piecewise 3rd order Bezier curve.<br>
<br>
unfortunately, there is no "spline" object in Gem.<br>
<br>
what i usualy do, is :<br>
-put points in a table<br>
-interpolate between this points in an other bigger table (using tabread4 / tabwrite for a simple and slow solution)<br>
-draw the big table with a vertexbuffer<br>
<br>
cheers<br>
C<br>
<br>
<br>
Le 09/02/2017 à 23:13, Federico Camara Halac a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I’m on OSX 10.11.6, Gem working (via deken)<br>
<br>
When rendering is on, this prints out “GL: invalid value” to the console:<br>
<br>
[gemhead]<br>
|<br>
[curve 11]<br>
<br>
(or any number above 10)<br>
<br>
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.<br>
<br>
The problem dissapears and [curve] works fine with 10 or less arguments.<br>
<br>
[polygon], however, works correctly, as one would expect with "no maximum number of control-points.”<br>
<br>
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.<br>
<br>
Thanks!<br>
<br>
fd<br>
<br>
—<br>
<a href="http://fedecamarahalac.com" rel="noreferrer" target="_blank">fedecamarahalac.com</a> <<a href="http://fedecamarahalac.com" rel="noreferrer" target="_blank">http://fedecamarahalac.com</a>><br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
GEM-dev mailing list<br>
<a href="mailto:GEM-dev@lists.iem.at" target="_blank">GEM-dev@lists.iem.at</a><br>
<a href="https://lists.puredata.info/listinfo/gem-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/gem-dev</a><br>
<br>
</blockquote>
<br>
<br>
<br>______________________________<wbr>_________________<br>
GEM-dev mailing list<br>
<a href="mailto:GEM-dev@lists.iem.at">GEM-dev@lists.iem.at</a><br>
<a href="https://lists.puredata.info/listinfo/gem-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/gem-dev</a><br>
<br></blockquote></div><br></div>