Export to .ply ignores flat shading #102472
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#102472
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?
System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: Intel(R) UHD Graphics 630 Intel 4.5.0 - Build 31.0.101.2111
Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash:
blender/blender@b292cfe5a9
Worked: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 'blender/blender@02948a2cab'
Short description of error
When exporting to Stanford format (.ply), regardless of whether the model is smooth shading or flat shading, the normal information always corresponds to smooth shading. Even for a simple cube.
On my laptop everything works correctly (Version 2.92.0)
Exact steps for others to reproduce the error
Added subscriber: @smitch80
I found a quick workaround for my problem for now
I replaced files in the C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_mesh_ply folder with the same files but older version (2.92.0)
Those files are: init.py, export_ply.py and import_ply.py
That worked well for me
Added subscriber: @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
New:
Old:
It seems the new behavior produces less number of vertices and thus interpolates normals or something. Not sure if this is expected.
Added subscriber: @GaryH
Would love to see this fixed as well! Blender seems to completely ignore normal data when exporting a
.ply
file. The only way to retain a flat shading is to disable thenormal
option, however this hack does not allow a mixture of flat and smooth shaded faces, which is crucial to any normal usage of the exporter. Additionally, Blender seems to ignore the smooth-shaded normal too during import.