Cycles: improve subsurface scattering for some meshes shapes #91540

Open
opened 2021-09-20 19:25:22 +02:00 by Brecht Van Lommel · 8 comments

In cycles-x, the Christensen-Burley dipole approximation was fully replaced by random walk.

However for some mesh shapes results are not as good, or could be improved regardless.

  • Self-intersection meshes give dark borders. Counting back/front facing intersections could help determine inside/outside better to avoid such artifacts.
  • Sharp corners "glow", which may be physically correct but is not necessarily desired. It may be possible to add user control with an option somehow, using some minimum throughput

If these can't be solved, we may consider adding back the dipole approximation, but since path splitting and the memory usage is a difficult fit for the new kernels we'd really like to avoid it.

In cycles-x, the Christensen-Burley dipole approximation was fully replaced by random walk. However for some mesh shapes results are not as good, or could be improved regardless. * Self-intersection meshes give dark borders. Counting back/front facing intersections could help determine inside/outside better to avoid such artifacts. * Sharp corners "glow", which may be physically correct but is not necessarily desired. It may be possible to add user control with an option somehow, using some minimum throughput If these can't be solved, we may consider adding back the dipole approximation, but since path splitting and the memory usage is a difficult fit for the new kernels we'd really like to avoid it.
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscriber: @brecht

Added subscriber: @brecht

Added subscriber: @GeorgiaPacific

Added subscriber: @GeorgiaPacific

Added subscriber: @DavidKozma

Added subscriber: @DavidKozma

Hi Brecht,
I'd like to add my 2cents for this. I recently created a tutorial where I specifically talk about this problem in the current Cycles.
My method was to create an illusion of continuous meshes with shrinkwrap and normal transfer modifiers. With SSS this creates various artifacts I present below.

Could you please weight in on how much of this specific problem could be possibly elevated with the improvements of this task?

I added the images from the tutorial and a link to blend file containing the skull mesh.

When I tested the file for this post I realized - with Random Walk - the artifact is magnitudes stronger when the meshes are joined.
I hope this specific use of normal aligned and very close proximity meshes give you an edge case which's good for testing.

image.png
image.png
https://www.dropbox.com/s/vptgmlzulblptdv/skull.blend?dl=0

Hi Brecht, I'd like to add my 2cents for this. I recently created a tutorial where I specifically talk about this problem in the current Cycles. My method was to create an illusion of continuous meshes with shrinkwrap and normal transfer modifiers. With SSS this creates various artifacts I present below. Could you please weight in on how much of this specific problem could be possibly elevated with the improvements of this task? I added the images from the tutorial and a link to blend file containing the skull mesh. When I tested the file for this post I realized - with Random Walk - the artifact is magnitudes stronger when the meshes are joined. I hope this specific use of normal aligned and very close proximity meshes give you an edge case which's good for testing. ![image.png](https://archive.blender.org/developer/F10541092/image.png) ![image.png](https://archive.blender.org/developer/F10541108/image.png) https://www.dropbox.com/s/vptgmlzulblptdv/skull.blend?dl=0
Author
Owner

Objects that together form a single volume must be joined for SSS to work. There is no intent to remove that requirement.

Objects that together form a single volume must be joined for SSS to work. There is no intent to remove that requirement.

Added subscriber: @Emi_Martinez

Added subscriber: @Emi_Martinez

Added subscriber: @SamGreen

Added subscriber: @SamGreen
Brecht Van Lommel added this to the Render & Cycles project 2023-02-07 19:08:06 +01:00
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:02:59 +01:00
Sign in to join this conversation.
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 Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#91540
No description provided.