Your question is incredibly vague.
You need to be specific about what you are having trouble with.

This doesn't look too hard. Just break the problem down into steps.
Once you've got the input, you should be able to convert this to a 
translation vector and a facing vector (with an up vector).
This should then be trivial to convert to a matrix and apply to the model 
view matrix (as a camera).

If you don't understand this you can take a look at my code but if you 
don't understand the basics of 3d maths or 3d graphics you may not 
understand it.

My 3D maths project
https://github.com/adamlwgriffiths/Pyrr

My OpenGL framework
https://github.com/adamlwgriffiths/PyGLy

My basic camera class
https://github.com/adamlwgriffiths/PyGLy/blob/master/pygly/camera_node.py


Cheers,
Adam

On Thursday, October 11, 2012 7:07:35 AM UTC+11, Ricardo Franco wrote:
>
> Hi, I'm trying to rotate the camera around a  point.
> Not doing a full circle around the point, just simulate a head moving with 
> eyes fixed in a point.
>
> this video shows what I want to do:
> http://www.youtube.com/watch?v=NIaGPrX3OzU
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/TXqGzGbUp1AJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to