jeckil

04-23-2010, 03:59 PM

Hey guys im stuck real bad on something and I need help!!!

Say I have a 3d object at a point, looking towards an arbitrary point, say (-10,10,0) how would I change it so the its looking elsewhere without changing the position.

Matrix Model; <- the model matrix

I can, transform the model by translating and rotating discretely but im stuck at modifying the matrix so that the look at vector is moved

I need to just change the look at without changing the position..

Help??

I am trying to move objects in 3d space.

Thanks a lot !

P.S. Can you suggest a good book on these kinds of topics that is easy to comprehend? (large pictures ^_^)

Say I have a 3d object at a point, looking towards an arbitrary point, say (-10,10,0) how would I change it so the its looking elsewhere without changing the position.

Matrix Model; <- the model matrix

I can, transform the model by translating and rotating discretely but im stuck at modifying the matrix so that the look at vector is moved

I need to just change the look at without changing the position..

Help??

I am trying to move objects in 3d space.

Thanks a lot !

P.S. Can you suggest a good book on these kinds of topics that is easy to comprehend? (large pictures ^_^)