Skip to main content
Open

Create Texture files from Point Cloud and/or Mesh Vertices

Related products:Transformers
  • January 14, 2021
  • 1 reply
  • 116 views
danilo_fme
  • danilo_fme
    danilo_fme

It was suggested on this thread to open a new idea.


My use case is converting a point cloud with associated colors to a mesh and preserving the color/texture. The PointCloudSurfaceBuilder does this but the colors are saved on the mesh vertices and when exporting to most formats that data is lost. OBJ seems to be the only one that works and not all viewers seem to display that data (colors do not show up in Blender but do in MeshLab).


The above thread lists a work around using MeshLab which I will post at the end. It would be nice if FME could convert the mesh vertices color into a texture preventing the need to go to FME -> 3rd party and back to FME if OBJ isn't the final preferred form.


This is also an issue for other use cases as the above thread was about a different issue that I found as a solution. I believe I'm the first to document it as an issue with the PointCloudSurfaceBuilder.

 

The work around steps from daveatsafe:

Please install and start MeshLab and do the following steps:

  • File -> Import Mesh, then choose the OBJ file
  • Pick Filters -> Texture -> Parameterization: Trivial Per-Triangle - set Texture Dimension to 8192
  • Pick Filters -> Texture -> Transfer Vertex Attributes to Texture (1 or 2 meshes) - set texture height and width to 8192
  • File -> Export Mesh As - Save to another OBJ in same folder.




1 reply

bark0s
Contributor
Forum|alt.badge.img+3
  • Contributor
  • June 21, 2022

It'd be great if you could take a coloured pointcloud, mesh it and output to i3s too. (and fbx)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings