double face doesn't really become single face when merge by destination #105520

Closed
opened 2023-03-07 07:14:21 +01:00 by Roni-Raihan · 14 comments

System Information
Operating system: Windows 10
Graphics card: Nvidia GeForce 940mx

Blender Version
Broken: 3.4.1
Worked: 3.2.0

Short description of error

when there are multiple faces in the same location. then try to merge into one single face (merge by destination).it doesn't really make the face single. and resulted, face normal in viewport but the face having a black color when rendered.

Exact steps for others to reproduce the error

  1. make 2 normal faces facing each other
  2. put the position of the two faces in the position of the same location
  3. select all the faces a and then merge them into one face by destination M > By distance
  4. Then render
**System Information** Operating system: Windows 10 Graphics card: Nvidia GeForce 940mx **Blender Version** Broken: 3.4.1 Worked: 3.2.0 **Short description of error** when there are multiple faces in the same location. then try to merge into one single face (merge by destination).it doesn't really make the face single. and resulted, face normal in viewport but the face having a black color when rendered. **Exact steps for others to reproduce the error** 1. make 2 normal faces facing each other 2. put the position of the two faces in the position of the same location 3. select all the faces `a` and then merge them into one face by destination `M > By distance` 4. Then render
Roni-Raihan added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-03-07 07:14:21 +01:00
Member

Hi, thanks for the report. I'm not able to replicate this locally in 3.4, 3.6
Please upload .blend file in which the issue is visible.
Can you reproduce the issue in attached file? (just merge selected faces then switch to render view)

Hi, thanks for the report. I'm not able to replicate this locally in 3.4, 3.6 Please upload .blend file in which the issue is visible. Can you reproduce the issue in attached file? (just merge selected faces then switch to render view)
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-03-07 11:28:49 +01:00
Author

I forgot to mention, this happens when rendered using the cycles render engine

this is the blend file :

untitled.blend

I added some screenshots
this is the rendering result :

rendered.png

this is viewport rendering :

untitled.png

this is in the view port of the material view :

untitled2.png

I forgot to mention, this happens when rendered using the cycles render engine this is the blend file : [untitled.blend](/attachments/64b7ba0a-f4df-4084-a0eb-9962da8606fb) I added some screenshots this is the rendering result : ![rendered.png](/attachments/7094fe1b-e9e2-4606-85cf-8caabadbee28) this is viewport rendering : ![untitled.png](/attachments/bdf07432-0bd0-40c0-b2f8-204f29099604) this is in the view port of the material view : ![untitled2.png](/attachments/22083897-619d-41de-8060-a16931cd275a)
Member

Hi, thanks for the file. I can repro the similar behavior locally with your file.

Worked: 3.2.0

3.2 show render output similar to 3.4+


Still I'm not able to reproduce this from scratch. Did you merge faces of two different objects? or do they belong to same object? Is it possible to share the file before merge happens?

Hi, thanks for the file. I can repro the similar behavior locally with your file. > Worked: 3.2.0 3.2 show render output similar to 3.4+ - - - Still I'm not able to reproduce this from scratch. Did you merge faces of two different objects? or do they belong to same object? Is it possible to share the file before merge happens?
Author

they're different object. then combined into 1 object.
this is when the faces have not been merged by destination
untitled.blend

they're different object. then combined into 1 object. this is when the faces have not been merged by destination [untitled.blend](/attachments/41795d66-fe28-4620-bd32-157217c3f61f)
Member

Hi, thanks for the file. Still unable to get the results after merging faces in edit mode.
What I've done is:

  • Open file
  • Change to edit mode
  • M > by distance
Hi, thanks for the file. Still unable to get the results after merging faces in edit mode. What I've done is: - Open file - Change to edit mode - `M > by distance`
Author

hm, I also some time ago imported a model with obj and it also spawned a double face. Does that have something to do with this?

In geometry, it says there are 4 vertices. However, it has 2 faces that use the same vertex.

hm, I also some time ago imported a model with obj and it also spawned a double face. Does that have something to do with this? In geometry, it says there are 4 vertices. However, it has 2 faces that use the same vertex.
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-04-06 15:15:19 +02:00
Member

Right, the file uploaded at #issuecomment-897113 shows 2 faces and 4 verts. In such case the result is expected due to overlapping faces.
But still not sure how you end up with "2 faces & 4 verts".
Did you perform the same operation M > by distance ? or do you use some add-on that provides similar operation?

Right, the file uploaded at [#issuecomment-897113](https://projects.blender.org/blender/blender/issues/105520#issuecomment-897113) shows 2 faces and 4 verts. In such case the result is expected due to overlapping faces. But still not sure how you end up with "2 faces & 4 verts". Did you perform the same operation `M > by distance` ? or do you use some add-on that provides similar operation?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-04-12 08:50:51 +02:00
Author

no addon having the same operation is used, just use M > by distance

no addon having the same operation is used, just use `M > by distance`
Member

Note the following fixes it

C.active_object.data.validate(verbose=True)

Also spits out


ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:698 BKE_mesh_validate_arrays: 	Polys 0 and 1 use same vertices (0
ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:700 BKE_mesh_validate_arrays: , 1
ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:700 BKE_mesh_validate_arrays: , 2
ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:700 BKE_mesh_validate_arrays: , 3
ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:702 BKE_mesh_validate_arrays: ), considering poly 1 as invalid.
ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:777 BKE_mesh_validate_arrays: 	Loop 4 is unused.
ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:777 BKE_mesh_validate_arrays: 	Loop 5 is unused.
ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:777 BKE_mesh_validate_arrays: 	Loop 6 is unused.
ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:777 BKE_mesh_validate_arrays: 	Loop 7 is unused.

Still would be good to have exact repro steps from a file (before joining I would assume)

Note the following fixes it `C.active_object.data.validate(verbose=True)` Also spits out ``` ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:698 BKE_mesh_validate_arrays: Polys 0 and 1 use same vertices (0 ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:700 BKE_mesh_validate_arrays: , 1 ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:700 BKE_mesh_validate_arrays: , 2 ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:700 BKE_mesh_validate_arrays: , 3 ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:702 BKE_mesh_validate_arrays: ), considering poly 1 as invalid. ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:777 BKE_mesh_validate_arrays: Loop 4 is unused. ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:777 BKE_mesh_validate_arrays: Loop 5 is unused. ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:777 BKE_mesh_validate_arrays: Loop 6 is unused. ERROR (bke.mesh): source/blender/blenkernel/intern/mesh_validate.cc:777 BKE_mesh_validate_arrays: Loop 7 is unused. ``` Still would be good to have exact repro steps from a file (before joining I would assume)
Author

I have an idea, what if when we select a face, then do m > by distance, adjacently spaced faces will be merged as well (or delete one of them) instead of just merging the verts?

I have an idea, what if when we select a face, then do `m > by distance`, adjacently spaced faces will be merged as well (or delete one of them) instead of just merging the verts?

Any updates here?

Any updates here?
Member

From @lichtwerk 's investigation, this seems a case of corrupted geometry.

Still would be good to have exact repro steps from a file

We need above info.

From @lichtwerk 's investigation, this seems a case of corrupted geometry. > Still would be good to have exact repro steps from a file We need above info.
Author

Recently I tried m > by distance in the latest version of blender (3.5.1). It works correctly.

Recently I tried `m > by distance` in the latest version of blender (3.5.1). It works correctly.
Member

Hi, will close this report if crash is no longer replicable at your end.
If problem persists, feel free to open a new report.

Note the following fixes it
C.active_object.data.validate(verbose=True)

Also, the mesh was corrupted. Unless we have exact way of generating the same object from scratch, further investigation is not possible.

Thanks again for the report!

Hi, will close this report if crash is no longer replicable at your end. If problem persists, feel free to open a new report. > Note the following fixes it `C.active_object.data.validate(verbose=True)` Also, the mesh was corrupted. Unless we have exact way of generating the same object from scratch, further investigation is not possible. Thanks again for the report!
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-05-14 17:37:13 +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
4 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#105520
No description provided.