Convert Normal Maps
Version 1.7
Simple script that converts any NormalBump map to VRayNormalMap and vice versa.
This tool works on any object in the scene with assigned VRay material.
Requested here: http://www.scriptspot.com/forums/3ds-max/scripts-wanted/switch-maps-text...
>>> Update v1.4 (max2010+):
- affect only selected objects or convert all scene materials
- preserve instances
- optimized code
>>> Update v1.5 (max2014+):
- added support for gamma override (works in max2014 and up)
- optimized code
>>> Update v1.6 (max2014+):
- optimized code
- fixed some bugs requested by TwilightZoney
NOTE: script will close MEditor before start converting process.
>>> Update v1.7 :
- rewritten code from scratch
- supports max 2017 and vray 3+
NOTE: all new parameters of VRay NormalMap will be converted to standard normal map and vice versa. Also make sure to save the scene before use this tool ;)
Attachment | Size |
---|---|
bga_convertnormalmaps_v1.4.ms | 1.75 KB |
bga_convertnormalmaps_v1.5.ms | 2.33 KB |
bga_convertnormalmaps_v1.6.ms | 2.69 KB |
bga_convertnormalmaps_v1.7.ms | 2.95 KB |
bga_convertnormalmaps_v1.7.mcr | 3.05 KB |
Comments
Blend Materials
Now if only there was a capacity to convert standard blend materials to vrayblendmtl, since from version 3.3 of vray standard blend materials are no longer supported...
Doesn't work as expected
Hi,
Thank you for this great idea but unfortunately it doesn't work as I expected.
Once I ran the script, all the NormalBump maps have been replaced with a single VRayNormalMap instanced in all the slots.
Please see the screenshot:
Thanks
Very important script thank you "Branko" for making it ,
I just want to ask you if you can make it global (i mean replacing Normal Map with Vray Normal Map) wherever it was (in my case it was in Mix Map not directly in Bump Slot) .
Thank you in advanced.
Youtube, Gumroad
Error on Material with a lot of multi-sub materials
Hi,
First of all, this script help me a lot, it is much easier than looking for materials one by one. And it is working for me 99% of times.
But I am having a problem, I have some Vray proxies (a car in that case) that have a lot of materials (Multi/Sub-Object), 47 to be precise. And after I run the script, it gets its bump slots all with the same map.
Attached some prints that shows the problem.
Any ideas whats happening, and how to fixed it?
Thanks!
Sorry my bad english...
Everything is working GREAT NOW!
Thanks Branko,
I can now confirm it's working great with V-Ray 3 and also on complex scenes ..
No more crashes or weird artifacts .. You saved us precious time!
P.S: anyone had crashes before with multiscatter plugin or even random crashes caused by normal bump map .. You should try this script!
thanks to scriptspot community
...
Thanks guys :)
bga
+1
Great idea :) great time saver !
It works perfectly. Thank
It works perfectly.
Thank you.
...
@mustafa
I test this tool with max2014 and vray 2.4.
Probably works fine with vray3.0 ;)
bga
...
Thanks *obbboo* for test scene. I fixed and optimized both version of this tool.
Can you try it again on complex scene? Please let me know how work new version.
Cheers!
bga