Skip to content

Fix bug in Distribution2D::tabulateCdf() with CIRCULAR mapping#18

Open
jlanz wants to merge 1 commit into
OpenMoonRay:mainfrom
dreamworksanimation:export/MOONRAY-6034
Open

Fix bug in Distribution2D::tabulateCdf() with CIRCULAR mapping#18
jlanz wants to merge 1 commit into
OpenMoonRay:mainfrom
dreamworksanimation:export/MOONRAY-6034

Conversation

@jlanz
Copy link
Copy Markdown
Contributor

@jlanz jlanz commented Jun 1, 2026

Resolves OpenMoonRay/openmoonray#248
Fixed a bug in textured DiskLights which yielded slightly incorrect sampling and added fireflies.

The extra half texel offset ensures inclusion of all texels which have non-empty intersection with the disk.

Signed-of-by: Jon Lanz jon.lanz@dreamworks.com

* Work in progress

* Fix for MOONRAY-6034

* Apply Copilot feedback

* Make some vars const

Signed-off-by: Jon Lanz <jon.lanz@dreamworks.com>
@jlanz jlanz requested a review from a team June 1, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Distribution2D::tabulateCdf() contains a bug when the mapping is set to CIRCULAR

2 participants