[SOLVED] Replace 'color correct' map with bitmap on mass


#1

I’m trying to replace all ‘color correct’ maps with the texture that is referenced in them.
Here’s a tread about how to add ‘color correct’ on mass… I’m trying to remove them on mass.
https://forums.cgsociety.org/t/adding-colorcorrect-to-diffuse-slot-on-many-objects/1467723

The context of this request:
Transferring 3ds scenes to Blender. FBX doesn’t support the ‘color correct’ map and as such appear blank when brought into Blender.

If I can replace the color correct map with the embedded texture, it will solve my ‘missing’ material problem.

This script replaces the old ColorCorrect with the current “Color Correct” map.
http://www.scriptspot.com/3ds-max/scripts/replace-colorcorrect-by-3ds-max-color-correction-plugin


#2

Something like this may work. Fully untested!

for i in (getclassinstances color_correction) where iskindof i.map bitmaptexture do replaceinstances i i.map

#3

Thanks! I’ll give it a go on something small. I’ll report back with my findings.

I tried something like this today but my syntax wasn’t right. thanks again


#4

What a legend!! it totally works #oneliner


#5

So, what is the decision? How did you solve that problem?
I paste this (for i in (getclassinstances color_correction) where iskindof i.map bitmaptexture do replaceinstances i i.map) in to maxscrip window, press Evaluate all and nothing happens