Results 1 to 2 of 2

Thread: Using gluUnProject

  1. #1
    Member Contributor
    Join Date
    Feb 2000

    Using gluUnProject

    I *really* can't find any way out of the gluUnProject function.
    What's supposed to be? When is it used?
    How is formed the matrix passed in the args?
    Paolo M.

  2. #2

    Re: Using gluUnProject

    gluUnProject is used to convert from windows coordinate to object coordinate:

    example, a pixel's position might be (1, 1)

    if that pixel represents a rendered point in 3D space, what were it's original (x, y, z) values? Solution: gluUnProject() with 1, 1 and you must provide the depth value.

    You can use it for tests for one thing. If you don't need it, why worry about it?

Similar Threads

  1. gluUnProject
    By Raiden in forum OpenGL: Linux
    Replies: 1
    Last Post: 04-11-2005, 09:33 AM
  2. gluUnProject
    By Amir in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-10-2004, 01:53 PM
  3. Example of gluUnProject
    By jirkamelich in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-11-2002, 08:53 AM
  4. gluUnProject
    By mphanke in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 05-24-2002, 08:28 AM
  5. Once again, gluUnProject...
    By Tanus in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-08-2001, 05:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean