Regression: Baked Normal Map From Multiresolution Produces Strange Result on edges with crease #119997

Open
opened 2024-03-28 03:39:49 +01:00 by Sean-Baumchen · 4 comments

System Information
Operating system: Windows 10 Version 22H2
Graphics card: NVIDIA GeForce RTX 3060 TI

Blender Version
Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: 40a5e739e270
Worked: 4.0

Short description of error
Baking Normals from mutliresolution does not work.
Cube with multiresolution modifier

4.1 40a5e739e2 4.0 and prior
图片 图片

Exact steps for others to reproduce the error
[If starting from the default settings]

  1. Start Blender with default settings
  2. Mark all edges as seams. Mark all edges as sharp. Set all edge creases to 1.0.
  3. Add a multiresolution modifier with three subdivisions.
  4. Reduce viewport subdivisions to zero.
  5. Create material and select an empty texture as target in shader node tab.
  6. From the render menu expand the "Bake" shelf.
  7. Select "Bake From Multires," and set the "Bake Type" to "Normals"
    [If starting from normal_bake.blend]
  8. Select "Bake"
  9. Apply baked normal map as a normal map in the material and observe that the normals are not behaving as expected.
**System Information** Operating system: Windows 10 Version 22H2 Graphics card: NVIDIA GeForce RTX 3060 TI **Blender Version** Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: `40a5e739e270` Worked: 4.0 **Short description of error** Baking Normals from mutliresolution does not work. ![Cube with multiresolution modifier](/attachments/1a205499-a13a-4104-a367-edafd0a74e4a) | 4.1 40a5e739e270 | 4.0 and prior | |---|---| | ![图片](/attachments/76d8a8ed-2262-4c9c-abef-1b89679aa8ec)| ![图片](/attachments/6ecf5307-ba8f-42a4-8800-21679649ecd4) | **Exact steps for others to reproduce the error** **[If starting from the default settings]** 1. Start Blender with default settings 2. Mark all edges as seams. Mark all edges as sharp. Set all edge creases to 1.0. 3. Add a multiresolution modifier with three subdivisions. 3. Reduce viewport subdivisions to zero. 4. Create material and select an empty texture as target in shader node tab. 5. From the render menu expand the "Bake" shelf. 6. Select "Bake From Multires," and set the "Bake Type" to "Normals" **[If starting from normal_bake.blend]** 7. Select "Bake" 8. Apply baked normal map as a normal map in the material and observe that the normals are not behaving as expected.
Sean-Baumchen added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-03-28 03:39:50 +01:00
Iliya Katushenock changed title from Baked Normal Map From Multiresolution Produces Strange Result to Regression: Baked Normal Map From Multiresolution Produces Strange Result 2024-03-28 08:09:24 +01:00
Iliya Katushenock added the
Interest
Modeling
Interest
Modifiers
Interest
Render & Cycles
labels 2024-03-28 08:09:34 +01:00
Member

Hi @Sean-Baumchen I'm not sure what do you expect differently. The steps and also the test file result appears to me to be pretty normal. It looks also consistent if I sculpt over multires then bake as well.

Tested 4.0.2 all the way to latest 4.2, the outcome is consistent. Could you give us an example of what you believe is the correct result?

Hi @Sean-Baumchen I'm not sure what do you expect differently. The steps and also the test file result appears to me to be pretty normal. It looks also consistent if I sculpt over multires then bake as well. Tested 4.0.2 all the way to latest 4.2, the outcome is consistent. Could you give us an example of what you believe is the correct result?
YimingWu added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-03-29 06:20:06 +01:00
Author

Hello @ChengduLittleA please find enclosed a video of the issue that I am seeing. At the beginning of the video the cube subdivided by the multiresolution modifier is shown. It looks identical to the un-subdivided cube.

When I decrease subdivisions, and bake the normal then I was expecting that the normal map to point straight out (i.e., not make any changes to the normals in this situation), but it sort of "rounds" the edges, and does not appear to match the higher subdivisions of the model.

I am using version: 4.1.0

Edit: my enabled add-ons: image

Hello @ChengduLittleA please find enclosed a video of the issue that I am seeing. At the beginning of the video the cube subdivided by the multiresolution modifier is shown. It looks identical to the un-subdivided cube. When I decrease subdivisions, and bake the normal then I was expecting that the normal map to point straight out (i.e., not make any changes to the normals in this situation), but it sort of "rounds" the edges, and does not appear to match the higher subdivisions of the model. I am using version: 4.1.0 Edit: my enabled add-ons: ![image](/attachments/2aa80e22-3fa3-4dde-bf97-91fb00019f03)
Author

Enclosed in this message is a video of the same issue (from a new file) on version: 4.2.0 Alpha, branch: main, commit date: 2024-03-29 00:22

Enclosed in this message is a video of the same issue (from a new file) on version: 4.2.0 Alpha, branch: main, commit date: 2024-03-29 00:22
1.6 MiB
Member

I believe I understood that you get this result by having creases on all the edges on the cube thus the subdiv button doesn't appear to be smoothing the geometry. Then the bake should respect the crease.

Edit: can confirm it's broken starting in some version of 4.1, in 4.0 and prior, the corner reflection is smooth. Looks more like a display issue since both bakes looks the same, file under eevee for the moment, bisecting...

Good: 9be62e85b7
Bad: 6007838bb2

Apparently I got to commit 931c176b06 but it's not relevant, probably something wrong in the middle

I believe I understood that you get this result by having creases on all the edges on the cube thus the subdiv button doesn't appear to be smoothing the geometry. Then the bake should respect the crease. Edit: can confirm it's broken starting in some version of 4.1, in 4.0 and prior, the corner reflection is smooth. Looks more like a display issue since both bakes looks the same, file under eevee for the moment, bisecting... Good: 9be62e85b727 Bad: 6007838bb248 Apparently I got to commit 931c176b06153522bba03a5c3d1bf but it's not relevant, probably something wrong in the middle
YimingWu changed title from Regression: Baked Normal Map From Multiresolution Produces Strange Result to Regression: Baked Normal Map From Multiresolution Produces Strange Result on edges with crease 2024-03-29 08:13:41 +01:00
YimingWu added
Module
Render & Cycles
and removed
Module
EEVEE & Viewport
labels 2024-04-10 14:05:17 +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
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#119997
No description provided.