Aug 20, 2007 at 12:33pm
i have a few vids on one gl plane, using the orthographic view. i want to move the plane on the x and y axis but don’t want to use the position property of the plane as that is how i’m sticking so many vids as textures to it.
so i thought the easiest way to do it would be to move the camera but i’m not having much luck. the camera and lookat properties rotate not translate. and gltranslate seems to only work with jit.gl.sketch
i assume someone must have tackled this before even though i can’t seem to find a solution. any help HUGELY appreciated.
Aug 20, 2007 at 2:14pm
Moving the camera actually does just that, but it can appear to be a type of rotation if you move the camera while keeping the lookat point constant. Stare at your mouse, and then move your head to the far left or right while continuing to look at the mouse. That’s what’s happening. You have to simultaneously change your lookat point as well if you don’t want the above effect.
I just posted an abstraction that does this and more here:
But here’s a simpler version doing what you want (not in orthographic view mode though):
Aug 20, 2007 at 2:26pm
aha! thanks Zachary,
look forward to taking a look at that abstraction too,
You must be logged in to reply to this topic.