Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

rndr saving the image to disk

Al Macleod
2011-10-23
2013-04-25
  • Al Macleod
    Al Macleod
    2011-10-23

    If I run the command  "rndr Ambient_occ.rib", which has the following line in the rib:

            Display "ambient occlusion.tif" "framebuffer" "rgba"

    Should it not generate the file ambient occlusion.tif as a file?  If I run the command on a remote machine, it renders but does not save anything.  If run it on a machine with a display it will show the image, but not save it - what am I doing wrong?  I've also tried using render -d too.

    Thanks!

    Al.

     
  • peeldog,

    The "framebuffer" display driver is used only to output to the screen.
    If you want to output to a file, you should use the "file" display driver.
    http://www.renderpixie.com/pixiewiki/Documentation/Display_drivers#file.2C_tiff.2C_shadow_drivers

    I usually use the statement:

    Display "my_file.tif" "file" "rgba" "string compression" ["LZW"]
    

    Which saves a lossless-compressed .tif file.

    I hope that helps.
    Eric