8

I'm using FME to generate a TIN from a LiDAR point cloud, and everything is working except for draping an image over the resulting TIN.

I've read all the FME help pages, and checked out the examples that are easily googled.

I'm currently doing the following:

  • Selecting the last-strike from the LiDAR point cloud
  • Generating a TIN
  • Clipping an ECW to the area of interest
  • Using an AppearanceStyler on the image, and then AppearanceSetter with the TIN going into the geometry port and the image into the appearance port
  • Writing the result out to Collada and OBJ formats, as well as viewing the results in the inspector

The TIN is visible in MeshLab, and looks fine, but I can't get a texture (draped image) to show up! I can't see it in the Collada or OBJ files, and not in the inspector, so I think something is wrong in the workspace.

Anyone got a methodology that will work?

Example of AppearanceSetter settings

1

To paraphrase my initial suggestion in the comments section:

Looking at your workspace, it seems that inserting a FaceReplacer between TINGenerator and AppearanceSetter should do the trick.

3

I think that the solution suggested by @mKurowsKi worked.

Adding a FaceReplacer between the TINGenerator and the AppearanceSetter means that the OBJ file, when opened in MeshLab has colour!

Very nice...

draped imagery on OBJ file in Meshlab

  • 1
    In that case, I think @mKurowsKi deserves the bounty. – Germán Carrillo Jan 28 '15 at 5:40
  • Yep, well can @mKurowsKi please write it up briefly? – Alex Leith Jan 28 '15 at 22:25
  • sure! just wrote it up below – mKurowsKi Jan 28 '15 at 23:21
  • I've used R packages RTriangle and rgl to do this stuff - the tricky part is the point-cloud processing - just did something dopey like a max within cell - , but everything else reasonably straightforward. Have you tried other free software workflows? i'm keen to use D3 for the vis ultimately. – mdsumner Jul 23 '16 at 11:00
  • Sorry, @mdsumner, I've only used FME for this. It saves a lot of hacking around with code! I'm not sure where I'd start to do this using open source tools. – Alex Leith Jul 24 '16 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.