Command line functionality
Description
Simplygon UI can be started from other applications, for example 3ds Max or Maya, using plugins. The command line functionality can be used to export a scene and define which shader to use.
Instruction
The Simplygon.exe executable that was installed with Simplygon SDK 8.2 is needed to utilize the command line functionality. The executable is located in %programfiles%\Simplygon\8\UI.
The following is an example of how to start Simplygon UI from the command prompt:
Simplygon.exe --app MyApp --dir D:\myscene.ssf --preset C:\Users\UserName\Documents\Simplygon\8\UI\Presets\mypreset.preset --shader blinnphong
The supported parameters and shaders are described below.
Parameters
These are the currently supported parameters:
Parameter | Example |
---|---|
dir |
Simplygon.exe --dir myscene.ssf |
app |
Simplygon.exe --app Max |
preset |
Simplygon.exe --preset C:\Documents\Simplygon\8\UI\Presets\mypreset.preset |
shader |
Simplygon.exe --shader blinnphong |
Shaders
The currently available shaders are:
Command | Name in Simplygon UI |
---|---|
blinnphong | BlinnPhong with textures |
blinnphongshadingnetworks | BlinnPhong with shading network |
unlit | BlinnPhong without textures |
pbr | Physically based |
pbrshadingnetworks | Physically based with shading network |
notdefined | No defined name. Will use the last shader used by Simplygon UI. |
Output
The output file, including all LODs, is saved in the input file directory with the file name appendix _Processed.