Author Topic: Baking the topo maps with the Batch Tools directly from 3dsMax  (Read 5033 times)

Hi,

As I often needed to bake and rebake the topology maps of the 3D objects I work on and because it always took me a long time to import them in Substance Designer I decided to create a batch script that can be used directly within 3dsMax.
The script is based on the Allegorithmic Batch Tools (https://support.allegorithmic.com/documentation/display/SB10) to generate the maps and on some custom code to create a .sbs referencing them without introducing dependencies to encapsulated graphs.

This script currently answers my needs and I share it for those of you who are looking for something similar or for example code.
At this point the script is not perfect: some bakers are missing and the baking options have not been exposed. This may come in the future, although I cannot say when...

Here it is:
http://werwackfx.com/index.php/graphictools/maxscript-main/maxscript-articles/78-wksubstancetopomapsbaker


Best,

wk

Hi,

As I often needed to bake and rebake the topology maps of the 3D objects I work on and because it always took me a long time to import them in Substance Designer I decided to create a batch script that can be used directly within 3dsMax.
The script is based on the Allegorithmic Batch Tools (https://support.allegorithmic.com/documentation/display/SB10) to generate the maps and on some custom code to create a .sbs referencing them without introducing dependencies to encapsulated graphs.

This script currently answers my needs and I share it for those of you who are looking for something similar or for example code.
At this point the script is not perfect: some bakers are missing and the baking options have not been exposed. This may come in the future, although I cannot say when...

Here it is:
http://werwackfx.com/index.php/graphictools/maxscript-main/maxscript-articles/78-wksubstancetopomapsbaker


Best,

wk

Awesome! Thanks for posting this script.

Cheers,
Wes
Integrations Product Manager / Training
wes.mcdermott@allegorithmic.com
Twitter: The3DNinja

Hello,

Version 0.93 released. Just fixed a bug regarding the AutoUnwrap tool that didn't show up.

To install the new version if you have a previous one on your computer just do a standard install over the old one. It will overwrite it correctly.

Do not hesitate if you have any feedback,

Wk

Hello,

Version 0.94 released. Fixed a major bug regarding the output maps: the size and output format were in 8bpc instead of 16bpc!

If you downloaded a previous version you have to upgrade to this one!!

To install the new version if you have a previous one on your computer just do a standard install over the old one. It will overwrite it correctly.

Do not hesitate if you have any feedback,

Wk

Hello,

Version 1.0 has just been released  :)

This version is fully compatible with Batch Tools 6. It also support generation of maps with different values for width and height.

Enjoy,

Werwack

Error on baking

This script currently answers my needs and I share it for those of you who are looking for something similar or for example code. essay writer
At this point the script is not perfect: some bakers are missing and the baking options have not been exposed. This may come in the future, although I cannot say when...
Here it is:
http://werwackfx.com/index.php/graphictools/maxscript-main/maxscript-articles/78-wksubstancetopomapsbaker

Thank you! Exactly what I needed to complete my new project! Without this script I would spend twice as much time on it, I guess. Thank you again.