Results 1 to 3 of 3

Thread: Fastest way to compute 2D view point from 3D point?

  1. #1
    Senior Member Regular Contributor
    Join Date
    Jun 2003
    Location
    USA
    Posts
    117

    Fastest way to compute 2D view point from 3D point?

    I have a point in an OpenGL 3D perspective view. What is the fastest way to figure out what 2D view coordinate the 3D point maps to?

    I'm hoping there is a way to simply apply the projection matrix to the point. Is there a way in OpenGL to apply the projection matrix and retrive the coordinate result?

    All suggestions are much appreciated.

    Thanks in advance.

    robosport

  2. #2
    Senior Member Regular Contributor
    Join Date
    Dec 2002
    Location
    Silicon Valley
    Posts
    234

    Re: Fastest way to compute 2D view point from 3D point?

    gluProject

  3. #3
    Senior Member Regular Contributor
    Join Date
    Jun 2003
    Location
    USA
    Posts
    117

    Re: Fastest way to compute 2D view point from 3D point?

    Exactly what I was looking for. Thank you for the quick response!

    robosport

Similar Threads

  1. Glut/GL Camera or view point please help
    By Slong in forum OpenGL: Basic Coding
    Replies: 15
    Last Post: 11-09-2009, 08:59 PM
  2. Can I revolve the view point ?
    By silvia_steven_2000 in forum OpenGL: Basic Coding
    Replies: 11
    Last Post: 10-24-2003, 09:04 AM
  3. How to tell if a point is in view?
    By Structural in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-04-2002, 01:35 PM
  4. View point coord
    By Lanstorp in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 08-08-2002, 12:22 PM
  5. How to rotate a view point in the scene ?
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-14-2001, 02:17 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