3D coordinates to window coordinates......

3D coordinates to window coordinates......

Post by Serg V. Pavlo » Wed, 17 Feb 1999 04:00:00



How can I obtain the window coordinates of one Vertex?

                                               With best wishes,

                                                                Serg V.
Pavlov
                                                                ICQ#
28157756

 
 
 

3D coordinates to window coordinates......

Post by Paul Mart » Wed, 17 Feb 1999 04:00:00



>How can I obtain the window coordinates of one Vertex?

gluProject is probably your best bet. An alternative would be using
GL_FEEDBACK render mode, and send the vertex down as a GL_POINTS primitive.

   -Paul Martz
    Hewlett Packard Workstation Systems Lab
    To reply, remove "DONTSPAM" from email address.

 
 
 

3D coordinates to window coordinates......

Post by Andrew F. Vespe » Mon, 22 Feb 1999 04:00:00



> How can I obtain the window coordinates of one Vertex?

Look at gluProject.

--
Andy V (OpenGL Alpha Geek)
"In order to make progress, one must leave the door to the unknown ajar."
Richard P. Feynman, quoted by Jagdish Mehra in _The Beat of a Different Drum_.

 
 
 

1. CONVERTING 2D WINDOW COORDINATES TO 3D WORLD COORDINATES

hello,
    I have been writing a modelling software in OpenGL(using VC++). Now
that I have 3D view volume defined by  my camera. I have the viewport
sx,sy size that I can see on the screen. I now want to convert the 2d
mouse coordinate into 3d world coordinate. I use ISO view,Front View,
Top Viw and Side View. The problem is in glUnProject(,,z,..) how must I
simulate this z coordinate. Iam just not able to think of a Good idea.
Kindly help me out.
--

--
With Regards

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Print Preview Component

3. window coordinate -> viewport coordinate

4. plugin filters

5. converting world-coordinates to window-coordinates (mouse over)?

6. Space 2063 / Babylon 5

7. screen coordinates to 3d coordinates?

8. Question - FX jobs for programmers?

9. How to translate a screen coordinate into a 3D coordinate

10. 2d texture coordinates to 3d world coordinates

11. 3D Coordinates to 2D coordinated

12. glReadPixels() :- Map 3d-vertex coordinates to 2d-Pixel coordinates

13. Screen Coordinates to 3D Coordinates.