Regression: Changes in curve normal behavior #107256

Open
opened 2023-04-23 03:10:09 +02:00 by mirh · 8 comments

Blender Version
Broken: 3.0
Worked: 2.92

Short description of error
Instead of a simple arrow, the scene is something very remotely in the neighbourhood of that shape plus random extruded edges.

Exact steps for others to reproduce the error
Open example file.

**Blender Version** Broken: 3.0 Worked: 2.92 **Short description of error** Instead of a simple arrow, the scene is something very remotely in the neighbourhood of that shape plus random extruded edges. **Exact steps for others to reproduce the error** Open example file.
mirh added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-23 03:10:10 +02:00

Hello. I see strange curve behavior but I can't open it in earlier versions of blender, where would it work?

Hello. I see strange curve behavior but I can't open it in earlier versions of blender, where would it work?
Author

Uhm? Even with 2.78 I don't really have problems with opening it.
Then idk what kind of environment @gandalf3 couldn't have had.

Uhm? Even with 2.78 I don't really have problems with opening it. Then idk what kind of environment @gandalf3 couldn't have had.
Member

Looks like the distribution of the loop cuts is slightly different, which causes a slight overlap after the curve modifier. This causes the normals of those faces to be flipped, which messes up the solidify and it devolves from there.

screenshot of the output of the curve modifier in blender 3.5, from a slightly tilted ortho side view, showing the flipped normals

On 2.72 (just a version i happened to have a copy of handy) this overlap did not occur, and the normals were consistent (and the final output of the modifier stack looked correct):

screenshot of the output of the curve modifier in blender 2.72, from a similar slightly tilted ortho side view, showing consistent normals

Looks like the distribution of the loop cuts is slightly different, which causes a slight overlap after the curve modifier. This causes the normals of those faces to be flipped, which messes up the solidify and it devolves from there. ![screenshot of the output of the curve modifier in blender 3.5, from a slightly tilted ortho side view, showing the flipped normals](https://projects.blender.org/attachments/573f48e2-554a-48bc-ac4d-b3d9f304072c) On 2.72 (just a version i happened to have a copy of handy) this overlap did not occur, and the normals were consistent (and the final output of the modifier stack looked correct): ![screenshot of the output of the curve modifier in blender 2.72, from a similar slightly tilted ortho side view, showing consistent normals](https://projects.blender.org/attachments/d6eb4a2e-8b1d-463e-a791-a027c747f257)

@gandalf3 It would be nice if you could share a file that can be opened in 2.72
Although I think this is expected behaviour. That is, you initially make a curve of an incorrect shape, which may cause an incorrect result.

@gandalf3 It would be nice if you could share a file that can be opened in 2.72 Although I think this is expected behaviour. That is, you initially make a curve of an incorrect shape, which may cause an incorrect result.
Member

Interestingly it looks like the subsurf modifier in 2.93+ creates twice as many loop cuts length wise (another screenshot attached for comparison).

I'm guessing this is just a quirk of opensubdiv (introduced in 2.80) vs blender's old subsurf algorithm? As such I think this is considered intended behavior, unfortunately, but I wouldn't be the one to say for certain.

Interestingly it looks like the subsurf modifier in 2.93+ creates twice as many loop cuts length wise (another screenshot attached for comparison). I'm guessing this is just a quirk of opensubdiv ([introduced in 2.80](https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Modeling)) vs blender's old subsurf algorithm? As such I think this is considered intended behavior, unfortunately, but I wouldn't be the one to say for certain.
Member

@mod_moder I actually just downloaded the file from the blend-exchange link, but I'll attach it anyway.
I started both versions of blender with --factory-settings as well.

@mod_moder I actually just downloaded the file from the blend-exchange link, but I'll attach it anyway. I started both versions of blender with `--factory-settings` as well.
Author

I'm guessing this is just a quirk of opensubdiv (introduced in 2.80) vs blender's old subsurf algorithm?

That still wouldn't explain why up to 2.92 everything was still seemingly fine, would it?

> I'm guessing this is just a quirk of opensubdiv (introduced in 2.80) vs blender's old subsurf algorithm? That still wouldn't explain why up to 2.92 everything was still seemingly fine, would it?

I can confirm the change in behavior between 2.9 and 3.0 .
But even within the same version, if I just move the point and bring it back, the normal will break. This doesn't look like a real result, but rather an abuse of a bug. And now this bug just looks different.

I can confirm the change in behavior between 2.9 and 3.0 . But even within the same version, if I just move the point and bring it back, the normal will break. This doesn't look like a real result, but rather an abuse of a bug. And now this bug just looks different.
Iliya Katushenock added
Module
Modeling
Status
Confirmed
Interest
Modifiers
and removed
Status
Needs Triage
labels 2023-04-24 06:50:04 +02:00
Iliya Katushenock changed title from Old file has random extra faces since 2.93 to Regression: Changes in curve normal behavior 2023-04-24 06:50:35 +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
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#107256
No description provided.