Ass1 - 2d Transformations - Final

  • April 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Ass1 - 2d Transformations - Final as PDF for free.

More details

  • Words: 2,583
  • Pages: 29
Helicopter Vertex Data Helicopter Body:

X Y Z

665.45 665.45 656.88 589.32 386.63 128.79 149.7 150.24 91.26 83.21 1 1 1 1 1

Legs:

X Y Z

207.22 207.22 180.94 173.97 169.68 27.5 7.66 8.19 10.88 15.16 1 1 1 1 1

Rotar Blade:

X Y Z

278.53 278.53 287.11 287.65 595.96 116.51 152.43 153.5 165.84 185.67 1 1 1 1 1

Tail Blade:

X Y Z

614.72 660.84 661.91 690.86 699.44 186.21 140.1 132.06 97.2 104.71 1 1 1 1 1

Cockpit Window:

X Y Z

138.72 152.13 191.27 192.34 165.53 72.57 57.56 57.56 91.87 92.41 1 1 1 1 1

X Y

202.93 265.12 265.66 30.23 30.23 95.65

Door:

Main:

204 202.93 97.25 30.23

Z

Window:X Y Z

1

1

1

1

1

208.92 208.92 258.78 258.78 208.92 90.23 54.84 53.77 90.77 90.23 1 1 1 1 1

377.52 261.7 253.66 223.1 185.56 158.22 134.62 123.36 113.18 107.28 113.24 117.53 102.52 105.74 105.74 102.52 71.95 67.67 60.16 53.19 1 1 1 1 1 1 1 1 1 1

164.86 169.15 177.73 311.24 318.21 318.21 297.83 297.83 293.01 293.01 9.8 6.05 2.83 2.83 7.12 10.88 8.73 24.28 24.28 8.73 1 1 1 1 1 1 1 1 1 1

595.96 280.14 280.14 272.63 272.1 2.39 2.39 264.59 265.66 273.7 191.04 172.81 178.17 178.7 172.27 179.24 173.34 166.37 153.5 152.97 1 1 1 1 1 1 1 1 1 1

656.55 655.47 622.23 614.72 150.82 161.55 194.25 186.21 1 1 1 1

400 375 350 325 300 275 250 225 200 175 150 125 100 75 50 25 0 0

159.1 138.72 97.77 72.57 1 1

250

500

106.21 109.96 121.75 136.77 309.96 328.73 626.31 665.45 44.61 34.96 28.52 23.7 21.55 23.7 70.88 128.79 1 1 1 1 1 1 1 1

213.65 212.58 207.22 8.19 26.96 27.5 1 1 1

272.63 272.63 278.53 131.52 117.04 116.51 1 1 1

500

750

2D Translation: Translate X: Translate Y:

150 200

Translation Matrix:

Final Helicopter Parts: Body: X Y Z

1 0 0

0 1 0

150 200 1

815.45 815.45 806.88 739.32 536.63 527.52 411.7 328.79 349.7 350.24 291.26 283.21 313.24 317.53 1 1 1 1 1 1 1

Legs:

X Y Z

357.22 357.22 330.94 323.97 319.68 314.86 319.15 227.5 207.66 208.19 210.88 215.16 209.8 206.05 1 1 1 1 1 1 1

Rotar Blade:

X Y Z

428.53 428.53 437.11 437.65 745.96 745.96 430.14 316.51 352.43 353.5 365.84 385.67 391.04 372.81 1 1 1 1 1 1 1

Tail Blade:

X Y Z

764.72 810.84 811.91 840.86 849.44 806.55 805.47 386.21 340.1 332.06 297.2 304.71 350.82 361.55 1 1 1 1 1 1 1

Cockpit Window: X Y Z

288.72 302.13 341.27 342.34 315.53 309.1 288.72 272.57 257.56 257.56 291.87 292.41 297.77 272.57 1 1 1 1 1 1 1

Door - Main:

X Y Z

352.93 415.12 415.66 354 352.93 230.23 230.23 295.65 297.25 230.23 1 1 1 1 1

Door Window:

X Y Z

358.92 358.92 408.78 408.78 358.92 290.23 254.84 253.77 290.77 290.23 1 1 1 1 1

403.66 373.1 335.56 308.22 284.62 273.36 263.18 257.28 256.21 259.96 302.52 305.74 305.74 302.52 271.95 267.67 260.16 253.19 244.61 234.96 1 1 1 1 1 1 1 1 1 1 327.73 461.24 468.21 468.21 447.83 447.83 443.01 443.01 363.65 362.58 202.83 202.83 207.12 210.88 208.73 224.28 224.28 208.73 208.19 226.96 1 1 1 1 1 1 1 1 1 1 430.14 422.63 422.1 152.39 152.39 414.59 415.66 423.7 422.63 422.63 378.17 378.7 372.27 379.24 373.34 366.37 353.5 352.97 331.52 317.04 1 1 1 1 1 1 1 1 1 1 772.23 764.72 394.25 386.21 1 1 475 450 425 400 375 350 325 300 275 250 225 200 175 150 125 100 75 50 25 0 0

250

500

750

271.75 286.77 459.96 478.73 776.31 815.45 228.52 223.7 221.55 223.7 270.88 328.79 1 1 1 1 1 1 357.22 227.5 1 428.53 316.51 1

= New Transformation = Original Position

750

2D Translation: Scale X: Scale Y:

2 2

Scale Matrix:

2 0 0

Final Helicopter Parts: Body: X Y Z

0 2 0

0 0 1

### ### ### ### 773.27 755.04 523.4 257.58 299.41 300.48 182.52 166.43 226.48 235.06 1 1 1 1 1 1 1

Legs:

X Y Z

414.43 414.43 361.89 347.94 339.37 329.71 338.29 54.99 15.32 16.39 21.75 30.33 19.61 12.1 1 1 1 1 1 1 1

Rotar Blade:

X Y Z

557.06 557.06 574.22 575.29 ### ### 560.28 233.01 304.86 307.01 331.67 371.35 382.07 345.61 1 1 1 1 1 1 1

Tail Blade:

X Y Z

### 372.42 1

### ### 280.2 264.11 1 1

### ### ### ### 194.4 209.42 301.64 323.09 1 1 1 1

Cockpit Window: X Y Z

277.45 304.26 382.54 384.69 331.07 318.2 277.45 145.14 115.12 115.12 183.75 184.82 195.55 145.14 1 1 1 1 1 1 1

Door - Main:

X Y Z

405.85 530.25 531.32 408 405.85 60.46 60.46 191.29 194.51 60.46 1 1 1 1 1

Door Window:

X Y Z

417.84 417.84 517.57 517.57 417.84 180.46 109.69 107.54 181.54 180.46 1 1 1 1 1

507.32 446.19 371.12 316.43 269.25 246.73 226.35 214.56 212.41 219.92 205.04 211.47 211.47 205.04 143.91 135.33 120.32 106.38 89.22 69.92 1 1 1 1 1 1 1 1 1 1 355.45 622.47 636.42 636.42 595.67 595.67 586.01 586.01 5.67 5.67 14.24 21.75 17.46 48.56 48.56 17.46 1 1 1 1 1 1 1 1

427.3 425.16 16.39 53.92 1 1

560.28 545.26 544.19 4.78 4.78 529.18 531.32 547.41 545.26 545.26 356.34 357.41 344.54 358.48 346.68 332.74 307.01 305.93 263.04 234.08 1 1 1 1 1 1 1 1 1 1 ### ### 388.51 372.42 1 1 475 450 425 400 375 350 325 300 275 250 225 200 175 150 125 100 75 50 25 0 0

250

500

750

243.51 273.54 619.92 657.45 ### ### 57.05 47.4 43.11 47.4 141.77 257.58 1 1 1 1 1 1 414.43 54.99 1 557.06 233.01 1

= New Transformation = Original Position

750

2D Shearing: Shear X: Shear Y:

0.5 0.5

Shear Matrix:

1 0.5 0

Final Helicopter Parts: Body: X Y Z

0.5 1 0

0 0 1

729.85 740.31 732 634.94 428.24 434.14 320.47 461.52 482.43 478.68 385.92 276.53 302 248.38 1 1 1 1 1 1 1

Legs:

X Y Z

220.96 211.05 185.04 179.41 177.27 169.76 172.17 131.11 111.27 98.67 97.86 100.01 92.23 90.62 1 1 1 1 1 1 1

Rotar Blade:

X Y Z

336.78 354.74 363.86 370.56 688.79 691.47 366.54 255.77 291.7 297.06 309.66 483.65 489.01 312.87 1 1 1 1 1 1 1

Tail Blade:

X Y Z

707.83 730.88 727.94 739.46 751.8 731.96 736.25 493.57 470.52 463.01 442.63 454.43 479.09 489.28 1 1 1 1 1 1 1

Cockpit Window: X Y Z

175.01 180.91 220.05 238.28 211.74 207.99 175.01 141.93 133.62 153.19 188.05 175.18 177.32 141.93 1 1 1 1 1 1 1

Door - Main:

X Y Z

218.04 280.24 313.48 252.63 218.04 131.69 162.79 228.48 199.25 131.69 1 1 1 1 1

Door Window:

X Y Z

254.03 236.34 285.67 304.17 254.03 194.69 159.3 183.16 220.16 194.69 1 1 1 1 1

304.92 275.96 238.43 209.48 170.6 157.2 143.26 133.87 128.51 127.44 229.35 217.28 198.52 181.63 139.27 129.35 116.75 106.83 97.71 89.94 1 1 1 1 1 1 1 1 1 1 179.14 312.65 321.77 323.65 302.2 309.97 305.15 297.37 217.75 226.06 91.7 158.45 166.23 169.98 157.65 173.2 170.78 155.23 115.02 133.25 1 1 1 1 1 1 1 1 1 1 369.22 361.98 358.23 92.01 89.06 347.77 342.41 350.19 338.39 331.15 318.24 315.02 308.32 180.44 174.54 298.67 286.33 289.82 267.83 253.36 1 1 1 1 1 1 1 1 1 1 719.36 707.83 505.37 493.57 1 1 475 450 425 400 375 350 325 300 275 250 225 200 175 150 125 100 75 50 25 0 0

250

500

750

136.02 148.62 320.74 340.57 661.75 729.85 89.4 92.08 176.53 188.06 384.04 461.52 1 1 1 1 1 1 220.96 131.11 1 336.78 255.77 1

= New Transformation = Original Position

750

2D Rotation - Including around a arbitrary point: Rotation Angle: Angle in Radians:

45 0.79

Final Matrix:

Arbitrary Point X: Arbitrary Point Y: 0.71 0.71 0

Final Helicopter Parts: Body: X Y Z

-0.71 117.57 0.71 -83.85 0 1

160 100 Translate Back Matrix:

497.05 482.27 475.82 469.75 332.12 304.45 219.52 477.77 492.56 486.87 397.39 248.39 263.17 184.31 1 1 1 1 1 1 1

Legs:

X Y Z

244.65 258.68 239.72 82.12 68.09 49.89 1 1 1

232.9 226.83 227.21 46.86 46.86 39.66 1 1 1

232.9 40.03 1

Rotar Blade:

X Y Z

232.14 206.74 212.05 203.71 407.69 403.9 193.47 195.48 220.89 227.71 236.81 468.85 472.64 236.43 1 1 1 1 1 1 1

Tail Blade:

X Y Z

420.58 485.79 492.24 537.35 538.11 475.17 466.83 482.5 482.5 477.57 473.4 484.77 487.05 493.87 1 1 1 1 1 1 1

Cockpit Window: X Y Z

164.35 184.45 212.12 188.62 169.28 160.94 164.35 65.56 64.42 92.1 117.12 98.55 97.79 65.56 1 1 1 1 1 1 1

Door - Main:

X Y Z

239.69 283.67 237.79 193.05 239.69 81.02 125 171.63 129.17 81.02 1 1 1 1 1

Door Window:

X Y Z

201.5 226.52 262.54 236.38 201.5 127.68 102.66 137.16 163.32 127.68 1 1 1 1 1

1 0 0

0 1 0

160 100 1

Rotation Matrix:

0.71 0.71 0

-0.71 0.71 0

0 0 1

224.45 200.56 174.02 156.96 161.89 156.96 155.06 155.82 161.13 170.61 168.01 148.67 122.13 100.52 62.23 51.23 38.72 29.62 22.79 18.62 1 1 1 1 1 1 1 1 1 1 241.24 335.65 337.54 334.89 322 311 307.59 318.59 262.85 248.82 43.83 138.23 146.2 148.85 132.93 143.92 140.51 129.51 73.02 85.53 1 1 1 1 1 1 1 1 1 1 189.68 183.99 188.16 240.22 235.29 230.37 1 1 1

-7.48 44.58 1

-3.31 187.02 196.88 202.95 217.36 227.59 40.41 220.89 212.55 217.85 201.93 191.69 1 1 1 1 1 1

420.2 420.58 493.49 482.5 1 1 500 475 450 425 400 375 350 325 300 275 250 225 200 175 150 125 100 75 50 25 0 0

250

500

750

Translate To Origin Matrix:

1 0 0

0 1 0

183.5 197.53 321.51 333.26 510.32 497.05 22.42 29.62 150.57 165.35 409.14 477.77 1 1 1 1 1 1 244.65 82.12 1 232.14 195.48 1

= New Transformation = Original Position

750

-160 -100 1

2D Reflection - Through the X and Y axis: Reflect Through Y: Reflect Through X: Reflection Matrix:

Final Helicopter Parts: Body: X Y Z

-1 Choose which axis to reflect through, by putting a -1 in the box -1 -1 0 0

0 -1 0

0 0 1

-665.45 -665.45 -656.88 -589.32 -386.63 -377.52 -261.7 -128.79 -149.7 -150.24 -91.26 -83.21 -113.24 -117.53 1 1 1 1 1 1 1

Legs:

X Y Z

-207.22 -207.22 -180.94 -173.97 -169.68 -164.86 -169.15 -27.5 -7.66 -8.19 -10.88 -15.16 -9.8 -6.05 1 1 1 1 1 1 1

Rotar Blade:

X Y Z

-278.53 -278.53 -287.11 -287.65 -595.96 -595.96 -280.14 -116.51 -152.43 -153.5 -165.84 -185.67 -191.04 -172.81 1 1 1 1 1 1 1

Tail Blade:

X Y Z

-614.72 -660.84 -661.91 -690.86 -699.44 -656.55 -655.47 -186.21 -140.1 -132.06 -97.2 -104.71 -150.82 -161.55 1 1 1 1 1 1 1

Cockpit Window: X Y Z

-138.72 -152.13 -191.27 -192.34 -165.53 -72.57 -57.56 -57.56 -91.87 -92.41 1 1 1 1 1

Door - Main:

X Y Z

-202.93 -265.12 -265.66 -30.23 -30.23 -95.65 1 1 1

Door Window:

X Y Z

-208.92 -208.92 -258.78 -258.78 -208.92 -90.23 -54.84 -53.77 -90.77 -90.23 1 1 1 1 1

-204 -202.93 -97.25 -30.23 1 1

-159.1 -138.72 -97.77 -72.57 1 1

-253.66 -223.1 -185.56 -158.22 -134.62 -123.36 -113.18 -107.28 -106.21 -109.96 -102.52 -105.74 -105.74 -102.52 -71.95 -67.67 -60.16 -53.19 -44.61 -34.96 1 1 1 1 1 1 1 1 1 1 -177.73 -311.24 -318.21 -318.21 -297.83 -297.83 -293.01 -293.01 -213.65 -212.58 -2.83 -2.83 -7.12 -10.88 -8.73 -24.28 -24.28 -8.73 -8.19 -26.96 1 1 1 1 1 1 1 1 1 1 -280.14 -272.63 -272.1 -2.39 -2.39 -264.59 -265.66 -273.7 -272.63 -272.63 -178.17 -178.7 -172.27 -179.24 -173.34 -166.37 -153.5 -152.97 -131.52 -117.04 1 1 1 1 1 1 1 1 1 1 -622.23 -614.72 -194.25 -186.21 1 1

470 420 370 320 270 220 170 120 70 20 -30 -80 -130 -180 -230 -280 -330

-80 -130 -180 -230 -280 -330 -380 -430 -480 0

250

500

7

-121.75 -136.77 -309.96 -328.73 -626.31 -665.45 -28.52 -23.7 -21.55 -23.7 -70.88 -128.79 1 1 1 1 1 1 -207.22 -27.5 1 -278.53 -116.51 1

= New Transformation = Original Position

750

2D Reflection - Including around a arbitrary line: X Y Reflection Line Point #1: 0 0 Reflection Line Point #2: 400 400 Final Matrix:

0 1 0

Final Helicopter Parts: Body: X Y Z

1 0 0

Angle to Origin (Radians): Angle to Origin (Degrees): 0 0 1

0.79 45

(A*B)*C:

128.79 665.45 1

149.7 150.24 91.26 83.21 113.24 117.53 665.45 656.88 589.32 386.63 377.52 261.7 1 1 1 1 1 1

Legs:

X Y Z

27.5 207.22 1

7.66 8.19 10.88 15.16 9.8 6.05 207.22 180.94 173.97 169.68 164.86 169.15 1 1 1 1 1 1

Rotar Blade:

X Y Z

116.51 278.53 1

152.43 153.5 165.84 185.67 191.04 172.81 278.53 287.11 287.65 595.96 595.96 280.14 1 1 1 1 1 1

Tail Blade:

X Y Z

186.21 614.72 1

140.1 132.06 97.2 104.71 150.82 161.55 660.84 661.91 690.86 699.44 656.55 655.47 1 1 1 1 1 1

Cockpit Window: X Y Z

72.57 138.72 1

57.56 57.56 91.87 92.41 152.13 191.27 192.34 165.53 1 1 1 1

Door - Main:

X Y Z

30.23 202.93 1

30.23 95.65 265.12 265.66 1 1

Door Window:

X Y Z

90.23 208.92 1

54.84 53.77 90.77 90.23 208.92 258.78 258.78 208.92 1 1 1 1

97.25 30.23 204 202.93 1 1

97.77 72.57 159.1 138.72 1 1

E. Tran Line To Origin Matrix:

0.71 0.71 0

0.71 -0.71 0

1 0 0

0 1 0

0 0 1

D. Rot Line To Origin Matrix:

0 0 1

102.52 105.74 105.74 102.52 71.95 67.67 60.16 53.19 44.61 34.96 253.66 223.1 185.56 158.22 134.62 123.36 113.18 107.28 106.21 109.96 1 1 1 1 1 1 1 1 1 1 2.83 2.83 7.12 10.88 8.73 24.28 24.28 8.73 8.19 26.96 177.73 311.24 318.21 318.21 297.83 297.83 293.01 293.01 213.65 212.58 1 1 1 1 1 1 1 1 1 1 178.17 178.7 172.27 179.24 173.34 166.37 153.5 152.97 131.52 117.04 280.14 272.63 272.1 2.39 2.39 264.59 265.66 273.7 272.63 272.63 1 1 1 1 1 1 1 1 1 1 194.25 186.21 622.23 614.72 1 1 475 700 450 650 425 600 400 375 550 350 500 325 450 300 275 400 250 350 225 200 300 175 250 150 200 125 100 150 75 100 50 50 25 0 0 0 0

250 250

500 500

750 750

Line To Origin Matrix: 0.71 -0.71 0

0.71 0.71 0

0 0 1

C. Reflect across X Matrix:

28.52 23.7 21.55 23.7 70.88 128.79 121.75 136.77 309.96 328.73 626.31 665.45 1 1 1 1 1 1 27.5 207.22 1 116.51 278.53 1

= New Transformation = Original Position = Arbitrary Line

750 750

1 0 0

0 -1 0

0 0 1

B. Rotate Line To Norm Matrix: 0.71 0.71 0

-0.71 0.71 0

0 0 1

A. Translate Line Back Ma

A. Translate Line Back Matrix:

1 0 0

0 1 0

0 0 1

Related Documents