From c2b52fdf7ab49b7efb28965a239cfed4e301d9c2 Mon Sep 17 00:00:00 2001 From: Euan Hughes Date: Fri, 6 Nov 2026 17:02:55 -0500 Subject: [PATCH] [vmm] Using a single lobe for the isotropic HG phase function Signed-off-by: Euan Hughes --- openpgl/directional/vmm/VMMPhaseFunctions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openpgl/directional/vmm/VMMPhaseFunctions.cpp b/openpgl/directional/vmm/VMMPhaseFunctions.cpp index 72a32ea1..cea7c829 100644 --- a/openpgl/directional/vmm/VMMPhaseFunctions.cpp +++ b/openpgl/directional/vmm/VMMPhaseFunctions.cpp @@ -21,17 +21,17 @@ void VMMSingleLobeHenyeyGreensteinOracle::init() maxMeanCosine = 0.99f; numRepresentations = 128; - representations[0].K = 3; + representations[0].K = 1; representations[0].g = 0.0f; - representations[0].weights[0] = 0.01688512612073299f; + representations[0].weights[0] = 1.0f; representations[0].meanCosines[0] = 0.0f; representations[0].kappas[0] = 0.0f; representations[0].normalizations[0] = 0.07957747154594767f; - representations[0].weights[1] = 0.34940739552081895f; + representations[0].weights[1] = 0.0f; representations[0].meanCosines[1] = 0.0f; representations[0].kappas[1] = 0.0f; representations[0].normalizations[1] = 0.07957747154594767f; - representations[0].weights[2] = 0.6337074783584481f; + representations[0].weights[2] = 0.0f; representations[0].meanCosines[2] = 0.0f; representations[0].kappas[2] = 0.0f; representations[0].normalizations[2] = 0.07957747154594767f;