Forums > Jitter

Image or video on a 3d object

January 21, 2012 | 2:58 pm

I have a 3d object, a cube, I am wondering if it’s possible to have a movie or an image on one side of this cube….

Thanx Ben


January 21, 2012 | 4:25 pm

This is what I got so far…But I am stump…

Th

– Pasted Max Patch, click to expand. –

anx


January 22, 2012 | 7:24 pm

set the @texture attribute of you opengl shape to the @name attribute of your jit.gl.texture.

you may also want change shape’s @color from it’s default color of grey, to white, so that the texture shows up clearly on the opengl shape.

if you only want a texture on a single side of the cube, you will probably have to create the cube yourself from plane shapes, or videoplanes.

jit.anim.node and jit.gl.node can be very helpful in positioning several shapes and parenting them to a single location.


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