From 1829061e1f9fbfbdd0cf7ff954545a2ae8c9443f Mon Sep 17 00:00:00 2001 From: Simon Stucki Date: Fri, 16 Aug 2024 14:54:00 +0200 Subject: [PATCH] Add bvh split axis heuristic measurements --- report/parts/results.tex | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/report/parts/results.tex b/report/parts/results.tex index 5100897..21ea922 100644 --- a/report/parts/results.tex +++ b/report/parts/results.tex @@ -234,6 +234,25 @@ \subsection*{Russian Roulette} \label{tab:russian-roulette-measurements} \end{table} +\subsection*{BVH Split Axis Heuristic} + +For the intersection tests using the \gls{BVH}, the split axis is used as a heuristic for node traversal as described in \autoref{sec:bvh-implementation}. In order to assess the effectiveness of the heuristic, the benchmark results for the path tracing routine are shown in \autoref{tab:bvh-split-axis-measurements}. + +\begin{table}[H] + \centering + \ra{1.3} + \begin{tabular}{@{}lll@{}} + \toprule + & With split axis heuristic & Without split axis heuristic \\ + High & 3,244.30 ms $\pm$ 45.71 ms & 4,039.87 ms $\pm$ 33.51 ms \\ + Mid & 2,663.14 ms $\pm$ 35.57 ms & 3,181.89 ms $\pm$ 24.92 ms \\ + Low & 2,698.65 ms $\pm$ 27.60 ms & 3,124.27 ms $\pm$ 36.02 ms \\ + \bottomrule + \end{tabular} + \caption{Benchmark results for BVH split axis heuristic.} + \label{tab:bvh-split-axis-measurements} +\end{table} + \subsection*{Overall Performance} The results for \gls{CPU} performance were recorded using the Performance API and are presented in Table~\ref{tab:cpuPerformance}. The results for \gls{GPU} performance were recorded using \gls{WebGPU} timestamp queries and are presented in Table~\ref{tab:gpuPerformance}.