Hello Peter, Thanks for your answer.
sorry if the unconnected [t a a] mislead you. The question is not how to apply a texture to 2 squares. The question is why the texture is not apply to both square?
The 2 side of the patch create exactly the same gemchain, and should behave identical. They are not.
[trigger] are usually transparent in a gemchain. This is the only counterexample I am aware. It also mean that you can't adapt my L-System example (02.Advanced/21.basic_LSystem), or Claude recursion tutorial (example/13.recursion) to use texture.
So, I think it's a bug, and I'm wondering if this behaviours change, since I never experience it. but I'm waiting for Iohannes opinion.
Here is another example, using [gemlist] that should have worked, imho.
Cheers C P.S, I keep this thread to the list.
Le 16/04/2024 à 10:11, Peter Venus a écrit :
Hi
I checked your patch, and as i could see there where some connections missing? So I am not quite sure if this missing connections/objects on the left side have been intentional. I could apply a texture to 2 squares with the texture-chain split by [t a a] see the attached file
all best,
Peter
On 15/04/2024 16:10, cyrille henry wrote:
hello, I always assume that you can split a gemchain using trigger. Lot's of my patch are using this feature. I just discover that it's not working with pix_texture. I don't know if it's a bug, or if there is a good explanation. Can someone have a look a the attachment, and tell me why the texture is not display on the left square?
thanks Cheers
c
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Le 16 avr. 2024 à 10:51, cyrille henry ch@chnry.net a écrit :
So, I think it's a bug, and I'm wondering if this behaviours change, since I never experience it. but I'm waiting for Iohannes opinion.
This quite interesting to have a look in Gem source files, my guess is that image buffer couldn't be in gemstate, so I'm not sure it's a bug.
Le 16 avr. 2024 à 10:51, cyrille henry ch@chnry.net a écrit :
[trigger] are usually transparent in a gemchain. This is the only counterexample I am aware. It also mean that you can't adapt my L-System example (02.Advanced/21.basic_LSystem), or Claude recursion tutorial (example/13.recursion) to use texture.
I did once recursion with textures, but I had to use pix_data to retrieve textured pixels.
best regards
pat
On 4/16/24 14:56, Patko nytkophilus wrote:
Le 16 avr. 2024 à 10:51, cyrille henry ch@chnry.net a écrit :
[trigger] are usually transparent in a gemchain. This is the only counterexample I am aware. It also mean that you can't adapt my L-System example (02.Advanced/21.basic_LSystem), or Claude recursion tutorial (example/13.recursion) to use texture.
I did once recursion with textures, but I had to use pix_data to retrieve textured pixels.
the proper way is of course to use [pix_texture] to share a texture between different subtrees.
mdfs IOhannes