[GEM-dev] GEM-dev Digest, Vol 112, Issue 3

Dario Pedrioli dariopedrioli at gmail.com
Fri Feb 10 14:27:59 CET 2017


Hi Cyrille,

you wrote:

>>> 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

It's very interesting.
Do you have sample patch for this?

cheers, Dario

PS: your work Egregore is fantastic



2017-02-10 12:00 GMT+01:00 <gem-dev-request at lists.iem.at>:

> Send GEM-dev mailing list submissions to
>         gem-dev at 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 at lists.iem.at
>
> You can reach the person managing the list at
>         gem-dev-owner at 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 at gmail.com>
> To: gem-dev at 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
>
>> fedecamarahalac.com
>
>
>
> ---------- Messaggio inoltrato ----------
> From: cyrille henry <ch at chnry.net>
> To: gem-dev at 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 at lists.iem.at
>> https://lists.puredata.info/listinfo/gem-dev
>>
>>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at lists.iem.at
> https://lists.puredata.info/listinfo/gem-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20170210/22bef4ad/attachment.html>


More information about the GEM-dev mailing list