KhronosGroup / OpenCOLLADA

652 stars 252 forks source link

Numbered prefix on exported textures in 3DS Max #550

Open Mistale opened 6 years ago

Mistale commented 6 years ago

When selecting to copy images during export from 3DS Max, exported images / textures used in materials are prefixed with a unique number.

We export multiple models from Max and combine their image-folders into one since we have a lot of "standard" textures that are used in a lot of models. We use our own naming convention to avoid name-clashing.

Is this prefix mandatory, can it be toggled somehow, or are we simply somehow defining the maps "wrong" in Max, causing this behavior?

I noticed that the function createTargetURI() inside of /COLLADAMax/src/COLLADAMaxEffectExporter.cpp adds a unique prefix. But there is also a createTargetURI() function inside of /COLLADAMax/src/COLLADAMaxEffectTextureExporter.cpp which does not add a prefix.

xkk commented 6 years ago

Same problem here.