Le 05/08/2018 à 01:28, oliver a écrit :
cyrille henry wrote:
hello,
you can try [curve3d]
cyrille, jack: thanks a lot for your kind help.
i tried both your suggestions with some success , but i'm not quite there yet.
i attached an example patch providing both methods and problems.
basically [curve3d] works well, with a minor issue that can be worked around. though i don't understand why it's there.
Certainlly because I made a mistake with S T coordinate when I code this object, and you are the 1st one to notice it. I don't know if it's a bug that should be corrected, or a bug that is there for so long that it should stay for compatibility. anyway, the workaround is easy.
best c
the issue is that the applied texture is rotated by 90°. i tried several things to correct it ([pix_flip], [pix_coordinate]) but they all messed up the texture.
========================================================================
the vertex-shader approach of jack produces the shape i was looking for, but unfortunately doesn't allow texture mapping. or at least i wasn't able to figure out how to do it.
thanks for any further thoughts ...
best
oliver
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list