z axis position having no effect over picture
Hi!
I am sending a pic through fpic to a jit.gl.videoplane and trying to control the pic position in the jit.world. There is no problem when I change the x and y axis, but z axis have no effect at all. It seems very straightforward, but it doesn´t do anything. Maybe someone can help me to understand what is going on?
How are you visualizing the fpic in jit.word? I would use jit.gl.videoplane and control the XYZ position through the position attribute.
If you post the patch, helping should be easier.
I am using the position attribute to control de position, but only x and y axis are reacting, and z have no effect.
You should disable @preserve_aspect and manually compute the scaling factors:
@preserve_aspect keeps the videoplane’s on-screen size constant. Since moving the videoplane forward or backward would change its apparent size when using a non-orthographic camera, any Z-axis displacement has no visible effect.