Artifacts created in Cycles render when object set to Shade Auto Smooth #109573

Closed
opened 2023-07-01 00:22:08 +02:00 by Bryce-Witcher · 6 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.74

Blender Version
Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: c7fc78b81ecb
Worked: (newest version of Blender that worked as expected)

Short description of error
Artifacts created in Cycles render when object set to Shade Auto Smooth

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]

Render frame 37 of the Blend file. The object Gold Leaf.003 is set to Shade Auto Smooth. Your render will look like my example: Frame-37-Using-Shade-Auto-Smooth.png.
Now, set that object to Shade Smooth and re-render frame 37. It will be clean.

[Based on the default startup or an attached .blend file (as simple as possible)]

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.74 **Blender Version** Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: `c7fc78b81ecb` Worked: (newest version of Blender that worked as expected) **Short description of error** Artifacts created in Cycles render when object set to Shade Auto Smooth **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] Render frame 37 of the Blend file. The object Gold Leaf.003 is set to Shade Auto Smooth. Your render will look like my example: Frame-37-Using-Shade-Auto-Smooth.png. Now, set that object to Shade Smooth and re-render frame 37. It will be clean. [Based on the default startup or an attached .blend file (as simple as possible)]
Bryce-Witcher added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-07-01 00:22:08 +02:00

Hey, thanks for report. Did you attach example file to reproduce?

Hey, thanks for report. Did you attach example file to reproduce?

I had the same issue. I think this might be related to the MSVC 17.6 codegen bug.
96867a713b
I think that most of the tests that fail use auto smooth.

The cmake file won't let you build with 17.6 and I thought I had set it to use 17.5, at least enough to get past the warning but it seems like somewhere along the line it still builds with the most recent version you have installed. If you compiled blender yourself maybe you did the same thing as me? In the end I just uninstalled everything and used the 17.7 preview instead, which fixes the problem.

Sorry if i'm completely wrong.

I had the same issue. I think this might be related to the MSVC 17.6 codegen bug. https://projects.blender.org/blender/blender/commit/96867a713bc22bbfc43f336a2d437cfbfa6d7532 I think that most of the tests that fail use auto smooth. The cmake file won't let you build with 17.6 and I thought I had set it to use 17.5, at least enough to get past the warning but it seems like somewhere along the line it still builds with the most recent version you have installed. If you compiled blender yourself maybe you did the same thing as me? In the end I just uninstalled everything and used the 17.7 preview instead, which fixes the problem. Sorry if i'm completely wrong.
Iliya Katushenock added the
Interest
Modeling
Interest
Render & Cycles
labels 2023-07-02 23:33:13 +02:00
Member

@Bryce-Witcher / @hannah-jennings hi, .blend file will be helpful for further investigation

@Bryce-Witcher / @hannah-jennings hi, .blend file will be helpful for further investigation
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-07-03 07:56:13 +02:00

Hey for me it was just any time auto smooth was used at all. You could do it with the default cube, just set auto smooth and render in cycles, and it will be completely corrupted.

This message keeps coming up in the console:

Code marked as unreachable has been executed. Please report this as a bug.
Error found at C:\blender\blender\source\blender\blenkernel\BKE_attribute_math.hh:41 in operator ().

590f3582c9/source/blender/blenkernel/BKE_attribute_math.hh (L28)
3346d433ee/source/blender/blenlib/BLI_cpp_type.hh (L725)

I'm not the best at c++ but I think this code uses lambdas and fold expressions, which are broken with msvc 17.6.

Like I said before, the reason why I was running in to this is either I did something wrong, 17.5 is broken also?, or blenders cmake file doesn't actually use the msvc version you configure it with.

Hey for me it was just any time auto smooth was used at all. You could do it with the default cube, just set auto smooth and render in cycles, and it will be completely corrupted. This message keeps coming up in the console: > Code marked as unreachable has been executed. Please report this as a bug. > Error found at C:\blender\blender\source\blender\blenkernel\BKE_attribute_math.hh:41 in operator (). https://projects.blender.org/blender/blender/src/commit/590f3582c9a337fe30b1997bfd790b22868c0bf2/source/blender/blenkernel/BKE_attribute_math.hh#L28 https://projects.blender.org/blender/blender/src/commit/3346d433ee95b8d9e8fb4f34ca37ed14362b15d6/source/blender/blenlib/BLI_cpp_type.hh#L725 I'm not the best at c++ but I think this code uses lambdas and fold expressions, which are broken with msvc 17.6. Like I said before, the reason why I was running in to this is either I did something wrong, 17.5 is broken also?, or blenders cmake file doesn't actually use the msvc version you configure it with.
Iliya Katushenock added the
Interest
Platforms, Builds & Tests
label 2023-07-03 16:12:43 +02:00

@hannah-jennings I was told the bender is not building to this MSVC version. So if you downloaded blender from the official site, it must be a different problem.

@hannah-jennings I was told the bender is not building to this MSVC version. So if you downloaded blender from the official site, it must be a different problem.
Member

No activity for more than a week (from reporter). As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week (from reporter). As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-07-18 07:31:01 +02: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 project
No Assignees
4 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#109573
No description provided.