Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Sorry , how can I transform 2D screen coordinates (given by the mouse) on 3D coord.

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000
    Location
    Paris,France
    Posts
    4

    Sorry , how can I transform 2D screen coordinates (given by the mouse) on 3D coord.

    I want to draw a 3D object where I click on the screen, depending on ViewPort Matrix(Sorry for my poor English), I also want to know how can I get the Viewport matrix or how can I compute it. Thank for your support

  2. #2
    Member Regular Contributor
    Join Date
    Feb 2000
    Location
    milano, italy
    Posts
    282

    Re: Sorry , how can I transform 2D screen coordinates (given by the mouse) on 3D coord.

    look into this and the beginners section.
    i remember i've posted a simple routine to do this task.

    Dolo/\/\ightY
    Dolo/\/\ightY

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •