Skip to main content
Solved

Multiple format output - dealing with textures


virtualcitymatt
Celebrity
Forum|alt.badge.img+35

Hey fellow FME'ers,

 

 

I'm working on a process to export multiple formats some of which support textures. Now I know that FME has the capability to deal with shared items buuut does anyone know a way not output multiple copies of the same textures or overwrite existing ones? is there a way for the writers to use the shared items?

 

 

Thanks in advance for any input

 

 

Best answer by daveatsafe

Hi @virtualcitymatt,

It depends on the formats you are writing to. For example, the OBJ writer has the option to use an existing Material file. Other formats like Collada and CityGML allows you to set the output texture folder. If you set all the writers to use the same folder, you won't be able to prevent writing multiple files, but they will overwrite each other, so you end up with a smaller texture set that all formats can access.

View original
Did this help you find an answer to your question?

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • June 23, 2020

Hi @virtualcitymatt,

It depends on the formats you are writing to. For example, the OBJ writer has the option to use an existing Material file. Other formats like Collada and CityGML allows you to set the output texture folder. If you set all the writers to use the same folder, you won't be able to prevent writing multiple files, but they will overwrite each other, so you end up with a smaller texture set that all formats can access.


virtualcitymatt
Celebrity
Forum|alt.badge.img+35
daveatsafe wrote:

Hi @virtualcitymatt,

It depends on the formats you are writing to. For example, the OBJ writer has the option to use an existing Material file. Other formats like Collada and CityGML allows you to set the output texture folder. If you set all the writers to use the same folder, you won't be able to prevent writing multiple files, but they will overwrite each other, so you end up with a smaller texture set that all formats can access.

Thanks for your suggestion @daveatsafe - this is what I was able to do. It doesn't work for all formats - for example 3ds and a couple others I'm using I can't specify a folder while others create their own unique filenames for the textures. Perhaps I should create a list of these formats im using which aren't consistent and send it in. Maybe these parameters can be made 'standard' across 3d formats.

 

Thanks again

 

 


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