Created
May 13, 2020 09:52
-
-
Save companje/a263fce3dfbc4a6e1c12c5a0d5d283e3 to your computer and use it in GitHub Desktop.
Globe4D gx1000 perspective
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float w=1200, h=1200, wd2=w/2, hd2=h/2, wdh=w/h; | |
float distToCam = 1900; | |
perspective(atan(hd2/distToCam)*2, wdh, distToCam, 10000); | |
camera(0, 0, -distToCam, 0, 0, 0, 0, 1, 0); | |
scale(-1, 1, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment