PDA

View Full Version : Get 3D model vertices values



ProofKhan
06-12-2013, 01:46 AM
Hi,

I have loaded a wavefront(.obj) 3D model in an opengl console application.

Now I want to read the values of XYZ coordinates of the model on mouse click event. I have formulation based on these vertex values in order to calculate values in run time as the mouse is clicked on any other part of the model.

Please help me in this regards if anyone knows any function or method or steps to achieve this task?

Thanks.

tonyo_au
06-12-2013, 05:30 AM
The function you are looking for is gluUnProject