Testing MentalRay Renders
Testing command line mental ray renders can be tough at times, but here are a couple of tips to help smooth out the process.
imf_disp is a great little application bundled with mental ray to allow you to view rendered images. It updates as renders complete, so you can rerender to the same image and watch the progress of the render. If you want to see the output on the command line as tiles come in it is super convenient to use.
ray3 has a command line argument (-window XL YL XU YU) to render only a portion of the rendered image. If you only want to render a section of a 2K image, this is perfect. Note: (0,0) is the lower left hand corner, which is different from Photoshop, which use the upper left hand corner. (Thanks Adam)
Some other useful ray3 command line arguments are -verbose (turns on more logging), -memory (set max memory in MB), -threads (set max # of threads) and -file_name (specify output, default is tga). If you want to test memory management or threading issues, these are what you should use.
1. Using imf_disp
imf_disp is a great little application bundled with mental ray to allow you to view rendered images. It updates as renders complete, so you can rerender to the same image and watch the progress of the render. If you want to see the output on the command line as tiles come in it is super convenient to use.
2. Render a region
ray3 has a command line argument (-window XL YL XU YU) to render only a portion of the rendered image. If you only want to render a section of a 2K image, this is perfect. Note: (0,0) is the lower left hand corner, which is different from Photoshop, which use the upper left hand corner. (Thanks Adam)
3. Other ray3 arguments
Some other useful ray3 command line arguments are -verbose (turns on more logging), -memory (set max memory in MB), -threads (set max # of threads) and -file_name (specify output, default is tga). If you want to test memory management or threading issues, these are what you should use.