cnr-isti-vclab / meshlab

The open source mesh processing system
http://www.meshlab.net
GNU General Public License v3.0
4.56k stars 816 forks source link

Pointsets and ISO exports #224

Open npolys opened 6 years ago

npolys commented 6 years ago

It would be worthwhile to test the X3D / VRML exporter for this use case:

Several ISSUES:

I loaded a .ply from CloudCompare (originally a .las); it has colors per vertex .

1 = syntax ] for .wrl, a point cloud gets exported as an IndexedFaceSet node (rather than a PointSet) [ the other attributes like creaseAngle and solid are not needed for PointSets] In the X3D export, there is a PointSet, but also an empty IndexedFaceSet

2 = data ] wrl and X3D export are broken, with some loop only writing out points in discrete rows.

npolys commented 6 years ago

RE #2 I believe that when exporting a point cloud as a 'mesh', it is not dumping all the points (colors and normals), only those in discrete rows and columns of x y z .... this appears to be true for .wrl, .x3d, and .json

.ply export of point clouds w colors and normals seems to work as expected (proven by round-tripping a file)

npolys commented 5 years ago

http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rendering.html#PointSet

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.