jerin3D
04-12-2002, 02:40 AM
hi,
I displayed a 3D object in a MFC window.In my application, i am getting the x,y and z point of the object at the mouse clicked point in the initial stage.But when i rotate the object then the z value is changing.In the display function i push and pop the model view matrix and in mouse left button down i read the model view matrix.If any way to get the initial model view matrix when i click on the object ??
where is the chance for problem ??
Thanks,
Jerry
I displayed a 3D object in a MFC window.In my application, i am getting the x,y and z point of the object at the mouse clicked point in the initial stage.But when i rotate the object then the z value is changing.In the display function i push and pop the model view matrix and in mouse left button down i read the model view matrix.If any way to get the initial model view matrix when i click on the object ??
where is the chance for problem ??
Thanks,
Jerry