"Collection Info" Geometry Node not Transfering Instance-level Named Attributes #98807

Closed
opened 2022-06-12 01:44:15 +02:00 by Tyler B. · 8 comments

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 399.01

Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e3691

Short description of error
The "Collection Info" node doesn't transfer the named attributes(blender 3.2+) from the source geometry to the "geometry" output.

Additional Explorations:
- The source collection can be in any scene
- The "Attribute" shader node doesn't recognize instance-level attributes(see attached material) yet works after the geometry is realized
- The "Reset Children" collection info node option has no effect

Exact steps for others to reproduce the error

  1. Load the attached .blend file

The link marked "no attributes" doesn't have instance-domain named attributes set by the objects in the collection while the link marked "yes attributes" has those attributes, but under the vertex domain.instance_attributes_bug.blend

source.png

yes_attributes.png

no_attributes.png

**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 399.01 **Blender Version** Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: `e05e1e3691` **Short description of error** The "Collection Info" node doesn't transfer the named attributes(blender 3.2+) from the source geometry to the "geometry" output. Additional Explorations: - The source collection can be in any scene - The "Attribute" shader node doesn't recognize instance-level attributes(see attached material) yet works after the geometry is realized - The "Reset Children" collection info node option has no effect **Exact steps for others to reproduce the error** 1. Load the attached .blend file The link marked "no attributes" doesn't have instance-domain named attributes set by the objects in the collection while the link marked "yes attributes" has those attributes, but under the vertex domain.[instance_attributes_bug.blend](https://archive.blender.org/developer/F13147624/instance_attributes_bug.blend) ![source.png](https://archive.blender.org/developer/F13147625/source.png) ![yes_attributes.png](https://archive.blender.org/developer/F13147626/yes_attributes.png) ![no_attributes.png](https://archive.blender.org/developer/F13147627/no_attributes.png)
Author

Added subscriber: @42xnor

Added subscriber: @42xnor

Added subscriber: @mod_moder

Added subscriber: @mod_moder

Hello, thanks for the report.
Since attributes can be inherited from collections:
Instances named attribute test 1-1-1.blend
Also, for rendering, now the attributes of the instances are not transmitted.
We can conclude that your problem is that the instances you get are not the ones you create.
The reason is that all objects turn into instances. Everything, even your instances, turn into others.
Also, I'm not sure if the child attributes can be retrieved by the parent.
And for you now the problem is that there is no way to get the descendants of the obtained instances.
There is a project for this now,
https://developer.blender.org/D14064
but this report looks like a feature request.

Hello, thanks for the report. Since attributes can be inherited from collections: [Instances named attribute test 1-1-1.blend](https://archive.blender.org/developer/F13149996/Instances_named_attribute_test_1-1-1.blend) Also, for rendering, now the attributes of the instances are not transmitted. We can conclude that your problem is that the instances you get are not the ones you create. The reason is that all objects turn into instances. Everything, even your instances, turn into others. Also, I'm not sure if the child attributes can be retrieved by the parent. And for you now the problem is that there is no way to get the descendants of the obtained instances. There is a project for this now, https://developer.blender.org/D14064 but this report looks like a feature request.

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

If I understand the problem correctly, the instances that have the attributes generated are "children" of the instances generated with the node "Collection Info".
But apparently we can't read these attributes, as it is not possible to retrieve the instances generated in the other tree.

But maybe I'm wrong.

I'm not too familiar to tell if it's a bug or not.
Needs Information from Developers

If I understand the problem correctly, the instances that have the attributes generated are "children" of the instances generated with the node "Collection Info". But apparently we can't read these attributes, as it is not possible to retrieve the instances generated in the other tree. But maybe I'm wrong. I'm not too familiar to tell if it's a bug or not. Needs Information from Developers
Author

This is my understanding of the data flow after reading Moder's comment:
{F13226584 size=full}
Please let me know if I am wrong.
If this is right, why is "realize instances" going overboard and doing realization 2 levels deep, transferring the attributes to the vertex domain?

This is my understanding of the data flow after reading Moder's comment: {[F13226584](https://archive.blender.org/developer/F13226584/responce_data.png) size=full} Please let me know if I am wrong. If this is right, why is "realize instances" going overboard and doing realization 2 levels deep, transferring the attributes to the vertex domain?
Author

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

Changed status from 'Needs Developer To Reproduce' to: 'Archived'
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#98807
No description provided.