-
Convert X,Y (Window) to X,Y,Z World Coordinates (OpenGL)
How do i convert a windows coordinates (X,Y) to OpenGL coordinates (X,Y,Z)? I have heard about gluUnProject(..) but i'am not using C and i don't know how to get this function (file) for Delphi!
-
Re: Convert X,Y (Window) to X,Y,Z World Coordinates (OpenGL)
The Opengl - Delphi site: http://koci.opengl.cz/angopengl.htm
has a delphi source / tutorial called >>Aiming - function 'glReadPixels'<<
I have used this to transfer the object coordinates to a statusbar, when the mouse is over an object.
Håber det hjælper dig
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules