ScriptSpot home

Convert Normal Maps

Downloads

Earlier releases (3)
  • Version 1.6

    3ds Max 2014 or newer · From release notes

    Release notes

    Update v1.6 (max2014+): - optimized code - fixed some bugs requested by TwilightZoney version 1.6

  • Version 1.5

    3ds Max 2014 or newer · From release notes

    Release notes

    Update v1.5 (max2014+): - added support for gamma override (works in max2014 and up) - optimized code

  • Version 1.4

    3ds Max 2010 or newer · From release notes

    Release notes

    Update v1.4 (max2010+): - affect only selected objects or convert all scene materials - preserve instances - optimized code

3ds Max compatibility
Unknown
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
v1.7
Original version requirement
max2014+ vray 2+ vray 3+
Author’s update date
Legacy votes
9
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

barigazy

Branko Živković

More by this author


Version 1.7
Simple script that converts any NormalBump map to VRayNormalMap and vice versa.

Setup & notes

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 ;)

Comments (28)
Justin Imhoff

Doesn''t work with Multi/Subs

Does not work when the vray material with the normal map is within a multi/sub material.

crystal3d

works perfectly on max 2018 and vray 3.60

4 stars, cause it needs a category and a toolbar location for frequent use.

Martin Klein

3dsmax2017 vray 3.5 compatibility

Dear Branko,

I used youre script since some of the latest vray updates because of the normal bump issues. Since I work with max17 at work Id like to use that script, too. But when I run it, it does not change anything and there are no error messages. Could you please check for a compatibility to max17? That would be awesome.

pixelab

Thanks a lot ! Time saver

Only small issue, it converts the Normal map into multiple Vraynormal maps if it's used multiple times.

CGough88

lost bump maps

Hi, is it at all possible to carry over the bump map slot too? When I've been using it the script will only carry over the bitmap for the normal map slot and loose the bitmap from the bump slot.

many thanks though, this script has been a great help.

Branko Živković

version 1.6

Fixed some bugs requested here

Vladimir

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...

Reply to Vladimir
Branko Živković

@Elooder
Sorry but this tool is not material convertor but only texture map in this case Normal Bump convertor

tOm

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:

Attachments
obaida

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.

Attachments
Diego Munhoz Ferreira

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...

Attachments
mustafa mamdouh

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!

mustafa mamdouh

Error

Thanks again for your response! but unfortunately It didn't work with me and I got this error:

-- Error occurred in mtl loop; filename: ; position: 1386; line: 33

--  Frame:

--   mtl: #Multi/Sub-Object:male_03(VRayMtl:body, VRayMtl:Head, VRayMtl:case, VRayMtl:metal, VRayMtl:cigaret)

--   called in map loop; filename: ; position: 1386; line: 33

--  Frame:

--   map: Map #3:VRayNormalMap

--   e: Map #3:Normal Bump

--   called in btn.pressed(); filename: ; position: 1393; line: 34

--  Frame:

--   Array: #(Map #3:VRayNormalMap)

--   node: (DataPair a:Normal_Bump b:VRayNormalMap)

>> MAXScript Rollout Handler Exception:

-- Unknown property: "texmap_bump" in #Multi/Sub-Object:male_03(VRayMtl:body, VRayMtl:Head, VRayMtl:case, VRayMtl:metal, VRayMtl:cigaret) << 

My Config.: Max 2014 + V-Ray 3
 

Reply to mustafa mamdouh
Branko Živković

@mustafa
I test this tool with max2014 and vray 2.4.
Probably works fine with vray3.0 ;)

Reply to obbboo
Branko Živković

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!

obbboo

I have test with V1.1 and V1.2.
It works with the first multisub material only then the script was error

Reply to obbboo
Branko Živković

Can you send me test scene and error message?

3dbybrunolopes

One nice adicion is to be able to force the normal map gamma.
Nice script btw

mustafa mamdouh

+1

thanks so much for your help ..
I did a quick test and it's working with vraymatl but it didn't work at multisub materials .. could you fix it please?
also if possible to add option for Appying the script on selected objects or all scene materials ..
Thanks again!

Regards,
Mustafa