From 5858783bda14944665973adb71636905b0f06501 Mon Sep 17 00:00:00 2001 From: dluisnothere <43430369+dluisnothere@users.noreply.github.com> Date: Sun, 9 Oct 2022 23:14:39 -0400 Subject: [PATCH] Update README.md --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7a98ddee..5b8c131a 100644 --- a/README.md +++ b/README.md @@ -134,13 +134,27 @@ I also implemented bump mapping for uv textures. I followed these slides for ins ## Performance Analysis -- Stream compaction helps most after a few bounces. Print and plot the effects of stream compaction within a single iteration (i.e. the number of unterminated rays after each bounce) and evaluate the benefits you get from stream compaction. +**Stream compaction helps most after a few bounces. Print and plot the effects of stream compaction within a single iteration (i.e. the number of unterminated rays after each bounce) and evaluate the benefits you get from stream compaction.** -- Compare scenes which are open (like the given cornell box) and closed (i.e. no light can escape the scene). Again, compare the performance effects of stream compaction! Remember, stream compaction only affects rays which terminate, so what might you expect? +![](img/streamCompactionBasic.png) + +![](img/depthVsTime.png) + +**Compare scenes which are open (like the given cornell box) and closed (i.e. no light can escape the scene). Again, compare the performance effects of stream compaction! Remember, stream compaction only affects rays which terminate, so what might you expect?** + +![](img/pathsNoCompaction.png) + +![](img/runtimeClosedScene.png) My hypothesis is that since the scene is closed, all rays will hit something on each bounce. This means stream compaction won't remove any rays unless the ray ran out of bounces or it hit a light source. -- For optimizations that target specific kernels, we recommend using stacked bar graphs to convey total execution time and improvements in individual kernels. For example: +**Material Sorting Performance** + + + +**First Bounce Caching** + +**Bounding Box for OBJ** ## Bloopers! :)