Support per face and per edge custom attributes for PLY import #126339
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#126339
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently only the per vertex custom attributes are supported for PLY importer. We can add the functionality to parse the per face and per edge data from the header and construct the geometry with these attributes.
Thanks for the report, but please use other channels for user feedback and feature requests: https://developer.blender.org/docs/handbook/communication/user_feedback/
For more information on why this isn't considered a bug, visit: https://developer.blender.org/docs/handbook/bug_reports/not_a_bug/
Just to make it clear, geometry nodes have a face corner attribute domain which is used both for corner vertices and edges. In case PLY import support face-corners and node do that, there is nothing to change, everything is as expected.
In case of PLY does not support face corner attributes than it might be an issue on the side of format itself.
@bebop_artist Did you intend to work on this yourself? If so, the Pipeline and Assets module would welcome this tracking todo item here and I'll reopen if so.
Yes I will work on this at least on my fork, I was trying to get some data into blender from another python program for viz and debug.
I could have done it in the python API but that requires to install additional stuff to blender's bundled interpreter and the data generation steps are quite long. So instead I just run my python program and generate results with the custom attributes then save them.
I was searching for any kind of visualizer to work with those and so far the MeshLab is the only one, which only reads single per face color. With the current proposition we can have multiple colors/attributes in a single PLY file and determine which one to visualize in the geometry node editor.
I do not think you could do anything on a python to change geometry nodes behavior.
With the python API I could have defined the blender mesh with any kind of custom attributes with any kind of data type, I have done it before for another project for various attributes of the procedural generation process(like at which iteration which features are marked etc.), not the geometry nodes of course.
Here is an example
But this allowed me to process the blender mesh in the geometry nodes afterwards by using those custom defined attributes.
I'll reopen. @bebop_artist Feel free to edit your original description to organize and track the work you want to go and do. Once you have a PR you can tag it so that it will "Fix" this TODO.