Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gluunproject(3g) [mojave man page]

GLUUNPROJECT(3G)														  GLUUNPROJECT(3G)

NAME
gluUnProject - map window coordinates to object coordinates C SPECIFICATION
GLint gluUnProject( GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ ) PARAMETERS
winX, winY, winZ Specify the window coordinates to be mapped. model Specifies the modelview matrix (as from a glGetDoublev call). proj Specifies the projection matrix (as from a glGetDoublev call). view Specifies the viewport (as from a glGetIntegerv call). objX, objY, objZ Returns the computed object coordinates. DESCRIPTION
gluUnProject maps the specified window coordinates into object coordinates using model, proj, and view. The result is stored in objX, objY, and objZ. A return value of GL_TRUE indicates success; a return value of GL_FALSE indicates failure. To compute the coordinates (objX, objY, and objZ), gluUnProject multiplies the normalized device coordinates by the inverse of model*proj as follows: 2(winX - view[0]) ----------------- - 1 view[2] objX 2(winY - view[1]) objY = INV(PM) ----------------- - 1 objZ view[3] W 2(winZ) - 1 1 INV() denotes matrix inversion. W is an unused variable, included for consistent matrix notation. SEE ALSO
glGet, gluProject GLUUNPROJECT(3G)

Check Out this Related Man Page

GLUUNPROJECT(3G)						   OpenGL Manual						  GLUUNPROJECT(3G)

NAME
gluUnProject - map window coordinates to object coordinates C SPECIFICATION
GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble* objX, GLdouble* objY, GLdouble* objZ); PARAMETERS
winX, winY, winZ Specify the window coordinates to be mapped. model Specifies the modelview matrix (as from a glGetDoublev() call). proj Specifies the projection matrix (as from a glGetDoublev() call). view Specifies the viewport (as from a glGetIntegerv() call). objX, objY, objZ Returns the computed object coordinates. DESCRIPTION
gluUnProject maps the specified window coordinates into object coordinates using model, proj, and view. The result is stored in objX, objY, and objZ. A return value of GLU_TRUE indicates success; a return value of GLU_FALSE indicates failure. To compute the coordinates objX objY objZ, gluUnProject multiplies the normalized device coordinates by the inverse of model * proj as follows: objX objY objZ W = INV P M 2 winX - view 0 view 2 - 1 2 winY - view 1 view 3 - 1 2 winZ - 1 1INV denotes matrix inversion. W is an unused variable, included for consistent matrix notation. SEE ALSO
gluProject(), glGet() COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. AUTHORS
opengl.org opengl.org 06/10/2014 GLUUNPROJECT(3G)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Deleting whole lines from a file

I have a file with 65 sets of 35 coordinates, and would like to isolate these coordinates so that I can easily copy the coordinates to another file. The problem is, I've got a 9 line header before each set of coordinates (so each set is 44 lines long). There are a zillion threads out there about... (3 Replies)
Discussion started by: red baron
3 Replies

2. Red Hat

Customizing RHEL OS

Hello Every One, I am not sure if this is the correct forum to post this question. But please help me with your ideas. I have got a work (proj) where i need to customize the RHEL OS . This would involve building packages, installing them , correcting privileges etc and all these... (4 Replies)
Discussion started by: shirsha
4 Replies

3. UNIX for Dummies Questions & Answers

Open a finder window in a particular view ??

In OSX, I have created some custom... well.. I guess you'd call them Macros?? within the .profile file. Some of these "Macros" are to open specific directories in a Finder window. Does anyone know what commands need to be used to have these folders open in LIST view, and maybe even be... (1 Reply)
Discussion started by: RiDE
1 Replies

4. UNIX for Dummies Questions & Answers

how to view dynamically updated managed server logs from the same putty window

Hi, I want to know how we can view two or three logs which are dynamically getting updated from a single/same putty window with tail commnad. Thanks. (7 Replies)
Discussion started by: reachsudha
7 Replies

5. Shell Programming and Scripting

copying text from between a pattern and *

Hej all, I have a LS-DYNA keyword file which I want to extract the node coordinates from it to another file for processing and then returning the result coordinates to the same place, the structure of the file is like: Keyword file: 5010497 -266.6623535 -446.2596130 ... (3 Replies)
Discussion started by: Johanni
3 Replies