Dear List,
I would like to have an image texture moving in front of the gem window from right to left, but when it reaches the right edge of the image I want to loop it and start from the beginning. How is your trick to make such an infinite loop? Problem number two is that I need to split it into 3 gemwindows, to show it on 3 walls synced together the 3 stripes into one big image.
Any hints are welcome.
Best, Popesz
hello,
the most simple is probably to have 2 images. The 1st that move from -scree_size to +screen size (so twice the screen size, since 0 is at the center) (so positon is (time*speed)%(2*screensize)-screensize the 2nd image position is (1st position + screensize) % (2*screensize)
You can create a gemwindow on 3 screen. but if you really need 3 gemwindows, the easiest is probably to render the same thing on the 3 windows and changing only camera coordinate. unless you can render on a big framebuffer and share the texture on the 3 different context (is that working?) and crop the texture to render only a part of it on each screen.
cheers Cyrille
Le 31/03/2025 à 12:29, Csaba Láng a écrit :
Dear List,
I would like to have an image texture moving in front of the gem window from right to left, but when it reaches the right edge of the image I want to loop it and start from the beginning. How is your trick to make such an infinite loop? Problem number two is that I need to split it into 3 gemwindows, to show it on 3 walls synced together the 3 stripes into one big image.
Any hints are welcome.
Best, Popesz
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/CVGMFZKPYH...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
imho, just texturemap a cylinder and rotate it ;) If you make the cylinder big enough you will barely notice the curving of the texture.
Cyrille,
can you send me a simple pd example how you mean the 3 images without framebuffer? I never did it before, and on top of it I have to send out 3 images through NDI, which will be another challenge. Best, Popesz
On Mon, Mar 31, 2025 at 2:01 PM Bastiaan van den Berg buzz@spacedout.nl wrote:
imho, just texturemap a cylinder and rotate it ;) If you make the cylinder big enough you will barely notice the curving of the texture.
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/OPH6ZOIJY4...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/