Vertex Colors not imported for PLY files in 2.8 #63227
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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-addons#63227
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?
System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.96
Blender Version
Broken: version: 2.80 (sub 53), branch: blender2.7, commit date: 2019-03-31 21:52, hash:
blender/blender@b936d7b16c
Worked: Blender 2.79 and earlier
Short description of error
In Blender 2.79 and prior, importing .ply files which contained vector color information would bring in vertex colors. Importing the same .ply files in Blender 2.8 does not bring in vertex colors with the mesh. See attached image comparing ver2.7 (left) and ver2.8 (right).
Exact steps for others to reproduce the error
I've attached a .ply file that contains vertex color info. To reproduce, 'File->Import->Stanford (.ply)', and select test.ply (also attached.) Vertex colors should exist for the attached .ply file (test.ply)
test.ply
Added subscriber: @DavidOrtley
Added subscriber: @intrigus-3
Added subscribers: @JacquesLucke, @rjg
Looks like some code for the vertex color from the 2.79b release was changed in the port to 2.8. I'm not sure why, but there is a comment saying
# XXX, colors dont come in right, needs further investigation.
in the 2.79b version, so perhaps this feature didn't quite work as expected.@JacquesLucke do you know why this feature is missing?
The code for handling vertex colors is there, but changes from the 2.79b version were introduced in
227fafdfcf
. I'll have to take a closer look.@rjg, unfortunately, I don't know why this feature is missing currently.
I think I found the bug. The current implementation requires an alpha channel for the vertex color otherwise it's ignored.
Added subscriber: @ideasman42
The bug was introduced in
1542092295
and @ideasman42 had already noticed it. However there doesn't seem to be any old bug report or patch.This issue was referenced by
b9ba95de27
Changed status from 'Open' to: 'Resolved'