Point Distribute inconsisntency #86085

Closed
opened 2021-02-28 15:30:47 +01:00 by Iván Barták · 10 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.51

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab

Short description of error
Point Distribute node seems to work inconsistently with transformations, in relative mode:

  • Rotation affects only Z axes (rotates around the normal vector of the object).
  • Scale effects the distribution distance and the scattered object size as well.
  • Location does not have any effect.

scatter_node_inconsistency.jpg
User story
I tried to animate markers on the map, they appeared by scaling up, and I scattered random lines from the marker to different, random points on the map. And the number of scattered lines changed with the scale animation. (at zero scale it was around infinite lines, and Blender froze). I separated the lines to a different object, and parented both to an empty, and scaled the marker separately for workaround.
Exact steps for others to reproduce the error
Open the attached blend file, and examine the cubes.
scatter_relative_point_distribution.blend

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1060 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.51 **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` **Short description of error** Point Distribute node seems to work inconsistently with transformations, in relative mode: - Rotation affects only Z axes (rotates around the normal vector of the object). - Scale effects the distribution distance and the scattered object size as well. - Location does not have any effect. ![scatter_node_inconsistency.jpg](https://archive.blender.org/developer/F9852292/scatter_node_inconsistency.jpg) **User story** I tried to animate markers on the map, they appeared by scaling up, and I scattered random lines from the marker to different, random points on the map. And the number of scattered lines changed with the scale animation. (at zero scale it was around infinite lines, and Blender froze). I separated the lines to a different object, and parented both to an empty, and scaled the marker separately for workaround. **Exact steps for others to reproduce the error** Open the attached blend file, and examine the cubes. [scatter_relative_point_distribution.blend](https://archive.blender.org/developer/F9852302/scatter_relative_point_distribution.blend)
Author

Added subscriber: @Montaire

Added subscriber: @Montaire
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

I think this is all expected behavior.

To compensate, you have Location, Rotation and Scale exposed to you via the Object Info node and with some calculations, you can achieve what you want using the Point Rotate, Point Scale and Point Translate nodes.
The case of distribution when scaling can be tamed to some extend (using some fiddling with Distance Min & Distance Max), but this wont work stable with scaling I think (and is not really supposed to , so that wont be considered a bug I think).

scatter_relative_point_distribution_tweak.blend

Does this work for you?

I think this is all expected behavior. To compensate, you have `Location`, `Rotation` and `Scale` exposed to you via the `Object Info` node and with some calculations, you can achieve what you want using the `Point Rotate`, `Point Scale` and `Point Translate` nodes. The case of distribution when scaling can be tamed to some extend (using some fiddling with `Distance Min` & `Distance Max`), but this wont work stable with scaling I think (and is not really supposed to , so that wont be considered a bug I think). [scatter_relative_point_distribution_tweak.blend](https://archive.blender.org/developer/F9896260/scatter_relative_point_distribution_tweak.blend) Does this work for you?
Author

Thank you! It is working well with the Point nodes.

It is still not clear, how attributes different from Point nodes exactly.
Maybe it would be nice to have a description what exactly a Point is, and how different from the mesh attributes.

Than I may could understand why those transformations act so differently, and use this behaviour purposely.

(Till now I tough they are both just modifying vertexes.
So Mesh attributes modifying the vertexes in the distributed meshes, Points are the origins of distributed objects?)

Thank you! It is working well with the Point nodes. It is still not clear, how attributes different from Point nodes exactly. Maybe it would be nice to have a description what exactly a Point is, and how different from the mesh attributes. Than I may could understand why those transformations act so differently, and use this behaviour purposely. (Till now I tough they are both just modifying vertexes. So Mesh attributes modifying the vertexes in the distributed meshes, Points are the origins of distributed objects?)
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

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

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

Will possibly be a documentation ticket.

Will possibly be a documentation ticket.
Member

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Member

Documentation could be improved, but this is not the scope of this bugtracker.
Sorry this has been lying around for so long, but will have to close.

Documentation could be improved, but this is not the scope of this bugtracker. Sorry this has been lying around for so long, but will have to close.
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#86085
No description provided.