Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Get 3D model vertices values

  1. #1
    Newbie Newbie
    Join Date
    Jun 2013
    Posts
    2

    Get 3D model vertices values

    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.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,117
    The function you are looking for is gluUnProject

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •