Thread: Math - Graphics 3D: where is Z?

  1. #1
    Registered User
    Join Date
    Aug 2013
    Posts
    430

    Math - Graphics 3D: where is Z?

    ok... the screen have only X,Y... easy working with them.
    now imagine that X, Y and Z angles are zero.
    the coordinates are (10,20,30).
    i know where is (10,20)(X, Y)... but how can i add the Z?
    (ok... i'm trying learn 3D coordinates on hard way... but it's for learn)

  2. #2
    Informer -Adrian's Avatar
    Join Date
    Jan 2013
    Posts
    817
    I'm not sure I understand your question correctly, but if X is left/right, Y is up/down, then Z is in/out. So if 3D screens existed, the Z axis would point out of the screen into your face. (Whether positive values point toward or away from you depends on the graphics framework used)

    Since screens are 2D, the third dimension has to be faked by adjusting the X/Y dimensions. This is usually done using a projection transform. A good analogy are railroad tracks. The real tracks remain the same distance apart, but in a 2D photograph they converge into a point in the distance. So the X/Y axes are used to give the impression of the missing Z axis (distance).
    Last edited by -Adrian; 04-27-2018 at 12:51 PM.

  3. #3
    Registered User
    Join Date
    Aug 2013
    Posts
    430
    i'm sorry Adrian, but by some reason i don't receive a mail notification
    thanks for correct me
    Last edited by joaquim; 04-27-2018 at 04:21 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. an easy, portable, python accessible graphics math library
    By ichijoji in forum Game Programming
    Replies: 2
    Last Post: 12-07-2006, 12:10 AM
  2. Odd math
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 09-18-2006, 04:54 PM
  3. Basic Math Problem. Undefined Math Functions
    By gsoft in forum C Programming
    Replies: 1
    Last Post: 12-28-2004, 03:14 AM
  4. FAQ: Graphics Math
    By crepincdotcom in forum FAQ Board
    Replies: 23
    Last Post: 10-04-2004, 12:03 PM
  5. Min Math level req for 3d graphics?
    By EvBladeRunnervE in forum Game Programming
    Replies: 12
    Last Post: 02-24-2003, 10:32 PM

Tags for this Thread