Multires results in a very funky "Pointiness" behaviour #90480

Closed
opened 2 years ago by Harti · 22 comments
Harti commented 2 years ago

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

Blender Version
Broken: version: 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: 1b8d33b18c
Worked: Don't know but i've tested with 2.93, 3.00 and 3.00 Cycles-X

Short description of error
Weird rectangular patterns all over the mesh and some bright dots when using the pointiness option from the geometry node.
I subdivided a mesh with multires and used some brush alphas for skin details. Thats all what i did. Don't know why the pointiness node creates such patterns and those bright dots (which are only visible at the highest multires level but not the lower ones).

image.png

Exact steps for others to reproduce the error
Download and open the blend file I prepared here. Go to shaded view (cycles) and look at the mesh. The problem occured once in the past but it doesn't happen all the time. I didn't sculpted those patterns, they are the result of using the pointiness option in the geometry shader node - i don't know where they should come from.

Test File:
multires pattern glitch.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11 **Blender Version** Broken: version: 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: `1b8d33b18c` Worked: Don't know but i've tested with 2.93, 3.00 and 3.00 Cycles-X **Short description of error** Weird rectangular patterns all over the mesh and some bright dots when using the pointiness option from the geometry node. I subdivided a mesh with multires and used some brush alphas for skin details. Thats all what i did. Don't know why the pointiness node creates such patterns and those bright dots (which are only visible at the highest multires level but not the lower ones). ![image.png](https://archive.blender.org/developer/F10270801/image.png) **Exact steps for others to reproduce the error** Download and open the blend file I prepared here. Go to shaded view (cycles) and look at the mesh. The problem occured once in the past but it doesn't happen all the time. I didn't sculpted those patterns, they are the result of using the pointiness option in the geometry shader node - i don't know where they should come from. Test File: [multires pattern glitch.blend](https://archive.blender.org/developer/F10270788/multires_pattern_glitch.blend)
Harti commented 2 years ago
Poster

Added subscriber: @Harti

Added subscriber: @Harti
Collaborator

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Collaborator

Guess the reported issue is duplicate of #81089 (Pointiness - wrong results with dense mesh and small scale)

Will merge into it. Thanks for the report

Guess the reported issue is duplicate of #81089 (Pointiness - wrong results with dense mesh and small scale) Will merge into it. Thanks for the report
Collaborator

Closed as duplicate of #81089

Closed as duplicate of #81089
PratikPB2123 closed this issue 2 years ago
Harti commented 2 years ago
Poster

Ok the bright dots are similar to the "#81089: Pointiness - wrong results with dense mesh and small scale" thread but the rectangular patterns are something else. I would like to have a dev to look over that issue.

Ok the bright dots are similar to the "#81089: Pointiness - wrong results with dense mesh and small scale" thread but the rectangular patterns are something else. I would like to have a dev to look over that issue.

Added subscriber: @JulianPerez

Added subscriber: @JulianPerez

I can confirm this bug, when using the pointiness node at the highest resolution a line pattern becomes apparent
image.png

Here's the test file with a sphere with multires:
MultiresSphere.blend

I can confirm this bug, when using the pointiness node at the highest resolution a line pattern becomes apparent ![image.png](https://archive.blender.org/developer/F10271095/image.png) Here's the test file with a sphere with multires: [MultiresSphere.blend](https://archive.blender.org/developer/F10271098/MultiresSphere.blend)
Collaborator

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

Changed status from 'Duplicate' to: 'Needs Triage'
PratikPB2123 reopened this issue 2 years ago

Added subscriber: @LeonardSiebeneicher

Added subscriber: @LeonardSiebeneicher

Here I removed Multires and put a fresh Multires.
pointiness_bug_2.jpg

The pattern only appears in areas I painted.

( Edit )

Now, Multires completely removed. Instead, there is a Subdivision modifier and a displacement noise.
pointiness_bug_4.png

Here I removed Multires and put a fresh Multires. ![pointiness_bug_2.jpg](https://archive.blender.org/developer/F10271583/pointiness_bug_2.jpg) The pattern only appears in areas I painted. ( Edit ) Now, Multires completely removed. Instead, there is a Subdivision modifier and a displacement noise. ![pointiness_bug_4.png](https://archive.blender.org/developer/F10271628/pointiness_bug_4.png)
Collaborator

Added subscriber: @JosephEagar

Added subscriber: @JosephEagar
Collaborator

Adding a triangulate modifier seems to help. This may be due to how quads are internally triangulated only one way, which can result in funky behavior with high frequency details (the triangulate modifier by defaults picks the shortest diagonal). This is also why you often have to add a triangulate modifier to get normal maps to render correctly.

Adding a triangulate modifier seems to help. This may be due to how quads are internally triangulated only one way, which can result in funky behavior with high frequency details (the triangulate modifier by defaults picks the shortest diagonal). This is also why you often have to add a triangulate modifier to get normal maps to render correctly.
Collaborator

Odd. A triangulate modifier in 'fixed' mode also kind of helps, though there's a still a little bit of a pattern.

Odd. A triangulate modifier in 'fixed' mode also kind of helps, though there's a still a little bit of a pattern.
Collaborator

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

Changed status from 'Needs Triage' to: 'Confirmed'
leesonw commented 1 year ago
Collaborator

Added subscriber: @leesonw

Added subscriber: @leesonw
leesonw commented 1 year ago
Collaborator

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'
leesonw commented 1 year ago
Collaborator

I tested this on 2.83, 2.93 and 3.0 and it looks the same on all of them. Have you got an example of what I am suppose to see? and also if possible the version of blender this works on.

I tested this on 2.83, 2.93 and 3.0 and it looks the same on all of them. Have you got an example of what I am suppose to see? and also if possible the version of blender this works on.

Have you got an example of what I am suppose to see?

I tried another screenshot which shows 'pointiness' artifacts. (Rendered viewport shading mode)

On the left side of the image, there are not many artifacts. But on the right side, pointiness node creates a lot of zig-zag artifacts. The artifacts are hard to see in thumbnail images. Seeing images in original scale helps.

To me it seems that the pointiness (zig-zag) artifact seems to depend on the frequency of slope changes on the surface.

Artifacts.jpg

> Have you got an example of what I am suppose to see? I tried another screenshot which shows 'pointiness' artifacts. (Rendered viewport shading mode) On the left side of the image, there are not many artifacts. But on the right side, pointiness node creates a lot of zig-zag artifacts. The artifacts are hard to see in thumbnail images. Seeing images in original scale helps. To me it seems that the pointiness (zig-zag) artifact seems to depend on the frequency of slope changes on the surface. ![Artifacts.jpg](https://archive.blender.org/developer/F11769453/Artifacts.jpg)
Collaborator

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
brecht commented 1 year ago
Owner

Added subscriber: @brecht

Added subscriber: @brecht
brecht commented 1 year ago
Owner

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
brecht closed this issue 1 year ago
brecht commented 1 year ago
Owner

It's still fundamentally the same underlying problem as #81089 (Pointiness - wrong results with dense mesh and small scale), the pointiness implementation is really limited and looks at a small neighborhood. And triangulation does affect what that neighborhood is exactly.

It's still fundamentally the same underlying problem as #81089 (Pointiness - wrong results with dense mesh and small scale), the pointiness implementation is really limited and looks at a small neighborhood. And triangulation does affect what that neighborhood is exactly.
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/Translations
Interest/Undo
Interest/USD
Interest/Video Sequencer
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/Python API
legacy project/Render & Cycles
legacy project/Render Pipeline
legacy project/Retrospective
legacy project/Sculpt, Paint & Texture
legacy project/Text Editor
legacy project/Tracker Curfew
legacy project/Triaging
legacy project/User Interface
legacy project/UV Editing
legacy project/VFX & Video
legacy project/Virtual Reality
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
7 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#90480
Loading…
There is no content yet.