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 3 of 3

Thread: How to get data from rendered objects on screen

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2012
    Location
    Warsaw, Poland
    Posts
    2

    How to get data from rendered objects on screen

    Hi all,
    I am brand new here, so my question is probably very simple, but I can't find anything what I need - probably bad queries in Google and here .
    I am using OpenGL with Delphi.
    I am experienced programmer but not in OpenGL.

    Using examples I did 3D display of the physical values using HeightFields and small Cylinders, Cones and Spheres as a children of the HeightField.
    I need a hint, how to get values of the X,Y,Z position of the objects under the mouse.

    Thank you for help.
    Regards
    Mariusz










  2. #2
    Senior Member OpenGL Pro BionicBytes's Avatar
    Join Date
    Mar 2009
    Location
    UK, London
    Posts
    1,171

    Re: How to get data from rendered objects on screen

    try a Google on gluUnproject

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2012
    Location
    Warsaw, Poland
    Posts
    2

    Re: How to get data from rendered objects on screen

    Hi,
    Thanks a lot BionicBytes.

    Good query is the key

    It works already.
    This particular answer for Delphi users is here:
    http://www.sulaco.co.za/using_gluUnproject_tutorial.htm
    and many, many more.

    Of course - I was there many times, but I didn't knew magic word "gluUnproject".
    Best Regards
    Mariusz

Posting Permissions

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