Regression: Wrong orientation on shrinkwrap constrained instanced collection #119992
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#119992
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.23
Blender Version
Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash:
40a5e739e270
Worked: 4.0.2
Short description of error
To my knowledge, the only way to make part of a sphere using simple deform is to first rotate the original object in the manner shown in the attached example. However, any shrink wrapped constrained instance placed on that spherical object gets the wrong orientation in 4.1.
Exact steps for others to reproduce the error
Expected: Cone points upright
Result: Cone is pointing sideways.
Can confirm the difference between 4.0 and 4.1/4.2.
Working: 4.0.3
63e9cead5f
, broken: 4.1ea7c0a4a46
Running a bisect...
Broken by
aca27e5462
@HooglyBooglyCones are getting upright when the object is
Shade Smooth
.It might very well be that the reported is actually the intended behavior (which feels a little strange, but at least it used to behave like that for ages).
Then came along
5876573e14
which seems to have had a mistake :CustomData_get_layer_named(&mesh->edata, CD_PROP_BOOL, "sharp_face"))
it gets
sharp_face
from the edge domain [which I believe is never found] -- so code would from5876573e14
onwards always go into the codebranch of/* Interpolate smooth normals if enabled. */
and never into the branch of
/* Use the face normal if flat. */
Now
aca27e5462
somewhat corrected the situation again (since it changed the domain frommesh->edge_data
tomesh->face_data
again when gettingsharp_face
), so now we are entering the "Use the face normal if flat" branch again.Cant really comment (yet) on the fact that "proper" flat facenormals seem to give such an unexpected shrinkwrap result (to me it seems the cones should stay upright), but at least these are my findings regarding code history.
Thanks for the investigation @lichtwerk. Looks like the transform was always ignored for face normals since
b4b224dc08
. (Note the missingBLI_space_transform_invert_normal
for that case).