Bevel Shader node Samples value has too low hardcoded limit #80012

Closed
opened 3 years ago by Rawalanche · 10 comments

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
Bevel shader value has hardcoded limit for the max amount of samples at a very low value of 16. This causes issues when using Bevel shader as a mask for wear and tear procedural materials (by calculating distance between original and beveled normals). Trying to clean the noise using Cycles' AA sampling is then much less efficient and more performance wasting than simply increasing the Bevel samples value to sufficient levels.
image.png

Exact steps for others to reproduce the error

  1. In a new .blend file, create a new material and add Bevel shader node
  2. Try to set samples value above 16

Result: The samples value can not be raised above 16.

Expected: The samples value can be raised above 16 so that sufficient sampling can be achieved when using Bevel node output as a maks for procedural materials.

**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** Bevel shader value has hardcoded limit for the max amount of samples at a very low value of 16. This causes issues when using Bevel shader as a mask for wear and tear procedural materials (by calculating distance between original and beveled normals). Trying to clean the noise using Cycles' AA sampling is then much less efficient and more performance wasting than simply increasing the Bevel samples value to sufficient levels. ![image.png](https://archive.blender.org/developer/F8803150/image.png) **Exact steps for others to reproduce the error** 1. In a new .blend file, create a new material and add Bevel shader node 2. Try to set samples value above 16 Result: The samples value can not be raised above 16. Expected: The samples value can be raised above 16 so that sufficient sampling can be achieved when using Bevel node output as a maks for procedural materials.
Poster

Added subscriber: @Rawalanche

Added subscriber: @Rawalanche
Collaborator

Added subscriber: @mano-wii

Added subscriber: @mano-wii
Collaborator

Thaks for the report.
Can you provide a simple file showing the problem?

Thaks for the report. Can you provide a simple file showing the problem?
Poster

In #80012#1001771, @mano-wii wrote:
Thaks for the report.
Can you provide a simple file showing the problem?

Yes, I can, but this request makes no sense to me as this is not scene specific.

BevelSamples.zip

> In #80012#1001771, @mano-wii wrote: > Thaks for the report. > Can you provide a simple file showing the problem? Yes, I can, but this request makes no sense to me as this is not scene specific. [BevelSamples.zip](https://archive.blender.org/developer/F8808412/BevelSamples.zip)
Collaborator

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

Changed status from 'Needs Triage' to: 'Archived'
mano-wii closed this issue 2 years ago
mano-wii self-assigned this 2 years ago
Collaborator

Now I was able to understand the problem better.

As far as I can see this is not a bug, but a request for changed or improved behavior.
There is a reason why this value is limited (See the manual )
Therefore, although procedural, the use of high values indicates misuse as it leaves the materials complex and the rendering time longer.

For user feedback and feature requests other channels are used: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests
We cannot accept feature requestes in this bug tracker. (Here explains the reasons:: https://wiki.blender.org/wiki/Reference/Not_a_bug)

Now I was able to understand the problem better. As far as I can see this is not a bug, but a request for changed or improved behavior. There is a reason why this value is limited (See the [manual ](https://docs.blender.org/manual/en/dev/render/shader_nodes/input/bevel.html#properties)) Therefore, although procedural, the use of high values indicates misuse as it leaves the materials complex and the rendering time longer. For user feedback and feature requests other channels are used: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests We cannot accept feature requestes in this bug tracker. (Here explains the reasons:: https://wiki.blender.org/wiki/Reference/Not_a_bug)
Poster

In #80012#1001865, @mano-wii wrote:
Now I was able to understand the problem better.

As far as I can see this is not a bug, but a request for changed or improved behavior.
There is a reason why this value is limited (See the manual )
Therefore, although procedural, the use of high values indicates misuse as it leaves the materials complex and the rendering time longer.

For user feedback and feature requests other channels are used: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests
We cannot accept feature requestes in this bug tracker. (Here explains the reasons:: https://wiki.blender.org/wiki/Reference/Not_a_bug)

This makes absolutely no sense whatsoever, because following this logic, Ambient Occlusion shader should also have samples limit hardcoded at this extremely low value. Should I report a new bug that AO shader samples can be increased above 16?

Actually, as a result of this issue, the rendertimes are longer because trying to clean up this kind of sampling with AA samples is incredibly inefficient. (Brute forcing lack of secondary rays with excessive amount of primary ones)

> In #80012#1001865, @mano-wii wrote: > Now I was able to understand the problem better. > > As far as I can see this is not a bug, but a request for changed or improved behavior. > There is a reason why this value is limited (See the [manual ](https://docs.blender.org/manual/en/dev/render/shader_nodes/input/bevel.html#properties)) > Therefore, although procedural, the use of high values indicates misuse as it leaves the materials complex and the rendering time longer. > > For user feedback and feature requests other channels are used: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests > We cannot accept feature requestes in this bug tracker. (Here explains the reasons:: https://wiki.blender.org/wiki/Reference/Not_a_bug) This makes absolutely no sense whatsoever, because following this logic, Ambient Occlusion shader should also have samples limit hardcoded at this extremely low value. Should I report a new bug that AO shader samples can be increased above 16? Actually, as a result of this issue, the rendertimes **are** longer because trying to clean up this kind of sampling with AA samples is incredibly inefficient. (Brute forcing lack of secondary rays with excessive amount of primary ones)
Collaborator

This issue was referenced by a9ae45597c

This issue was referenced by a9ae45597c334334a715e72de953b0f28fc34a07
Collaborator

This issue was referenced by 5f86a10477

This issue was referenced by 5f86a104775be51e216c40efe1bd69c3e35f49e7
Collaborator

Changed status from 'Archived' to: 'Resolved'

Changed status from 'Archived' to: 'Resolved'
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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#80012
Loading…
There is no content yet.