You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do path guiding with spatio-directional (directions are implicit from light IDs) acceleration structure, could be with complete disregard for light NEE.
19
+
Obviously the budgets for directions are low, so we might need to only track important lights and group them. Should probably read the spatiotemporal reservoir sampling paper.
20
+
21
+
Each light gets a computed OBB and we use spherical OBB sampling (not projected solid angle, but we could clip) to generate the samples.
22
+
Then NEE does perfect spherical sampling of the bounding volume.
23
+
24
+
The OBBs could be hierarchical, possibly.
25
+
26
+
OPTIMIZATION: Could possibly shoot an AnyHit to the front of the convex hull volume, and then ClosestHit between the front and back.
27
+
BRDF sampling just samples the BSDF analytically (or gives up and samples only the path-guiding AS), uses Closest Hit and proceeds classically.
28
+
There's essentially 3 ways to generate samples: NEE with PGAS (discrete directions), NEE with PGAS (for all incoming lights), BSDF Analytical.
29
+
PROS: Probably a much better sample generation strategy, might clean up a lot of noise.
30
+
CONS: We don't know the point on the surface we are going to hit (could be any of multiple points for a concave light), so we cannot cast a fixed length ray.
31
+
We need to cast a ray to the furthest back side of the Bounding Volume, and it cannot be an just an AnyHit ray, it needs to have a ClosestHit shader that will compare
32
+
if the hit instanceID==lightGroupID. It can probably be optimized so that it uses a different shadow-only + light-compare SBT. So it may take a lot longer to compute a sample.
33
+
CONCLUSION:
34
+
We'll either be generating samples:
35
+
A) From PGAS CDF
36
+
No special light structure, just PGAS + GAS.
37
+
C) Spherical sampling of OBBs
38
+
OBB List with a CDF for the whole list in PGAS, then analytical
0 commit comments