Hello,

Shader did not work in the pix_domain. They work in the GPU, that's why they 
are so fast.
You should render your image in a framebuffer, and use that texture for 
feedback. This keep the feedback loop in the GPU.

You don't need a shader for something as simple as a zoom, but shaders can be 
used for more complex effect.

I made a pull request with a feedback example. you can download it here :
https://github.com/umlaeute/Gem/pull/507/commits/10c451b940d460397b34a467a5d59198de6c86e4

cheers
C

Le 28/06/2025 à 07:40, Peter P. a écrit :
* cyrille henry <c...@chnry.net> [2025-06-27 11:44]:
hello,

pix_zoom was developed a long time ago, and the help file says it is still 
experimental.
I don't have any error sending 1 or 2 value. I think it should work with 
pix_draw, but I'm unable to make it work.
Today I can't seem to reproduce the "argument number out of range"
error. But zooming does not work as you say.

I think it should be deprecated.
Can image zooming be done using shaders within the pix_* domain?
Do you want to do something specific?
I am feeding back pixes using pix_storage and want to place pix_zoom
into the feedback loop.

Merci!
P

---
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/IJA2LIHZANP7F3FXFLFGUW2OW7LWT2T4/

To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/



---
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/VFF5V5A7QVOM5PKTMBQVMXO7PBIOQGAZ/

To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

Reply via email to