Hi @andrewguo,
We have added surface clipping to FME 2022. Please try the attached workspace that illustrates how to use the Tiler and Clipper transformers to tile a Mesh:
Hi @andrewguo,
We have added surface clipping to FME 2022. Please try the attached workspace that illustrates how to use the Tiler and Clipper transformers to tile a Mesh:
Hi @daveatsafe , thanks for replying!
I'll have a look.
Hi @andrewguo,
We have added surface clipping to FME 2022. Please try the attached workspace that illustrates how to use the Tiler and Clipper transformers to tile a Mesh:
Hi @daveatsafe , I have been trying to export tiles using the file you kindly sent me.
It could be seen that the mesh was tiled in FME 3d viewer. However, the texture was not attached.
And, instead of exported into multiple tile files, the result was in a single obj file.
The workflow is shown below:
Any suggestions will be appreciated!
Hi @daveatsafe , I have been trying to export tiles using the file you kindly sent me.
It could be seen that the mesh was tiled in FME 3d viewer. However, the texture was not attached.
And, instead of exported into multiple tile files, the result was in a single obj file.
The workflow is shown below:
Any suggestions will be appreciated!
Hi @andrewguo,
To export to multiple file, please set the fanout in the writer.
The first step is to transfer the row and column info from the Tiler to the Clipped features by enabling the Merge Attributes option on the Clipper transformer:
Now that the row and column are on the the tiles, we can add them to the output OBJ file name:
For the missing textures, please ensure that the texture image files and .mtl material file are in the appropriate location with respect to the input OBJ file.
Hi @daveatsafe , I have been trying to export tiles using the file you kindly sent me.
It could be seen that the mesh was tiled in FME 3d viewer. However, the texture was not attached.
And, instead of exported into multiple tile files, the result was in a single obj file.
The workflow is shown below:
Any suggestions will be appreciated!
Hi @daveatsafe ,
Thank you for your timely reply.
I have tried the settings you presented above and the obj tiles are exported separately!
However, I noticed that the exported texture is still in one piece which means the tiles can't be colorized separately. And it was proved that when I uploaded the zipped file to cesium, the tiles are merged into one mesh model. Besides, no texture is displayed and no geoinformation included for that model.
I'm wondering if there is a way to:
- Chop up the texture according to the exported obj tiles.
- Display the textured tiles individually in cesium.
Any information will be appreciated!