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

Mar 14, 2012 at 3:26pm

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

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!

#62376
Mar 14, 2012 at 4:05pm

hi,
may be this can help

– Pasted Max Patch, click to expand. –
#225311
Mar 14, 2012 at 4:39pm

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.

#225312

You must be logged in to reply to this topic.