Ambient Occlusion shader Max samples value can be set above 16 #80083

Closed
opened 2020-08-24 19:07:31 +02:00 by Ludvik Koutny · 7 comments
Contributor

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.77

Blender Version
Broken: version: 2.83.5, branch: master (modified), commit date: 2020-08-19 06:07, hash: c2b144df39
Worked: (newest version of Blender that worked as expected)

Short description of error
According to https://developer.blender.org/T80012 , ability to set high amount of samples (above 16) in nodes which use distance tracing to compute the result is an issue, since according to the explanation under the aforementioned task, these nodes are too expensive for any higher value to be used. Ambient Occlusion shader uses also distance tracing, yet the samples value can be set above 16. Therefore it must be a bug.

Exact steps for others to reproduce the error

  1. Open the attached blend file: AOSamples.zip
  2. Notice the AO shader map samples can be set above 16
    Result: AO shader map samples can be set above 16
    Expected: Based on bug triage staff explanation under https://developer.blender.org/T80012 , no expensive to computer shader nodes should be able to have their samples value set above 16.
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.77 **Blender Version** Broken: version: 2.83.5, branch: master (modified), commit date: 2020-08-19 06:07, hash: `c2b144df39` Worked: (newest version of Blender that worked as expected) **Short description of error** According to https://developer.blender.org/T80012 , ability to set high amount of samples (above 16) in nodes which use distance tracing to compute the result is an issue, since according to the explanation under the aforementioned task, these nodes are too expensive for any higher value to be used. Ambient Occlusion shader uses also distance tracing, yet the samples value can be set above 16. Therefore it must be a bug. **Exact steps for others to reproduce the error** 1. Open the attached blend file: [AOSamples.zip](https://archive.blender.org/developer/F8808631/AOSamples.zip) 2. Notice the AO shader map samples can be set above 16 Result: AO shader map samples can be set above 16 Expected: Based on bug triage staff explanation under https://developer.blender.org/T80012 , no expensive to computer shader nodes should be able to have their samples value set above 16.
Author
Contributor

Added subscriber: @Rawalanche

Added subscriber: @Rawalanche
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

I would argue that AO and Bevel are not exactly the same thing, so it might make sense to fire more samples at AO.

Nevertheless, I would rather up the property range for the Bevel node while [@Rawalanche: this would probably solve the isses in #80012, right?] than cap the limit for AO...
D8701: Fix #80012: Bevel Shader node Samples value has too low hardcoded limit

I would argue that AO and Bevel are not exactly the same thing, so it might make sense to fire more samples at AO. Nevertheless, I would rather up the property range for the Bevel node while [@Rawalanche: this would probably solve the isses in #80012, right?] than cap the limit for AO... [D8701: Fix #80012: Bevel Shader node Samples value has too low hardcoded limit](https://archive.blender.org/developer/D8701)
Author
Contributor

In #80083#1002224, @lichtwerk wrote:
I would argue that AO and Bevel are not exactly the same thing, so it might make sense to fire more samples at AO.

Nevertheless, I would rather up the property range for the Bevel node while [@Rawalanche: this would probably solve the isses in #80012, right?] than cap the limit for AO...
D8701: Fix #80012: Bevel Shader node Samples value has too low hardcoded limit

Yes, I reported this just to show how the reason for rejecting #80012 conflicts with common sense and consistency. I of course don't want Max AO samples harcoded limit lowered ;)

Also, in case of of using Bevel just for rendertime bevel, I agree that lower amount of samples may be enough. But the thing here is that Blender gives us a complete node based editor with as low level tools as elementary geometry shading components and vector math / transform nodes. So it doesn't make much sense to make such strong assumptions on how people are going to utilize these shading nodes. Here's an example of the Bevel node creative usage specifically:
https://blenderartists.org/t/quick-procedural-shading-tip-bevel-shader-mask/1248242

> In #80083#1002224, @lichtwerk wrote: > I would argue that AO and Bevel are not exactly the same thing, so it might make sense to fire more samples at AO. > > Nevertheless, I would rather up the property range for the Bevel node while [@Rawalanche: this would probably solve the isses in #80012, right?] than cap the limit for AO... > [D8701: Fix #80012: Bevel Shader node Samples value has too low hardcoded limit](https://archive.blender.org/developer/D8701) Yes, I reported this just to show how the reason for rejecting #80012 conflicts with common sense and consistency. I of course don't want Max AO samples harcoded limit lowered ;) Also, in case of of using Bevel just for rendertime bevel, I agree that lower amount of samples may be enough. But the thing here is that Blender gives us a complete node based editor with as low level tools as elementary geometry shading components and vector math / transform nodes. So it doesn't make much sense to make such strong assumptions on how people are going to utilize these shading nodes. Here's an example of the Bevel node creative usage specifically: https://blenderartists.org/t/quick-procedural-shading-tip-bevel-shader-mask/1248242
Member

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

Changed status from 'Needs Triage' to: 'Archived'
Philipp Oeser self-assigned this 2020-08-25 11:58:39 +02:00
Member

@Rawalanche : D8701: Fix #80012: Bevel Shader node Samples value has too low hardcoded limit has been accepted, will commit in a bit (raises the Bevel limit to 128 just like AO, but leaves the UI "soft" limit at 16).

That would leave us with this report being "invalid", but I guess this is what you expected ;)

@Rawalanche : [D8701: Fix #80012: Bevel Shader node Samples value has too low hardcoded limit](https://archive.blender.org/developer/D8701) has been accepted, will commit in a bit (raises the Bevel limit to 128 just like AO, but leaves the UI "soft" limit at 16). That would leave us with this report being "invalid", but I guess this is what you expected ;)
Author
Contributor

In #80083#1002294, @lichtwerk wrote:
@Rawalanche : D8701: Fix #80012: Bevel Shader node Samples value has too low hardcoded limit has been accepted, will commit in a bit (raises the Bevel limit to 128 just like AO, but leaves the UI "soft" limit at 16).

That would leave us with this report being "invalid", but I guess this is what you expected ;)

Yup :) Thank you.

> In #80083#1002294, @lichtwerk wrote: > @Rawalanche : [D8701: Fix #80012: Bevel Shader node Samples value has too low hardcoded limit](https://archive.blender.org/developer/D8701) has been accepted, will commit in a bit (raises the Bevel limit to 128 just like AO, but leaves the UI "soft" limit at 16). > > That would leave us with this report being "invalid", but I guess this is what you expected ;) Yup :) Thank you.
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
2 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#80083
No description provided.