Maniphest T62478

Ply format triangulation
Closed, Resolved

Assigned To
Campbell Barton (campbellbarton)
Authored By
Mikhail Gavrilec (Gravit)
Mar 12 2019, 6:20 AM
Tags
  • Add-ons (Community)
  • Import/Export
Subscribers
__name__
Bastien Montagne (mont29)
Campbell Barton (campbellbarton)
Mikhail Gavrilec (Gravit)

Description

System Information
Operating system: Ubuntu 18.04.2
Graphics card: GT 1030

Blender Version
Broken: Blender 2.8


Worked: I didn't have that problem in 2.79

Short description of error
When you export ply format from Blender it exports with triangulation. I didn't have that problem in 2.79.
Exact steps for others to reproduce the error
Create Suzane in blender and export it as ply with everything unchecked in export panel. And after that import again in ply format.

Related Objects

Mentioned In
T63728: Data, Assets & I/O Module
Mentioned Here
rBAd3811cba7b20: PLY Format: ngon support for import/export

Event Timeline

Mikhail Gavrilec (Gravit) created this task.Mar 12 2019, 6:20 AM
Bastien Montagne (mont29) assigned this task to Campbell Barton (campbellbarton).Mar 12 2019, 11:07 AM
Bastien Montagne (mont29) lowered the priority of this task from 90 to 50.
Bastien Montagne (mont29) edited projects, added Add-ons (Community), Import/Export; removed BF Blender.
Bastien Montagne (mont29) added subscribers: Campbell Barton (campbellbarton), Bastien Montagne (mont29).

2.8 add-on code uses looptris, which only generates triangles, while in 2.7 it was using tessellated data, which could also generate quads.

Don’t think that this is a bug, more like some design decision, but will let @Campbell Barton (campbellbarton) decide here.

Campbell Barton (campbellbarton) lowered the priority of this task from 50 to Low.Mar 21 2019, 2:34 PM
__name__ added a subscriber: __name__.Sep 17 2019, 12:44 AM
__name__ added a comment.Sep 17 2019, 12:48 AM

Since exporting as OBJ correctly keeps quads, and the PLY format supports quads as well, I feel that Blender should keep quads when exporting to PLY (same behavior as 2.79). I was very surprised to see that my mesh had been triangulated.

Bastien Montagne (mont29) added a comment.Sep 17 2019, 8:49 AM

@__name__ obj exports polygons (hence also quads) by default, if you turn on the triangulation option it will also only export triangles now. PLY does not support polygons.

Mikhail Gavrilec (Gravit) added a comment.Sep 17 2019, 8:55 AM

I used ply exporter to export hexahedral meshes for a program that converts ply files to vtk files (ply file has to contain only quads for this). Now I can use only 2.79 for this.

Campbell Barton (campbellbarton) mentioned this in T63728: Data, Assets & I/O Module.Sep 18 2019, 3:39 AM
Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved.EditedSep 21 2019, 6:52 AM

Fixed rBAd3811cba7b2072becdb1331c73940dd32dd5b29b