Cycles bake - high-> lowpoly bake triangle orientation is mixed for texture coords in shader normals. #45463
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#45463
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
win 8.1 32gb
nvidia 880m 8gb
Blender Version
Broken:
2b5e150
Worked: probably never
Short description of error
generated noise texture is wrongly mapped in other direction, when baking selection to active in the provided file. The artifacts are quite gentle, and only happen to normals of the shader(not baked normals). Also, if the texture is mapped to color of shader, the color is ok.
the bug doesn't happen when triangulate modifier is added to the target object.
This happens for me on many objects, this is just one example.
Exact steps for others to reproduce the error
open the file, hit bake.
add triangulate to the "test" object, voila, problem gone.
bakebug_triangulate1.blend
Changed status to: 'Open'
Added subscriber: @VilemDuha
Added subscriber: @mont29
Dalai, maybe you can check this one? Thanks.
Just a comment - it looks very similar to other artifacts you can get in other bugs, but it's not a duplicate. All somehow manage to mix something up, but they are all different by the specific conditions in which they happen.
Upadte - this also happens with highpoly objects, so even if the lowpoly object has triangulate, it can still happen.
When both objects have triangulate, then it's ok.
just uploaded a file for the above comment - you can see half a triangle has an artifact, it's probably because of the triangulation of both objects acting over each other. Here the artifact is again quite subtle, but I guess it's visible how the coords are rotated. again, add triangulate to the object which gets baked from to fix the artifact and see the difference
artifact_highpoly.blend
Added subscriber: @BartekMoniewski
I'm not sure I can see the artifact here. Also it's a strange report because 'internally' we add a triangulate modifier to the highpoly object, exactly to prevent triangulation issues.
I simplified the file a bit, and I can confirm that there is some difference when triangulating (or not) the low poly object. File: bakebug_triangulate2.blend
Added subscriber: @brecht
@brecht do you think this can be caused by the differentials calculation?
The differential calculation that we do is based on the image space and the low poly object uv.
Since the issue shows up when using bump map, and is sensitive to the low poly object geometry, I believe it's related to the differentials.
Changed status from 'Open' to: 'Resolved'
I can confirm this bug in 2.75 and 2.76, but in latest master this seems to be all fine. There were various fixes regarding triangulation consistency, which I suspect fixed this, but did not try to find the specific commit that did it.