[PD] Gem - how to get a concave/convex plane
oliver
oliver at klingt.org
Sat Aug 4 11:20:00 CEST 2018
Jack wrote:
> For me, the simplest way to achieve this, is to use a mesh square with
> shaders. Take a look at exemples in Gem and shaders and how to move
> vertices in model view.
Hi, Jack ! thanks a lot for your suggestion.
Unfortunately my my shader/glsl skills are very limited and so is the
documentation of [mesh_square] or [glsl_vertex]...
[mesh_square]-help just says:
"This object is usefull when working with vertex_shader."
do you (or anybody here) know any example patches that demonstrate the
approach to creating an arbitrary plane with [mesh_square] ?
(the GLSL example patches don't really seem to be pointing that out.)
i also tried the geometry help patch from GEM examples, but this gives
me an error:
[glsl_geometry]: compile Info_log:
[glsl_geometry]: ERROR: 0:17: 'gl_VerticesIn' : undeclared identifier
best
oliver
> ++
>
> Jack
>
>
> Le 03/08/2018 à 17:02, oliver a écrit :
>> Hi, dear list !
>>
>> I am looking for a Geo, that looks like a distorted plane, in particular
>> a "concave" or "convex" plane as shown in this .jpg:
>>
>> https://wolke.klingt.org/index.php/s/QO7Vb5UDNn42CG9
>>
>> can anybody hint me to a way that this can be done in Gem ?
>>
>> the "convex" version seems easier, it's more or less a scaled cylinder,
>> but i can't ssem to achieve the "concave" version with this Geo.
>>
>> Best
>>
>> Oliver
>>
>>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>
--
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/////////////// http://pendler.klingt.org //////////////
\\\\\\\\\\\\\\\ http://oliver.klingt.org \\\\\\\\\\\\\\
////////////////////////////////////////////////////////
More information about the Pd-list
mailing list