Hi @weicong96,
The best way to do this is to make use of the way FME stores texture images in an internal library during the processing, applying them again when writing out the model.
- Extract the images from the library using the SharedItemRetreiver
- Resample them with the RasterResampler
- Check the resampled images back into the library with the ShareItemAdder, set to update
When FME write the model back out to any of the 3D formats it supports, it will use the resampled images in place of the originals.
ResampleTexture.fmw
Hi @weicong96,
The best way to do this is to make use of the way FME stores texture images in an internal library during the processing, applying them again when writing out the model.
- Extract the images from the library using the SharedItemRetreiver
- Resample them with the RasterResampler
- Check the resampled images back into the library with the ShareItemAdder, set to update
When FME write the model back out to any of the 3D formats it supports, it will use the resampled images in place of the originals.
ResampleTexture.fmw
Hi, thank you for your answer. I also come up with the same problem, yet I am in FBX format.
However, I am a little bit confused in part of the transformers and would like to have some clarification, if possible.
- May I know the reason to have "_shared_item_id" in SharedItemRetriever transformer?
- What is interpolation type: "Bicubic" does in RasterResampler_2 transformer?
- What is the purpose to have featuremerger in this case? To merge all the images back to the mesh model? I saw that you have use "Process duplicate suppliers". Is there any reason behind this?
Thank you and hope I can have better understanding in this workbench.
Again, thank you for your help.