Results 1 to 3 of 3

Thread: convert 3D coordinates to 2D coordinates

  1. #1
    h80
    h80 is offline
    Newbie
    Joined
    Feb 2017
    From
    earth
    Posts
    2

    convert 3D coordinates to 2D coordinates

    Hi,
    I need help with a geometry problem for a computer program that I am coding:



    • I work in a 3D (x,y,z) Euclidian space - origin OO.
    • Within this space I have a 2D Euclidian plane with its own independent (x,y) coordinates system - origin O.
    • The 2D plane can be positioned & angled anywhere within the 3D space.
    • Point A is defined by the intersection of a raycast form the 3D origin and the 2D plane.
    • I am able to get the 3D (x,y,z) coordinates of A and O, so I can compute the lengths [OO,A] and [OO,O].


    I need to get the position of A within the 2D space (ie A(x,y).

    I might be able to get more data from my 3D engine, as I don't think this is quite enough to work it out? I I'm losing my hair over it at the moment, I would really appreciate help working out how to go about it
    Attached Thumbnails Attached Thumbnails convert 3D coordinates to 2D coordinates-diagram.jpg  
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Dec 2012
    From
    Athens, OH, USA
    Posts
    1,107
    Thanks
    460

    Re: convert 3D coordinates to 2D coordinates

    This is kind of a "standard" problem in computer graphics. Here's the solution:

    convert 3D coordinates to 2D coordinates-mhfgeometry137.png
    Follow Math Help Forum on Facebook and Google+

  3. #3
    h80
    h80 is offline
    Newbie
    Joined
    Feb 2017
    From
    earth
    Posts
    2

    Re: convert 3D coordinates to 2D coordinates

    that's exactly what I need thanks a lot John!
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Convert these numbers into coordinates
    Posted in the Math Puzzles Forum
    Replies: 2
    Last Post: May 12th 2016, 10:25 AM
  2. Replies: 3
    Last Post: Jan 27th 2015, 06:28 AM
  3. Convert from cartesian to polar coordinates
    Posted in the Pre-Calculus Forum
    Replies: 4
    Last Post: Oct 11th 2014, 11:19 AM
  4. Convert to Rectangular coordinates and Eval
    Posted in the Calculus Forum
    Replies: 1
    Last Post: Oct 30th 2012, 07:01 PM
  5. Replies: 6
    Last Post: Feb 4th 2009, 12:12 AM

/mathhelpforum @mathhelpforum