Practicum computergrafix

  • Published on
    12-Feb-2017

  • View
    195

  • Download
    0

Embed Size (px)

Transcript

  • Practicum Computergrafieken 2013-2014

    Serge Hendrickx

  • Deel 1: Basis

  • Deel 1: Basis

  • Deel 1: Basis

  • Deel 2: Versnellingsstructuren

  • Deel 2: Versnellingsstructuren

    Grid - Space subdivision Bound Volume Hierarchy

  • Deel 2: Versnellingsstructuren

    Teapot

    Set-up Render

    no acceleration 0 195138 100.00%

    BVH - one box per object 3 62161 31.86%

    BVH - 1 triangle per box 91 2919 1.54%

    BVH - 10 triangles per box 40 2596 1.35%

    BVH - 100 triangles per box 30 4783 2.47%

    BVH - 1000 triangles per box 17 20537 10.53%

    SD - 3*3*3 Cells 21 4284 2.21%

    SD - 6*6*6 Cells 56 1782 0.94%

    SD - 10*10*10 Cells 275 2144 1.24%

    Time in milliseconds

  • Deel 2: Versnellingsstructuren

    Time in milliseconds

    Tree

    Set-up Render

    no acceleration 0 4962338 100.00%

    BVH - one box per object 5 1880361 37.89%

    BVH - 1 triangle per box 27975 4443 0.65%

    BVH - 10 triangles per box 31990 5006 0.75%

    BVH - 100 triangles per box 26890 7321 0.69%

    BVH - 1000 triangles per box 23422 36209 1.20%

    SD - 3*3*3 Cells 1740 131766 2.69%

    SD - 6*6*6 Cells 12176 31839 0.89%

    SD - 10*10*10 Cells 43159 12072 1.11%

  • Deel 2: Versnellingsstructuren

    3*3*3 evenly distributed 3*3*3 randomly distributed

  • Deel 2: Versnellingsstructuren

    Time in milliseconds

    3 * 3 * 3

    Evenly Randomly

    Set-up Render Set-up Render

    no acceleration 0 248132 100.00% 0 256579 100.00%

    BVH - one box per object 3 870 0.35% 4 3361 1.31%

    BVH - 1 triangle per box 385 1163 0.62% 397 2873 1.27%

    BVH - 10 triangles per box 250 1703 0.79% 246 2736 1.16%

    BVH - 100 triangles per box 270 2678 1.19% 175 3426 1.40%

    BVH - 1000 triangles per box 260 10868 4.48% 200 17800 7.02%

    SD - 3*3*3 Cells 10 4115 1.66% 35 10485 4.10%

    SD - 6*6*6 Cells 270 1476 0.70% 200 4012 1.64%

    SD - 10*10*10 Cells 817 995 0.73% 895 3166 1.58%

  • Deel 2: Versnellingsstructuren

    6*6*6 evenly distributed 6*6*6 randomly distributed

  • Deel 2: Versnellingsstructuren

    Time in milliseconds

    6 * 6 * 6

    Evenly Randomly

    Set-up Render Set-up Render

    no acceleration 0 1435952 100.00% 0 1448111 100.00%

    BVH - one box per object 1 7185 0.50% 3 44849 3.10%

    BVH - 1 triangle per box 4025 4380 0.59% 3745 37914 2.88%

    BVH - 10 triangles per box 3700 4880 0.60% 3528 38783 2.92%

    BVH - 100 triangles per box 3633 6965 0.74% 3122 42328 3.14%

    BVH - 1000 triangles per box 2415 27932 2.11% 2605 106304 7.52%

    SD - 3*3*3 Cells 214 45122 3.16% 234 87090 6.03%

    SD - 6*6*6 Cells 1955 11528 0.94% 1650 45329 3.24%

    SD - 10*10*10 Cells 7883 6752 1.02% 7681 41709 3.41%

  • Deel 2: Versnellingsstructuren

    10*10*10 evenly distributed 10*10*10 randomly distributed

  • Deel 2: Versnellingsstructuren

    Time in milliseconds

    10 * 10 * 10

    Evenly Randomly

    Set-up Render Set-up Render

    no acceleration 0 6475292 100.00% 0 6827917 100.00%

    BVH - one box per object 15 75527 1.17% 10 312035 4.57%

    BVH - 1 triangle per box 20989 63170 1.30% 23460 271700 4.32%

    BVH - 10 triangles per box 18211 64803 1.28% 21830 273365 4.32%

    BVH - 100 triangles per box 16880 71853 1.37% 20780 295731 4.64%

    BVH - 1000 triangles per box 13590 141775 2.40% 17620 430136 6.56%

    SD - 3*3*3 Cells 1325 351251 5.44% 1070 459353 6.74%

    SD - 6*6*6 Cells 7440 124005 2.03% 7230 287892 4.32%

    SD - 10*10*10 Cells 33615 75207 1.68% 32505 274108 4.49%

  • Deel 3: Visuele Effecten

  • Deel 3: Visuele Effecten: Texturen

    Planar mapping Spherical mapping

  • Deel 3: Visuele Effecten: Texturen

    Flat texture Bump mapping Normal mapping

  • Deel 3: Visuele Effecten: Texturen

    CubeMap

  • Deel 3: Visuele Effecten: Texturen

    CubeMap

  • Deel 3: Visuele Effecten: Texturen

    CubeMap

  • Deel 3: Visuele Effecten: Reflectie

  • Deel 3: Visuele Effecten: Refractie

    No sphere n = 1.00 (vacuum)

    n = 1.52 (glass) n = 1.33 (water)