1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

3d to 2d

Discussion in 'Off Topic' started by TWD, Feb 21, 2002.

  1. TWD

    TWD Cute and Cuddly

    Joined:
    Aug 2, 2000
    Messages:
    7,444
    Likes Received:
    8
    I have created a 3d render program for my TI86. It can do all the rotations and stuff like that. It will make the cube rotate in space.

    Currently I take the x y z positions and I just ignore z and it graphs x and y. This of course doesn't give you a perspective. All I want to do is make a cube that I can rotate, I'm not even doing translations. The cube always stays in the center.
     
  2. Twisted Metal

    Twisted Metal Anfractuous Aluminum

    Joined:
    Jul 28, 2001
    Messages:
    7,119
    Likes Received:
    3
    uhh thanks for sharing

    Make a falldown clone game
     
  3. Elrod

    Elrod Random

    Joined:
    Jun 23, 2000
    Messages:
    337
    Likes Received:
    0
    Without being able to test it in front of me, I'm not certain this will work, but I believe if you multiply the x and y values for each vertex by a factor determined by (z+n)/n where n is some arbitrary factor for the amount of perspective distortion you want, you'll get what you're looking for. n should be large enough that your lowest z value will still result in a positive number, and the higher the value of n, the less distortion there will be - adjust to preference. This method only works if your 'camera' is stationary and the vertecies rotate (ie: the positive z axis is always pointed at you)
     
  4. CRoNiXX

    CRoNiXX Banned

    Joined:
    Dec 7, 2001
    Messages:
    530
    Likes Received:
    0
    now, thats JUST what I wanted to say! :rolleyes:
     

Share This Page