Curve to Mesh node creates wrong face orientation with cyclic profile curve #108848

Open
opened 2023-06-11 03:00:06 +02:00 by Pauan · 3 comments

System Information
Operating system: Linux-6.1.26-x86_64-with-glibc2.37 64 Bits
Graphics card: AMD Radeon RX 6800 XT (navi21, LLVM 15.0.7, DRM 3.49, 6.1.26) AMD 4.6 (Core Profile) Mesa 23.0.3

Blender Version
Broken: version: 3.5.1, branch: Unknown, commit date: Unknown Unknown, hash: Unknown
Worked:

Short description of error
The Curve to Mesh geometry node creates incorrect face orientation when using a cyclic Profile Curve. This bug only happens with cyclic profile curves, non-cyclic profile curves work correctly.

Inside of the attached .blend file there are two identical curves. The left curve uses the curve Bevel option. The right curve uses the Curve to Mesh geometry node.

They should produce the same results, but they don't.

The Profile curve is just a standard Add -> Curve -> Circle.

Exact steps for others to reproduce the error

  1. Open the attached .blend file.
  2. Notice that the curve on the left has the correct face orientation.
  3. Notice that the curve on the right has the wrong face orientation.
**System Information** Operating system: Linux-6.1.26-x86_64-with-glibc2.37 64 Bits Graphics card: AMD Radeon RX 6800 XT (navi21, LLVM 15.0.7, DRM 3.49, 6.1.26) AMD 4.6 (Core Profile) Mesa 23.0.3 **Blender Version** Broken: version: 3.5.1, branch: Unknown, commit date: Unknown Unknown, hash: `Unknown` Worked: **Short description of error** The `Curve to Mesh` geometry node creates incorrect face orientation when using a cyclic `Profile Curve`. This bug only happens with cyclic profile curves, non-cyclic profile curves work correctly. Inside of the attached `.blend` file there are two identical curves. The left curve uses the curve `Bevel` option. The right curve uses the `Curve to Mesh` geometry node. They should produce the same results, but they don't. The `Profile` curve is just a standard `Add` -> `Curve` -> `Circle`. **Exact steps for others to reproduce the error** 1. Open the attached `.blend` file. 2. Notice that the curve on the left has the correct face orientation. 3. Notice that the curve on the right has the wrong face orientation.
Pauan added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2023-06-11 03:00:06 +02:00
Author

I was able to reproduce this bug even with a non-cyclic profile. Both the face orientation and rotation of the profile is wrong:

  1. Open up the attached Non-Cyclic Curve to Mesh.blend file.
  2. Notice that the left curve (Bevel) is correct.
  3. Notice that the right curve (Curve to Mesh) is incorrect.

In addition to that, the Fill Caps option works with the Bevel curve, but it does not work with the Curve to Mesh node.

I was able to reproduce this bug even with a non-cyclic profile. Both the face orientation and rotation of the profile is wrong: 1. Open up the attached `Non-Cyclic Curve to Mesh.blend` file. 2. Notice that the left curve (Bevel) is correct. 3. Notice that the right curve (Curve to Mesh) is incorrect. In addition to that, the `Fill Caps` option works with the `Bevel` curve, but it does not work with the `Curve to Mesh` node.
Author

Okay, I figured out what the problem is. When the Curve to Mesh node reads the Profile Curve, it's reading it upside down.

So if I add a Transform Geometry node to flip the Profile Curve upside down, then everything now works correctly (see the attached image).

Hopefully this should be an easy fix for Blender to make.

Okay, I figured out what the problem is. When the `Curve to Mesh` node reads the `Profile Curve`, it's reading it upside down. So if I add a `Transform Geometry` node to flip the `Profile Curve` upside down, then everything now works correctly (see the attached image). Hopefully this should be an easy fix for Blender to make.
Iliya Katushenock added
Module
Modeling
and removed
Module
Nodes & Physics
Interest
Modeling
labels 2023-06-16 18:39:46 +02:00

I'm on version 4.0.2 and this is still happening.

Flipping the Profile Curve upside down still works as a temporary fix.

I'm on version 4.0.2 and this is still happening. Flipping the `Profile Curve` upside down still works as a temporary fix.
Iliya Katushenock added
Module
Nodes & Physics
and removed
Module
Modeling
labels 2024-03-17 06:51:19 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
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
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#108848
No description provided.