Processing files through InstaLOD Grid using the command line is a powerful option to automate entire pipelines. Setting up such a process can be done quickly and easily with just a few commands.
Please Note: to process tasks through InstaLOD Grid, an InstaLOD Grid server and processing worker must be set up in your network first.
https://www.youtube.com/watch?v=UItb5cVHW5w&list=PLeDPNRvpG2BFkd4Q6QYfd_fnVPPGsgcxW&index=6
Set the working directory to the InstaLOD Pipeline location using cd
(change directory). To run a profile on an InstaLOD Grid server, execute InstaLOD Pipeline with the -server
argument:
InstaLODCmd -server <server-ip:port> <username> <password> -profile <filename> -file <input filename> <output filename> <profile name>
The server-ip:port
argument requires the IP address and the port of the InstaLOD Grid server. The user credentials for InstaLOD Grid are configured by the administrator who sets up the server. The other arguments have an identical function to local processing in InstaLOD Pipeline.
The following example command runs the "OptimizeDemo" profile that is shipped with InstaLOD Pipeline:
InstaLODCmd -server 192.168.123.45:8080 TestUser1 P455w0rd -profile Profiles/Optimize.json -file Data/SM_Zetsuda_130k.fbx Build/SM_Zetsuda_Optimize.fbx OptimizeDemo
For more information on using InstaLOD through the command line please consult the InstaLOD Pipeline user manual.
The InstaLOD Grid client opens each FBX file before sending it to an InstaLOD Grid server to check if textures need to be uploaded as well.
If it is known that all textures are embedded into the files or if the data set has no textures, this behavior can be disabled to speed up the process by including the-disableTextureUpload
argument before loading the profile:
InstaLODCmd -server 192.168.77.123:8080 testuser 1234 -disableTextureUpload -profile "C:/InstaLOD/LOD_3.json" -watchdog "C:/InstaLOD/Data/**" "*.fbx" "C:/InstaLOD/FBX Test" "{MESH.FILENAME}.fbx" "*"