max quick render VS render()
I am trying to batch render some max files using the camera inside the file, if there is one. Thats why I use
render camera:theCam outputFile:outFile
to start the rendering (if previously a camera has been found) and
rendOutputFileName = outFile; max quick render
if no camera has been found.
"outFile" is a pathname like this:
Both render an image, which looks correct in the Frame Buffer, but the first method will save a plain black image. max quick render works correctly, but I dont know how to set a camera as the active viewport. Any ideas why render() fails?