PLY I/O: implement support for other attributes besides Color #108948
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#108948
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Short description of error
Only tested with point cloud files in the PLY format. Normal attributes, Scalar fields and other attributes are not imported.
Exact steps for others to reproduce the error
Import a PLY file that contains a point cloud with normals. Look in the spreadsheet editor, there are no normals.
PLY importer never supported other attributes as far as I can see, it needs to be implemented.
@aras_p could you take a look?
Import PLY doesn't import any attributes other than Colorto PLY I/O: implement support for other attributes besides Color@KeirCB: this improvement request does make sense, I'll see what I can do. For implementation and testing, some sort of PLY file with custom attributes would help -- can you attach an example file you're talking about (i.e. point cloud with custom normals)?
Thank you for looking into this. Beehive.Normals.ply is a point cloud with calcuated normals. Beehive.Normals.ScalarFields.ply has the normals duplicated onto 3 scalar fields.
I'm glad you all are looking into this - I've also attached a pointcloud with a bunch of custom fields which is coming from a houdini export.
Its not mentioned in the issue, but it would be great if blender supported exporting custom fields as well (I'm guessing thats what the I/O in the title refers to)
I think part of the complexity here is that the floats are only bound into float3s based on naming. I'd be totally happy with a best guess on field association.
@KeirCB @Jonathan-Brodsky just landed custom PLY attributes support for both import & export to main branch (so for blender 4.1)
@aras_p Thank you so much for your work! I will be testing today. Cheers!
I've run into a crashing bug when attempting to use the PLY exporter -
I'm using an example file from the geoscatter plugin (linked under instancing by scale on this page)
and I've made the following changes to the geometry node graph so I get a bunch of points with additional vertex attributes out.
when exporting to ply without having "limit to selected only" selected, I'm getting a crash. I've attached the crash log.
@Jonathan-Brodsky File a separate issue for that. Don't post on an already closed issue which was originally for something entirely different.