07-30-2012 10:32 AM
Hi
How do I control the camera with variables (x,y,z) in my 3d picture control box- my functionallity is to follow a box that is moving.
For now I just want to figure out how to get a camera to move without moving it manually with with a mouse.
Thanks in advance
07-30-2012 02:34 PM
Are you doing some sort of image tracking? You might want to explain a little bit more about what hardware you are using and or post your current vi. Without knowing details of what exactly you are doing and the hardware you are using all I can suggest is, saving the start position (x,y) of object image, get some cheap distance sensor and get the (z) and then in a loop keep camparing if the current location is different than previous. if there is change in any coordinate, use the delta (change in cordinates) and use some servo motor to change the camara angle based upon the change that you just measured.
07-30-2012 03:23 PM
08-01-2012 11:12 AM
Use the "image view matrix" property.
Google that term to learn how to use it since it is a OpenGL property.
Ben
08-01-2012 11:47 AM
@Ben wrote:
Use the "
imagemodel view matrix" property.
Google that term to learn how to use it since it is a OpenGL property.
Ben