HI Guys
Im wondering if anyone can explain something to me or just let me know the "standard" way of doing this. Im new to 3D programming and i would like to get some advice on the whole navigating in 3d thing.. What i want to do is pretty simple, i want to place an object (just a line for now) on the origin of the 3d plane going up in the z direction. i then want to place the point cloud i have from a kinect in the 3d space. I know the offset from the origin in the real world as well as the rotations of the camera in the real world. no this is where im not to sure about how this is done normally.
As i understand so far. the camera is at the origin, and most programs i have seen translate the "subject they are wanting to see away from the origin. so the camera always stays stationary. i have seen the camera functions and havent had much success with it. what i thought of doing was to draw my "subject" at the origin, then pushmatrix() and translate to the Kinect origin and draw the point cloud then popmatrix() and set the camera to a position i want and point it at the origin. is this the right way? i have tried it and it doesnt seem to work.
Is it easier to leave the camera at (0,0,0,) and translate to my new origin and draw my "subject" then translate to the kinect origin and draw the point cloud?
any help would be great.
Thanks
Rob
1