Texturing GL objects with movies/images

Felix Ashworth's icon

Hi guys,

I’ve been refamiliarising myself with Max, after taking a course in it a couple of years ago, and as part of that I wanted to get a sense of Jitter. One resource I’ve found useful, although old, is Paul Schuette’s Demystifying Max/MSP (https://www.paulschuette.com/wp-content/uploads/2013/01/DEMYSTIFYING-MAXMSP.pdf). The only thing I’ve come across that I flat out cannot get to work is on page 44, I’ve copied the paragraph below:

“There is one way, and only one way, in which you can meld the two halves of Jitter. jit.gl.render can create a "texture" on an object out of a still or moving image.”

I’ve tried to build this just as in the patch, didn’t work; I can get a clip to play out of the jit.qt.movie object (also tried a jit.movie object); and troubleshooting via print shows me that the right messages are coming out — but jit.gl.render just isn’t taking the texture and applying it to the shape. I’ve tried YouTube videos, Max’s built-in tutorials, everything I can find, and I don’t doubt the answer is there, I just can’t work it out.

I’ve put panels behind the pieces of code that (as far as I can tell) are the relevant ones.

Any help on this would be much appreciated!

TL;DR — can’t work out how to get a texture onto a rendered object, even though all the right messages seem to be sending (but I'm new to Jitter).

Movie Texture Puzzle.maxpat
Max Patch

Wil's icon

Some things have changed since then. Here are some basic changes.

Max Patch
Copy patch and select New From Clipboard in Max.