Scratchapixel 2.0
Sign in
This project contains the following files (right-click files you'd like to download):
perspproj.cppgeometry.hxtree.obj
# http://www.scratchapixel.com/lessons/3d-basic-rendering/computing-pixel-coordinates-of-3d-point v 0.000000 39.033714 0.000000 v 0.762116 36.843475 0.000000 v 3.000000 36.604431 0.000000 v 1.000000 35.604431 0.000000 v 2.016184 33.382484 0.000000 v 0.000000 34.541019 0.000000 v -2.016184 33.382484 0.000000 v -1.000000 35.604431 0.000000 v -3.000000 36.604431 0.000000 v -0.762116 36.843475 0.000000 v -0.040181 34.310349 -0.000000 v 3.277792 30.463991 0.000000 v -0.040181 30.463991 -0.000000 v -0.028749 30.463991 0.000000 v 3.277792 30.463991 0.000000 v 1.272227 29.197426 0.000000 v 1.272227 29.197426 0.000000 v -0.028703 29.197426 0.000000 v 1.272227 29.197426 0.000000 v 5.277792 25.397711 0.000000 v -0.028650 25.397711 0.000000 v 1.272227 29.197426 0.000000 v 5.277792 25.397711 0.000000 v 3.332222 24.098793 0.000000 v -0.028683 24.098793 0.000000 v 7.195669 20.299080 0.000000 v -0.028610 20.299080 0.000000 v 5.277791 19.064854 0.000000 v -0.028663 18.984453 0.000000 v 9.277791 15.265141 0.000000 v -0.028571 15.184738 0.000000 v 9.277792 15.265141 0.000000 v 7.377179 13.999161 0.000000 v -0.028625 13.900555 0.000000 v 9.277791 15.265141 0.000000 v 12.277791 8.932283 0.000000 v -0.028771 8.974176 0.000000 v 12.277791 8.932283 0.000000 v 10.277796 7.665712 0.000000 v -0.028592 7.655210 0.000000 v 15.277796 2.599426 0.000000 v -0.028775 2.607727 0.000000 v 15.277796 2.599426 0.000000 v 13.277795 1.332857 0.000000 v -0.028727 1.261691 0.000000 v 18.277796 -3.733428 0.000000 v 18.277796 -3.733428 0.000000 v 2.272227 -1.200286 0.000000 v -0.028727 -1.309806 0.000000 v 4.272227 -5.000000 0.000000 v 4.272227 -5.000000 0.000000 v -0.028727 -5.000000 0.000000 v -3.358153 30.463991 -0.000000 v -3.358153 30.463991 -0.000000 v -1.352588 29.197426 -0.000000 v -1.352588 29.197426 -0.000000 v -1.352588 29.197426 -0.000000 v -5.358153 25.397711 -0.000000 v -1.352588 29.197426 -0.000000 v -5.358153 25.397711 -0.000000 v -3.412583 24.098793 -0.000000 v -7.276031 20.299080 -0.000000 v -5.358152 19.064854 -0.000000 v -9.358152 15.265141 -0.000000 v -9.358153 15.265141 -0.000000 v -7.457540 13.999161 -0.000000 v -9.358152 15.265141 -0.000000 v -12.358152 8.932283 -0.000000 v -12.358152 8.932283 -0.000000 v -10.358157 7.665712 -0.000000 v -15.358157 2.599426 -0.000000 v -15.358157 2.599426 -0.000000 v -13.358156 1.332857 -0.000000 v -18.358156 -3.733428 -0.000000 v -18.358156 -3.733428 -0.000000 v -2.352588 -1.200286 -0.000000 v -4.352589 -5.000000 -0.000000 v -4.352589 -5.000000 -0.000000 v -0.000000 34.310349 0.040181 v 0.000000 30.463991 -3.277792 v -0.000000 30.463991 0.040181 v -0.000000 30.463991 0.028749 v 0.000000 30.463991 -3.277792 v 0.000000 29.197426 -1.272227 v 0.000000 29.197426 -1.272227 v -0.000000 29.197426 0.028703 v 0.000000 29.197426 -1.272227 v 0.000000 25.397711 -5.277792 v -0.000000 25.397711 0.028650 v 0.000000 29.197426 -1.272227 v 0.000000 25.397711 -5.277792 v 0.000000 24.098793 -3.332222 v -0.000000 24.098793 0.028683 v 0.000000 20.299080 -7.195669 v -0.000000 20.299080 0.028610 v 0.000000 19.064854 -5.277791 v -0.000000 18.984453 0.028663 v 0.000000 15.265141 -9.277791 v -0.000000 15.184738 0.028571 v 0.000000 15.265141 -9.277792 v 0.000000 13.999161 -7.377179 v -0.000000 13.900555 0.028625 v 0.000000 15.265141 -9.277791 v 0.000000 8.932283 -12.277791 v -0.000000 8.974176 0.028771 v 0.000000 8.932283 -12.277791 v 0.000000 7.665712 -10.277796 v -0.000000 7.655210 0.028592 v 0.000000 2.599426 -15.277796 v -0.000000 2.607727 0.028775 v 0.000000 2.599426 -15.277796 v 0.000000 1.332857 -13.277795 v -0.000000 1.261691 0.028727 v 0.000000 -3.733428 -18.277796 v 0.000000 -3.733428 -18.277796 v 0.000000 -1.200286 -2.272227 v -0.000000 -1.309806 0.028727 v 0.000000 -5.000000 -4.272227 v 0.000000 -5.000000 -4.272227 v -0.000000 -5.000000 0.028727 v -0.000000 30.463991 3.358153 v -0.000000 30.463991 3.358153 v -0.000000 29.197426 1.352588 v -0.000000 29.197426 1.352588 v -0.000000 29.197426 1.352588 v -0.000000 25.397711 5.358153 v -0.000000 29.197426 1.352588 v -0.000000 25.397711 5.358153 v -0.000000 24.098793 3.412583 v -0.000000 20.299080 7.276031 v -0.000000 19.064854 5.358152 v -0.000000 15.265141 9.358152 v -0.000000 15.265141 9.358153 v -0.000000 13.999161 7.457540 v -0.000000 15.265141 9.358152 v -0.000000 8.932283 12.358152 v -0.000000 8.932283 12.358152 v -0.000000 7.665712 10.358157 v -0.000000 2.599426 15.358157 v -0.000000 2.599426 15.358157 v -0.000000 1.332857 13.358156 v -0.000000 -3.733428 18.358156 v -0.000000 -3.733428 18.358156 v -0.000000 -1.200286 2.352588 v -0.000000 -5.000000 4.352589 v -0.000000 -5.000000 4.352589 f 9 8 10 f 7 6 8 f 5 4 6 f 3 2 4 f 1 10 2 f 6 4 8 f 8 4 10 f 10 4 2 f 11 13 12 f 14 16 15 f 16 14 17 f 14 18 17 f 19 21 20 f 18 21 22 f 21 24 23 f 21 25 24 f 24 27 26 f 25 27 24 f 27 28 26 f 27 29 28 f 28 31 30 f 29 31 28 f 31 33 32 f 31 34 33 f 28 31 35 f 33 37 36 f 34 37 33 f 37 39 38 f 37 40 39 f 39 42 41 f 40 42 39 f 42 44 43 f 42 45 44 f 45 46 44 f 45 48 47 f 45 49 48 f 49 50 48 f 49 52 51 f 11 53 13 f 14 54 55 f 56 18 55 f 14 55 18 f 57 58 21 f 18 59 21 f 21 60 61 f 21 61 25 f 61 62 27 f 25 61 27 f 27 62 63 f 27 63 29 f 63 64 31 f 29 63 31 f 31 65 66 f 31 66 34 f 63 67 31 f 66 68 37 f 34 66 37 f 37 69 70 f 37 70 40 f 70 71 42 f 40 70 42 f 42 72 73 f 42 73 45 f 45 73 74 f 45 75 76 f 45 76 49 f 49 76 77 f 49 78 52 f 79 81 80 f 82 84 83 f 84 82 85 f 82 86 85 f 87 89 88 f 86 89 90 f 89 92 91 f 89 93 92 f 92 95 94 f 93 95 92 f 95 96 94 f 95 97 96 f 96 99 98 f 97 99 96 f 99 101 100 f 99 102 101 f 96 99 103 f 101 105 104 f 102 105 101 f 105 107 106 f 105 108 107 f 107 110 109 f 108 110 107 f 110 112 111 f 110 113 112 f 113 114 112 f 113 116 115 f 113 117 116 f 117 118 116 f 117 120 119 f 79 121 81 f 82 122 123 f 124 86 123 f 82 123 86 f 125 126 89 f 86 127 89 f 89 128 129 f 89 129 93 f 129 130 95 f 93 129 95 f 95 130 131 f 95 131 97 f 131 132 99 f 97 131 99 f 99 133 134 f 99 134 102 f 131 135 99 f 134 136 105 f 102 134 105 f 105 137 138 f 105 138 108 f 138 139 110 f 108 138 110 f 110 140 141 f 110 141 113 f 113 141 142 f 113 143 144 f 113 144 117 f 117 144 145 f 117 146 120