Random per Island splits mesh based on sharp edges #95619

Closed
opened 2022-02-08 18:16:35 +01:00 by slowburn · 12 comments

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.09

Blender Version
Broken: version: 3.1.0 Beta, branch: master, commit date: 2022-02-07 22:08, hash: 229d0ace02
Worked: not sure

Short description of error
If a contiguous mesh island is split into different parts by sharp edges, Random per Island input will treat those parts as separate mesh islands. Sharp edges can be set manually or with an Auto Smooth angle setting in object data properties. Also Shade Smooth has to be enabled.
rand_per_island.jpg
rand_per_island2.jpg
Exact steps for others to reproduce the error

  • Open example file
  • Switch to Cycles viewport shading
  • Reduce Auto Smooth angle until 2 bent planes get split into different parts.
    RandomperIsland_test.blend
**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.09 **Blender Version** Broken: version: 3.1.0 Beta, branch: master, commit date: 2022-02-07 22:08, hash: `229d0ace02` Worked: not sure **Short description of error** If a contiguous mesh island is split into different parts by sharp edges, Random per Island input will treat those parts as separate mesh islands. Sharp edges can be set manually or with an Auto Smooth angle setting in object data properties. Also Shade Smooth has to be enabled. ![rand_per_island.jpg](https://archive.blender.org/developer/F12855539/rand_per_island.jpg) ![rand_per_island2.jpg](https://archive.blender.org/developer/F12855541/rand_per_island2.jpg) **Exact steps for others to reproduce the error** - Open example file - Switch to Cycles viewport shading - Reduce Auto Smooth angle until 2 bent planes get split into different parts. [RandomperIsland_test.blend](https://archive.blender.org/developer/F12855548/RandomperIsland_test.blend)
Author

Added subscriber: @slowburn

Added subscriber: @slowburn
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Probably similar to this report: #92886 (Curve to Mesh node causes other objects to edge split when not shaded smooth)
I will mark this as duplicate. Thanks for the report!

Probably similar to this report: #92886 (Curve to Mesh node causes other objects to edge split when not shaded smooth) I will mark this as duplicate. Thanks for the report!
Member

Closed as duplicate of #92886

Closed as duplicate of #92886
Member

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

Changed status from 'Duplicate' to: 'Needs Triage'
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

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

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

I expect this is because of the way Cycles currently calculates sharp normals:

    if (mesh.use_auto_smooth()) {
      mesh.split_faces(false);
    }

That seems very far from ideal, it should be using the face corner normals instead. But maybe there's a good reason to do it this way, I'm not sure.

I expect this is because of the way Cycles currently calculates sharp normals: ``` if (mesh.use_auto_smooth()) { mesh.split_faces(false); } ``` That seems very far from ideal, it should be using the face corner normals instead. But maybe there's a good reason to do it this way, I'm not sure.
Member

Sorry @HooglyBoogly for merging the report

Sorry @HooglyBoogly for merging the report
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Seems like a duplicate of #72284 (Random Per Island working incorrectly with sharp edges and volumes), will merge reports.

Seems like a duplicate of #72284 (Random Per Island working incorrectly with sharp edges and volumes), will merge reports.
Member

Closed as duplicate of #72284

Closed as duplicate of #72284
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#95619
No description provided.