Cycles Glass Black artifacts #44595

Closed
opened 2015-05-03 23:10:33 +02:00 by Eugenio Pignataro · 10 comments

Kubuntu x64 14.10

62b13c6 (From Git)
Broken: -
Worked: -

Hi Folks!
I'm working on a project for medical instruments.
I found a problem with refraction materials. I don't know exactly if this worked fine in some version.

The problem:
The refraction shaders (glass and refraction+glossy) have black artifacts in some faces. This problem becomes worse when roughness appear, because this is expanded.
The black artifacts give less credibility to the realism, it's a huge problem.
I tried with more light paths bounces... but without success.
I solve this with image edition (krita), it's a patch, but is not the best solution.
Other alternative solution is set the subsurf to high values!.

In the image example you can see model, a simple cube with 2 extrude and bevel.
Environment white, for reduce the error percentage.
High values to light paths. Integrator in Branched.
The model haven't subsurface.
I leave 2 settings ready, glass and refraction + glossy.

IMAGE: http://www.pasteall.org/pic/87696
SCENE: https://dl.dropboxusercontent.com/u/14261604/IOR.blend

Thanks a bunch!

Kubuntu x64 14.10 62b13c6 (From Git) Broken: - Worked: - Hi Folks! I'm working on a project for medical instruments. I found a problem with refraction materials. I don't know exactly if this worked fine in some version. The problem: The refraction shaders (glass and refraction+glossy) have black artifacts in some faces. This problem becomes worse when roughness appear, because this is expanded. The black artifacts give less credibility to the realism, it's a huge problem. I tried with more light paths bounces... but without success. I solve this with image edition (krita), it's a patch, but is not the best solution. Other alternative solution is set the subsurf to high values!. In the image example you can see model, a simple cube with 2 extrude and bevel. Environment white, for reduce the error percentage. High values to light paths. Integrator in Branched. The model haven't subsurface. I leave 2 settings ready, glass and refraction + glossy. IMAGE: http://www.pasteall.org/pic/87696 SCENE: https://dl.dropboxusercontent.com/u/14261604/IOR.blend Thanks a bunch!
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @EugenioPignataro

Added subscriber: @EugenioPignataro

Added subscriber: @NahuelBelich

Added subscriber: @NahuelBelich

Added subscriber: @brecht

Added subscriber: @brecht

This is a typical issue with smooth normals when they don't match the actual geometry sufficiently. If you use flat normals, or add a subsurf modifier to get a smaller difference between the actual geometry and the normals then the problem goes away. It's another variation of the terminator problem with no easy solution.

In the past we haven't considered this a bug, as all raytracers suffer from this one way or another, and it's more something to research once, not something that can just be fixed.

This is a typical issue with smooth normals when they don't match the actual geometry sufficiently. If you use flat normals, or add a subsurf modifier to get a smaller difference between the actual geometry and the normals then the problem goes away. It's another variation of the terminator problem with no easy solution. In the past we haven't considered this a bug, as all raytracers suffer from this one way or another, and it's more something to research once, not something that can just be fixed.

Added subscriber: @MohamedSakr-2

Added subscriber: @MohamedSakr-2
@brecht , check this, http://blog.yiningkarlli.com/2015/01/consistent-normal-interpolation.html

I'm familiar with this, and don't much like the particular algorithm since it doesn't handle bump mapping, diffuse or any roughness > 0. Not that there are ideal solutions, but this is quite complex to only solve a special case.

I'm familiar with this, and don't much like the particular algorithm since it doesn't handle bump mapping, diffuse or any roughness > 0. Not that there are ideal solutions, but this is quite complex to only solve a special case.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2015-05-11 13:08:03 +02:00

There are number of possible ways improving behavior in this case, but wouldn't really consider this a bug still. Improvements are happening outside of the bug tracker.

So thanks for the report, but archiving it now.

There are number of possible ways improving behavior in this case, but wouldn't really consider this a bug still. Improvements are happening outside of the bug tracker. So thanks for the report, but archiving it now.
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 project
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#44595
No description provided.