Maxscripting Blitz3d Materials

NOTE:

The unencrypted maxscripts are provided mainly to make it easier to develop third-party tools. Modifying the source will most likely compromise compatibility with future versions of B3d Pipeline - so modify at your own risk!

Blitz3d Brush/Map:

The maxscript for the Blitz3d Brush and Blitz3d Map can be found in: [3dsmax]\scripts\startup\

Search for "Scripted Plug-ins" in the MAXScript Reference.

Convert Material to Blitz3d Brush/Map:

Customize UI: B3d Pipeline Tools category: B3d Convert Material

This script attempts to convert the active material slot to a Blitz3d Brush and Map.

Convert Scene Materials to Blitz3d Brush/Map:

Customize UI: B3d Pipeline Tools category: B3d Convert Scene Materials

This script attempts to convert all scene materials to use Blitz3d Brush and Map.

The maxscript source for these material utilities can be found in: [3dsmax]\scripts\b3dpipeline\B3dMaterialUtils.ms

 

Disclaimer:

I'm no expert on maxscript; in fact, most of the time I find it quite baffling. So I'm always interested in learning how other people use maxscript, and I'm hoping that by providing the source, other people might help refine these scripts and/or come up with third party tools they might be kind enough to let me integrate into the pipeline.