Light threshold broke branched path tracer #50116
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#50116
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Linux Debian Jessie, 64bit, core i7 something. Should not really matter.
Blender Version
Current git
bcd0d85
.Short description of error
The image is too noisy. Very too much noisy.
Exact steps for others to reproduce the error
Just hit
Shit-Z
in untitled.blend@brecht says it's really a bug.
Changed status to: 'Open'
Added subscribers: @brecht, @Sergey
I've just tested the file, and there indeed is a huge difference when disabling the light termination.
However, the same seems to happen for regular PT (which makes sense, since there's only one light source).
Here are my renders (with Color Management exposure at 3):
BPT, Termination 0.05:
BPT, No Termination:
PT, also 4 Samples, Termination 0.05:
PT, also 4 Samples, No Termination:
The main problem is that this scene is pretty dark (even the bright checker squares only get up to 0.05), so the default termination value is too high here. That is a problem in general - the threshold should be relative to the area's brightness, but you don't know that before rendering...
If such optimization leads to a more noisy image in dark areas then i'm not fully convinced in default value for it picked up correctly: you optimized per-sample time but required to have more samples to clear up the dark areas?
Perhaps when we have adaptive sampling we can do some kind of brightness estimation and adaptively change the threshold. Currently I suggest to lower the default threshold to 0.01.
I noticed the result with 1 sample the shadows look really different. This correlation problem is not new, it's the same as
e1e247a99b
. Adding the extra hash for every RNG dimension solves it but slows down rendering, ideally we'd find a faster way to do this hashing.Will simpler hash combine function work?
For example, default Boost's
hash_combine
will be expanded to something likeresult ^= dimension + 0x9e3779b9 + (result << 6) + (result >> 2)
for the case of integer dimension and hash result. Seems to be way simpler thancmj_hash()
but can't test ATM whether it solves the correlation artifact.This issue was referenced by blender/cycles@1fdbf8fbba
This issue was referenced by
f812b05922
Changed status from 'Open' to: 'Resolved'