Forums > Jitter

Different textures for multiple sides of an opencube in open gl?

March 14, 2012 | 3:26 pm

Does anyone know an easy way to texture a different movie to each side of an opencube? For instance, if you are using the jit.gl.grideshape with opencube as your shape, instead of using jit.gl.texture to apply the same video on all of the different sides of the shape, can you designate one side of the cube to be textured with movieA and another side of the cube to be textured with movieB? Thank you for your help!


March 14, 2012 | 4:05 pm

hi,
may be this can help

– Pasted Max Patch, click to expand. –

March 14, 2012 | 4:39 pm

Hi Matmat, This is terrific – I’ve never used that jit.anim.node object before. Very slick!! Can’t thank you enough for your help.


Viewing 3 posts - 1 through 3 (of 3 total)