"Loop" an image tile [closed]
Hey all,
So I'm using opencv with the allegro game library to aid me in generating procedural content. One quest I had was if I have a water tile Mat image, is there a way to "offset" it so it appears to be moving in a particular direction? Any suggestions on where to get started on something like this would be greatly appreciated. There are water tile images essentially and I want to be able to cycle them. Thanks for the help!
If I haven't been concise enough please let me know. I've been coding for about 15 hours and my brain is kind of fried at this point
Cheers!
To be more precise I'd like to create about 5-10 frames of it to cycle through in real time
May be this
That's an interesting approach. How would I go about starting to do this? (opencv beginner here)
this is probably not a job for opencv, but more one for your game-engine, where you'd just move texcoords from a fragment shader