# Simplygon 3DS Max Plugin
Simplygon comes with pre-built plugins for Autodesk 3DS Max 2017-2021 which allow users to work with Simplygon more fluently directly through Max.
Autodesk recently introduced Physical Material as the new standard material in Max 2021. We've added support for Physical Material in our Simplygon Max 2021 plug-in, and as this is the first public version please consider it a Preview plug-in.
We are also bundling the new Simplygon Python API that can be used as standalone or through Max, Maya or any other tool that supports Python.
# Max 2021 and Physical Material
Along with the release of Simplygon 9.1 we are adding support for the new Physical Material that was introduced in Max 2021.
We are supporting most (not all) of the material properties in the Advanced Physical Material. Material properties we are not currently supporting are those that does not have a matching texture slot; which means that we are not able to map a baked texture to the target material. For unmappable textures or if the Physical Material is not the target material the user can choose to set up the target material manually (by utilizing provided query functions).
As material properties are interesting in different cases we've also added shading network script support. The implementation is similar to DirectX (HLSL) material with the important difference that color and texture nodes map directly to static material properties instead of properties in a custom HLSL shader. Shading networks open up the possibility to bake a wide range of material properties to predefined- or custom material channels.
# Plug-in modules
The UI module expose a graphical user interface for setting up optimization settings (Pipelines), for example reduction, aggregation and material baking.
The scripting module exposes functions that can be accessed through MaxScript and Python, such as script functions for executing Simplygon, importing and exporting scenes, creating or modifying Pipelines (settings) and shading networks (for mapping of custom DirectX materials).
# Python API
As of Simplygon 9.0 we are bundling the Simplygon Python API. The API can be used directly through Python, Max, Maya and various other tools that support Python. The Simplygon Python API can be used in combination with the scripting module, for example export the Max scene to file using exposed Simplygon script functions, then load the scene using the Simplygon Python API and modify data and / or optimize geometries as if using the standalone Simplygon C++ API.