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
    Senior 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

Similar Threads

  1. COVERSION: world coord -> screen coord -> world coord
    By Albert85 in forum OpenGL: GLSL
    Replies: 8
    Last Post: 01-12-2015, 06:41 PM
  2. Select a screen area with mouse and return coordinates
    By whatnext in forum OpenGL: Linux
    Replies: 1
    Last Post: 07-21-2014, 06:01 AM
  3. Is there a way to calculate the 3d coord from screen coord?
    By Coconut_Crab in forum OpenGL: Advanced Coding
    Replies: 14
    Last Post: 12-23-2003, 02:13 AM
  4. Mouse coord to glScene coord
    By Lanstorp in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-20-2002, 02:15 PM
  5. How can I transform 3D Coordinates into 2D screen coordinates
    By MountainD in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 03-09-2000, 10:49 AM

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