Texture mapping 3D object with video

Anthony Palomba's icon

I am sure this has come up before, but I am finding it hard to pinpoint an exact example
in the multitude of threads that a forum search brings up.

I want to texture map a video on the a 3d object. Is there a simple example or
jitter recipe out there that demonstrates this?

Thanks,
Anthony

Rob Ramirez's icon

just set the texture attribute of the 3d object to the name attribute of a gl.texture.

alternatively, use jit.gl.material, and the diffuse_texture input.

Anthony Palomba's icon

Actually, the help file for jit.gl.texture does exactly what I need.

Eric Souther's icon

I can't seem to get jit.gl.texture to work when I use @matrixoutput 1, which I need to be the case for another process, what am I missing?

Rob Ramirez's icon

please post a patch demonstrating your question

phiol's icon

what Rob said,

post a past to create a context for us to help :-)

In the mean time , to be literal (but pointless and redundant) , here is a way to see texture with @matrixoutput 1

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

Eric Souther's icon

Here is the patch I'm trying to get to work, I'm not using jit.world. I'd like the texture of the video to go over both obj files as I'm transitioning between them.

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

phiol's icon

something of the sorts but with model ?

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

Christopher Dobrian's icon
Eric Souther's icon

PHIOL, Thank you for your response, I tried implementing your example with jit.gl.model and it's like the meshes are being overdrawn by the background, doesn't seem to work.

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

phiol's icon

all that I've changed is in red and explained

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

phiol's icon

here is a version where you resize the mushroom

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

Eric Souther's icon

PHIOL, WOW!! Thank you, I'm still catching up to the new Jit.world world. I'm working on building it out at the moment.

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