Change in distribution seed for some faces when the source mesh is moved #100214

Closed
opened 2022-08-05 01:54:15 +02:00 by Dorian · 13 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.59

Blender Version
Broken: version: 3.3.0 Beta, branch: master, commit date: 2022-07-29 15:54, hash: cfd16c04f8

Short description of error
My emitter object got its distribution seed corrupted on one island of the mesh. i did not do any specific edit mode manipulation.
Note that the scatter is done on a global (relative) space
it is very strange because only this specific island is corrupted, even when duplicated

movemedaddybug.gif

Exact steps for others to reproduce the error

  • Open the blend below
  • Move the emitter object

BUG un-stable global distribution.blend

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.59 **Blender Version** Broken: version: 3.3.0 Beta, branch: master, commit date: 2022-07-29 15:54, hash: `cfd16c04f8` **Short description of error** My emitter object got its distribution seed corrupted on one island of the mesh. i did not do any specific edit mode manipulation. Note that the scatter is done on a global (relative) space it is very strange because only this specific island is corrupted, even when duplicated ![movemedaddybug.gif](https://archive.blender.org/developer/F13336995/movemedaddybug.gif) **Exact steps for others to reproduce the error** - Open the blend below - Move the emitter object [BUG un-stable global distribution.blend](https://archive.blender.org/developer/F13337002/BUG_un-stable_global_distribution.blend)
Author

Added subscriber: @BD3D

Added subscriber: @BD3D
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I feel like this is naturally caused by the transformation applied on the geometry when using Relative mode in the Object Info node. Small imprecision can cause that seed difference.
So ideally you would apply the transformation after distribution, like this.
Does that make sense?

20220805-083814.png

I feel like this is naturally caused by the transformation applied on the geometry when using Relative mode in the Object Info node. Small imprecision can cause that seed difference. So ideally you would apply the transformation after distribution, like this. Does that make sense? ![20220805-083814.png](https://archive.blender.org/developer/F13337236/20220805-083814.png)
Author

>Does that make sense?It Depends on the user context, users might want to distribute in global space, let say he is using a collection of emitter surface for example> Small imprecision can cause that seed difference.

What kind of imprecision? Commonly, rotation/location changes do not recalculate the seed of the distribution in relative space

In the case of this precise example, all of a sudden the seed of one island of the mesh became unreliable
I'm not sure what kind of characteristics this island have over the others

**>Does that make sense?**It Depends on the user context, users might want to distribute in global space, let say he is using a collection of emitter surface for example**> Small imprecision can cause that seed difference.** What kind of imprecision? Commonly, rotation/location changes do not recalculate the seed of the distribution in relative space In the case of this precise example, all of a sudden the seed of one island of the mesh became unreliable I'm not sure what kind of characteristics this island have over the others
Member

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

By imprecision, I mean slight variations in properties like areas which are used by the node. There is also probably triangulation happening which can make this worse.
But I don't want to speculate further, so I will tag the module and see what they think.

By imprecision, I mean slight variations in properties like areas which are used by the node. There is also probably triangulation happening which can make this worse. But I don't want to speculate further, so I will tag the module and see what they think.
Omar Emara changed title from Corrupted distribution seed with geometry node to Change in distribution seed for some faces when the source mesh is moved 2022-08-05 14:46:07 +02:00

Added subscriber: @mod_moder

Added subscriber: @mod_moder

This task has a high degree of transformation of the initial data. Each new point raises the seed to a power. Because of this, the more points, the greater the difference even for the most similar seeds. This is like an N-object problem. It cannot be solved like an algorithm. Private methods only, like snapping islands to a grid... . Or the user simply has to reduce the impact of the transformations to distribution.

This task has a high degree of transformation of the initial data. Each new point raises the seed to a power. Because of this, the more points, the greater the difference even for the most similar seeds. This is like an N-object problem. It cannot be solved like an algorithm. Private methods only, like snapping islands to a grid... . Or the user simply has to reduce the impact of the transformations to distribution.
Author

>There is also probably triangulation happening which can make this worse.

Aha, indeed, the error is linked with triangulation,
if I enter edit mode and triangulate the problematic emitting face, the seed is stable again!

It is strange because the problematic island is just a copy/paste of the other islands but somehow the triangulation of this face became corrupted along the way

I will try to investigate what cause this instability, as I said, initially everything was stable, i did some tests in the node tree then it became unstable

***>There is also probably triangulation happening which can make this worse.*** Aha, indeed, the error is linked with triangulation, if I enter edit mode and triangulate the problematic emitting face, the seed is stable again! It is strange because the problematic island is just a copy/paste of the other islands but somehow the triangulation of this face became corrupted along the way I will try to investigate what cause this instability, as I said, initially everything was stable, i did some tests in the node tree then it became unstable
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Changed status from 'Needs Developer To Reproduce' to: 'Archived'
Member

Generally, the Distribute Points on Faces node does not guarantee stability when the input mesh topology or deformation changes. Therefore, this is not a bug.

Generally, the Distribute Points on Faces node does not guarantee stability when the input mesh topology or deformation changes. Therefore, this is not a bug.
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#100214
No description provided.