Integrate a image into [jit.world] 's display ?

benjamin vyger's icon

Hi,

I'm trying to position cubes following a perspective drawing on a image.

How can I get this image into the display of [jit.world]?

Thanks for your help.

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

TFL's icon

If you want your image to stay in the background, send it to [jit.gl.layer myWorld @layer 0], and make sure other objects are on a higher layer.

Not sure how it would help for your first goal, however.

benjamin vyger's icon

Thanks

But I have a black picture. I can't use [jit.gl.layer myWorld @layer 0] well. sorry

Max Patch
Copy patch and select New From Clipboard in Max.
TFL's icon

you need to bang your fpic to make it actually send the matrix to jit.gl.layer.

Instead of fpic, you could also use jit.movie or jit.gl.texture with the "read" message, or jit.matrix with the "importmovie" message.


Here are 4 different ways. Obviously, use only one at once.