vlado may be you can help with the script from message above?
Announcement
Collapse
No announcement yet.
Proper ACEScg workflow
Collapse
This topic is closed.
X
X
-
Originally posted by Mikhalenko View PostBTW, may be someone know script that switch all maps that plugged in diffuse/translucensy to Primaries sRgb?
Comment
-
The kind of script shouldn't be hard to make, I would pay if someone could do it honestly
This is the one I use in Maya, it is really cool
https://gumroad.com/liam_collod#ukVVo
Originally posted by papouse View Postbut so far the big stumbling block is definitely the prospect of manually converting the hundreds of bitmaps & vray color maps in my asset library.
I have moved all my projects to ACES since March. My libraries are the same, Vray or Arnold takes care of the conversion through naming or setting the IDT manually like what I explained above.
If you wanna pre-convert the maps for whatever reason, there are tools that could do this with couple of clicks.. although I don't think it is needed
https://community.acescentral.com/t/...-for-aces/2973
Comment
-
Look, it's not *overly* difficult to write.
It's got unsolvable issues, however, if a map is instanced somewhere else.
The part which figures out the instanced relationships is difficult to code for, at best.
So, if you guys are cool, i can make it so it will do what you ask *provided* the map isn't instanced elsewhere.
It should cater for all the assets which come in with a single map per attribute.
If a map's instanced, it'll print out the name, that it's instanced, and where, and you'll choose what to do with it.
Would this work?Lele
Trouble Stirrer in RnD @ Chaos
----------------------
emanuele.lecchi@chaos.com
Disclaimer:
The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.
- Likes 3
Comment
-
It needs *manual* traversal of material hierarchies, making it very prone to issues.
Meaning maxscript lacks the methods and tools one could use on nodes (light, geo, helpers) to figure out if a map is instanced somewhere.
My assumption that finding IF it was instanced would be easy was completely wrong.
If, and it's a big if, you are ok without instance checking, then the script is essentially done.
You will *not* want to run it on non-hand crafted assets, however.
The results with textures instanced somewhere else would be utterly unpredictable.
Regardless, i'm a Chaos employee, so the script is included in the general support.Lele
Trouble Stirrer in RnD @ Chaos
----------------------
emanuele.lecchi@chaos.com
Disclaimer:
The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.
- Likes 2
Comment
-
Here you go.
It ought to change vrayBitmap and vrayColor maps color space if they are in either the diffuse or translucency channel.
Nesting shouldn't matter, but don't quote me on it.
Instancing is *not* taken into account, so be wary of how you use it.
This has been unsuspectingly difficult, i expect to evaluate some changes to the code as it's currently a tad messy, if functional.
I tried it on evermotion scenes without issue, but give it a moment to update the maps UI after it's done (i.e. if you have the mateditor open.).
​​​​​​​EDIT: script removed. do not use it if you previously downloaded it.Last edited by ^Lele^; 02-07-2022, 08:10 AM.Lele
Trouble Stirrer in RnD @ Chaos
----------------------
emanuele.lecchi@chaos.com
Disclaimer:
The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.
- Likes 2
Comment
-
Hi Lele - thanks very much for the quick turnaround, that's much appreciated!
Aside from being a timesaver, another reason for asking for this was that if there was some hypothetical 'convert scene to ACES' tool it would give me the assurance that I'm setting things up properly since I'm still new to it.
Think I've got it worked out, but the only part I was unsure about was setting up the RGB primaries and what the 'Auto RGB primaries' checkbox in Color management does - It doesn't appear to have an effect on any of the maps I've created, however it does affect diffuse maps in materials pulled from the new Vray Material Library. Is that working as intended?
- Likes 1
Comment
-
Lele
Trouble Stirrer in RnD @ Chaos
----------------------
emanuele.lecchi@chaos.com
Disclaimer:
The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.
Comment
-
Originally posted by ^Lele^ View Post
Thanks for the script. Does it work on bitmaps nested with Multi/sub materials, or Falloff, Color Correction, VrayMultiSubTex maps, etc? Would be much simpler if there was just a global option to use sRGB for all images in diffuse nodes .Last edited by justini; 13-07-2020, 01:22 AM.
Comment
-
So what naming convention needs to be used for a loaded image to be considered in sRGB color space? Is this documented somewhere?
Originally posted by justini View PostThanks for the script. Would be much more useful though if there was just a global option for all images in diffuse nodes to be used in sRGB.
If you want to automate, the best we all can offer is for you to add the particle to the filename, and the texture exclusively to single channels.Lele
Trouble Stirrer in RnD @ Chaos
----------------------
emanuele.lecchi@chaos.com
Disclaimer:
The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.
- Likes 1
Comment
-
Originally posted by ^Lele^ View PostIn the docs?
Script or global option makes no difference here: if an image is in multiple, conflicting places (i.e. diffuse and bump), there's no way to do it right.
If you want to automate, the best we all can offer is for you to add the particle to the filename, and the texture exclusively to single channels.
Comment
Comment