Re: GEM - looped stripe moving in front of GEM 'camera'

cyrille henry <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
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
> 
> ---
> [email protected] - the Pure Data mailinglist
> https://lists.iem.at/hyperkitty/list/[email protected]/message/CVGMFZKPYH6UWTUJWF2PDCVNG4MOEUFD/
> 
> To unsubscribe send an email to [email protected] mailing list
> UNSUBSCRIBE and account-management -> https://lists.iem.at/


---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/EJ3NAXTP2PAP3VHR4Z653UU63OUBHDXD/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.