Multires disp bake doesn't smooth UV #87725

Open
opened 2021-04-22 20:33:31 +02:00 by Gurra · 22 comments

System Information
Operating system: Windows 10
Graphics card: RTX 3060ti

Blender Version
Broken: 2.92, 02948a2cab
Worked: Don't know

Short description of error
When baking a multires sculpt it will bake the disp towards a subdivided mesh but not a smoothed UV.

Exact steps for others to reproduce the error
Guess the best way is just to download my attached .blend, make sure the image texture is selected, that the Level Viewport on the multires modifier is at 0 and use the bake under Render properties. The resulting texture should not have this clear square in the middle as in my example picture below, but it do because the UV ain't getting smoothed. I did make sure that I had UV smooth enabled when I first subdivided the mesh.
Also added an example from what happens when I do this on a real project. This is baked and then applied to a subdivded mesh, look at the wrinkles below the eye.
multires_bug.blend
multiresbug.jpg
multiresbugfrog.jpg

**System Information** Operating system: Windows 10 Graphics card: RTX 3060ti **Blender Version** Broken: 2.92, 02948a2cab44 Worked: Don't know **Short description of error** When baking a multires sculpt it will bake the disp towards a subdivided mesh but not a smoothed UV. **Exact steps for others to reproduce the error** Guess the best way is just to download my attached .blend, make sure the image texture is selected, that the Level Viewport on the multires modifier is at 0 and use the bake under Render properties. The resulting texture should not have this clear square in the middle as in my example picture below, but it do because the UV ain't getting smoothed. I did make sure that I had UV smooth enabled when I first subdivided the mesh. Also added an example from what happens when I do this on a real project. This is baked and then applied to a subdivded mesh, look at the wrinkles below the eye. [multires_bug.blend](https://archive.blender.org/developer/F10032833/multires_bug.blend) ![multiresbug.jpg](https://archive.blender.org/developer/F10032831/multiresbug.jpg) ![multiresbugfrog.jpg](https://archive.blender.org/developer/F10032847/multiresbugfrog.jpg)
Author

Added subscriber: @Gurra

Added subscriber: @Gurra
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Not totally sure I understand correctly.
If the resulting image is used in a displace modifier, the result seems to be expected? (cannot spot any artifacts here):
image.png
multires_displace_from_bake_result.blend

Does this not work for you?
Or could you explain in more detail where the result is not acting as expected?

Not totally sure I understand correctly. If the resulting image is used in a displace modifier, the result seems to be expected? (cannot spot any artifacts here): ![image.png](https://archive.blender.org/developer/F10223112/image.png) [multires_displace_from_bake_result.blend](https://archive.blender.org/developer/F10223114/multires_displace_from_bake_result.blend) Does this not work for you? Or could you explain in more detail where the result is not acting as expected?
Member

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

Changed status from 'Needs User Info' to: 'Archived'
Member

No activity for more than a week. 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. 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.
Author

I have been away and hadn't had time to check this. And giving me only a week to answer after having to wait three months for a reply myself is a bit unfair tbh :)

Anyways, if you gonna use a displace modifier you have to turn of the multires first and also add a subdivision modifier instead. The coordinate on that displace modifier should also be set to UV. This is what I get when doing this
multires_displace_modifier.jpg
If I then set the subd modifiers UV smooth to "none" it will look correct. This could work even thou it's a backwards way and weird way to do it imo, but if I also would like to add a tileable texture to it that will deform really ugly. So in short, the multires bake is bugged, or it needs to be added an "smooth uv" option (that should be the default).
multires_displace_from_bake_result_2.blend

Also added a brick texture in that blend-file that you can try and see how bad it looks when the UV smooth is set to "none" :)

I have been away and hadn't had time to check this. And giving me only a week to answer after having to wait three months for a reply myself is a bit unfair tbh :) Anyways, if you gonna use a displace modifier you have to turn of the multires first and also add a subdivision modifier instead. The coordinate on that displace modifier should also be set to UV. This is what I get when doing this ![multires_displace_modifier.jpg](https://archive.blender.org/developer/F10234950/multires_displace_modifier.jpg) If I then set the subd modifiers UV smooth to "none" it will look correct. This could work even thou it's a backwards way and weird way to do it imo, but if I also would like to add a tileable texture to it that will deform really ugly. So in short, the multires bake is bugged, or it needs to be added an "smooth uv" option (that should be the default). [multires_displace_from_bake_result_2.blend](https://archive.blender.org/developer/F10234961/multires_displace_from_bake_result_2.blend) Also added a brick texture in that blend-file that you can try and see how bad it looks when the UV smooth is set to "none" :)
Member

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

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

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

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Sorry this took so long to answer.

Tbh, I am probably not familiar enough with the mutires workflow to properly triage this report.
If you like, you could hold my hand here and clarify the following:

This could work even thou it's a backwards way and weird way to do it imo

From you original file multires_bug.blend how would you then use the resulting baked image in your workflow (as opposed to mine)?
Can you share the file for this? thx in advance.
(will also try to gather info from others being more familiar with this area of blender)

Sorry this took so long to answer. Tbh, I am probably not familiar enough with the mutires workflow to properly triage this report. If you like, you could hold my hand here and clarify the following: > This could work even thou it's a backwards way and weird way to do it imo From you original file `multires_bug.blend` how would you then use the resulting baked image in your workflow (as opposed to mine)? Can you share the file for this? thx in advance. (will also try to gather info from others being more familiar with this area of blender)
Author

If I'd use the resulting baked unsmooth image with a Subdivision modifier with UV Smooth to "None". One of the flaws with this is that when setting that to none and then adding a texture on that will make that texture badly stretched.
multires_bug_bricks.jpg
I managed to somewhat (didn't get it to match 100%) get my test mesh into Mudbox to extract a displacement to show how it should look. Mudbox with smooth UVs to the left and Blender with unsmooth UVs to the right.
multiresbug_bake_mud_compare.png
I've also included both textures in this blend file :)
multires_bug_002.blend

If I'd use the resulting baked unsmooth image with a Subdivision modifier with UV Smooth to "None". One of the flaws with this is that when setting that to none and then adding a texture on that will make that texture badly stretched. ![multires_bug_bricks.jpg](https://archive.blender.org/developer/F10746908/multires_bug_bricks.jpg) I managed to somewhat (didn't get it to match 100%) get my test mesh into Mudbox to extract a displacement to show how it should look. Mudbox with smooth UVs to the left and Blender with unsmooth UVs to the right. ![multiresbug_bake_mud_compare.png](https://archive.blender.org/developer/F10747044/multiresbug_bake_mud_compare.png) I've also included both textures in this blend file :) [multires_bug_002.blend](https://archive.blender.org/developer/F10747474/multires_bug_002.blend)
Member

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

Changed status from 'Needs User Info' to: 'Needs Triage'
Author

Don't know what's happening with this, not much I guess, but I still find it quite annoying that it doesn't smooth the UV when I bake a dispalcement. So I tried making a rightclickselect suggestion but that's not going so fast either. You might want to check it out for a suggestion on how I think the fix should look :)
https://blender.community/c/rightclickselect/Eq5k/

Don't know what's happening with this, not much I guess, but I still find it quite annoying that it doesn't smooth the UV when I bake a dispalcement. So I tried making a rightclickselect suggestion but that's not going so fast either. You might want to check it out for a suggestion on how I think the fix should look :) https://blender.community/c/rightclickselect/Eq5k/
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

Added subscriber: @brecht

Added subscriber: @brecht
Member

Sorry again this took so long to answer.

It might be a feature request, would still like @brecht to share some insight here

Sorry again this took so long to answer. It might be a feature request, would still like @brecht to share some insight here
Author

Bump?

Bump?
Member

Added subscriber: @JulienKaspar

Added subscriber: @JulienKaspar
Member

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Member

I tested the current issues more and made an additonal bug report with #104134.

The fact that UV smoothing is not supported for "Bake from Multires" is a big issue and not at all communicated in the UI.
I'll confirm the bug and talk with some devs on how this and similar issues can be prioritized in the near future, so the current baking features produce usable results.

I tested the current issues more and made an additonal bug report with #104134. The fact that UV smoothing is not supported for "Bake from Multires" is a big issue and not at all communicated in the UI. I'll confirm the bug and talk with some devs on how this and similar issues can be prioritized in the near future, so the current baking features produce usable results.
Member

Thx @JulienKaspar ! : I should have reached out to you earlier

Thx @JulienKaspar ! : I should have reached out to you earlier
Author

Ah nice one @JulienKaspar , had almost given up on this bug :)

Ah nice one @JulienKaspar , had almost given up on this bug :)
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:11:51 +01: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
3 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#87725
No description provided.