Page MenuHome

Inside out face orientation of GN Curve-to-mesh-objects
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Linux-5.4.0-77-generic-x86_64-with-glibc2.27 64 Bits
Graphics card: GeForce GT 630/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.143

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-07-05 22:24, hash: rB4eeec6e9b540
Worked: (newest version of Blender that worked as expected)

Short description of error
Geometry nodes-created meshes via "curve-to-mesh" produces meshes with flipped normals.

Test File:

Event Timeline

Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Confirmed.EditedTue, Jul 6, 3:52 PM

Can confirm with 3.0.0 (rB4eeec6e9b540).

[Will try to fix this but developers can do the task if they wish to :)]

Hans Goudey (HooglyBoogly) changed the subtype of this task from "Report" to "Bug".Tue, Jul 6, 4:36 PM

Can confirm as well, thanks for the report. @Pratik Borhade (PratikPB2123), if you want to work on this, it would likely involve changing the winding order of the faces of the mesh created in this node.

Hi @Hans Goudey (HooglyBoogly) , go ahead if you know the solution.

I generally try to fix issues on weekends and it's not nice to keep module team waiting when they know the fix for the bug.

[will pick other task from Workboard :)]

for fix the normals you can negate normals and tangents in func "spline_extrude_to_mesh_data" like this way :

so at line 187 set "-normals[i_ring], -tangents[i_ring]" instead of "normals[i_ring], tangents[i_ring]"