Hiding edge of movies on OpenGl shape.
Hello everyone,
I'm sure I'm missing something really obvious here, but I've been away from Jitter for quite a while and can't seem to find my way out of this.
The issue has to do with the way movies wrap around OpenGL objects. My patch has a torus rotated 90 degrees so that it's laying on its side, looking more like an oval. As it is now, the upper and bottom edges of the movie meet along the "front" resulting in what looks like a seam or edge where the top and the bottom of the movie meet. I'd like to go for a seamless look. How do I hide that seam or control where it is, so that it's on the "far side" of the torus?
Any help will be greatly appreciated. Thanks in advance.
Gest
You can try to mess with the tex attributes of the gridshape (although for some reason it seems to also affect the texture preview in jit.pwindow, which seems like a bug?)
Pretty sure there are better approaches though!
Hello TFL,
That is exactly what I was looking for! I knew that I had seen it somewhere long ago, but for the life of me I couldn't find it. Your solution totally did the trick. Many, many thanks!
an alternative approach is to use jit.fx.rota @zoom .5 .5 in mirroring boundmode.
still more options if you use jit.geom.shape as your source (the texture mapping coordinates of a torus shape are different from the gridshape), and then further options if you insert a geom.texmap into that chain.