Frame Buffer




In Audio Video case, a framebuffer is a video output device that drives a video display from a memory buffer containing a complete frame of data. The information in the buffer typically consists of color values for every pixel (point that can be displayed) on the screen. Color values are commonly stored in 1-bit monochrome, 4-bit palettized, 8-bit palettized, 16-bit highcolor and 24-bit truecolor formats. Framebuffers differ significantly from the vector graphics displays that were common prior to the advent of the framebuffer. With a vector display, only the vertices of the graphics primitives are stored. The electron beam of the output display is then commanded to move from vertex to vertex, tracing an analog line across the area between these points.


In Vray Case

In rendering to the 3ds Max, Rendered Frame Window (RFW or VFB), V-Ray allows you to render to a V-Ray specific frame buffer, which has some additional capabilities:
* Allows you to view all render elements in a single window and switch between them easily;
* Keeps the image in full 32-bit floating-point format;
* Allows you to perform simple color corrections on the rendered image;
* Allows you to choose the order in which the buckets are rendered.

The V-Ray VFB also has some limitations, please look at the section below.



Show last VFB - this button allows you to open it again, can also be achieved with the showLastVFB() MaxScript method of the V-Ray renderer.

Enable built-in frame buffer - Enables the use of built-in V-Ray frame buffer. Due to technical reasons, the original 3ds Max frame buffer still exists and is being created. When this feature is turned on - VRay will not render any data to the 3ds Max frame buffer.

Render to memory frame buffer - create a V-Ray frame buffer and will use it to store color data that you can observe while rendering and afterwards. Turn this feature off if you wish to render really high resolutions that would not fit into memory or that may eat up a lot of your RAM not allowing for the scene to render properly.

Get resolution from 3ds Max - V-Ray VFB will take window resolution from the 3ds Max common render settings.

Output resolution - this is the resolution that you wish to use with the V-Ray frame buffer.

Pixel aspect - specifies the pixel aspect for the rendered image in the V-Ray frame buffer.

Render to V-Ray image file - when this is on, V-Ray directly writes to disk the raw image data as it is being rendered. It does not store any data in the RAM, so this feature is very handy when rendering huge resolutions for preserving memory. If you wish to see what is being rendered, you can turn on the Generate preview setting. You can specify either a .vrimg or an .exr file for output:
* If you specify a .vrimg extension, the resulting file can be viewed through the File > View image... menu of 3ds Max, or converted to an OpenEXR file with the help of the vrimg2exr tool.
* If you specify an .exr extension, V-Ray will write out a tiled OpenEXR file that can be used directly by 3ds Max or other compositing applications. The file contains all render elements for the image.

Generate preview - create a small preview of what is being rendered. If you are not using the V-Ray memory frame buffer for conserving memory, you can use this feature to see a small image of what is being actually rendered and stop the renderer if there is anything that looks wrong.

Save separate render channels - allows you to save the channels from the VFB into separate files. Use the Browse button to specify the file. This option is available only when rendering to a memory frame buffer.

Save RGB and Save Alpha - these options allow you to disable saving of the RGB and Alpha channels respectively. This can be useful if you only want to generate other render channels. Note that V-Ray will still generate the RGB and Alpha channels, however they will not be saved.


Notes :

*  The V-Ray VFB does not display the G-Buffer layers (like Coverage etc.);
* The V-Ray VFB does not work with stripe rendering;
* Even though you select the V-Ray VFB as your output, the 3ds Max VFB is still created and thus takes additional memory. If you want to reduce that memory, you need to uncheck the Get resolution from MAX option, set the 3ds ?ax resolution to a low value like 100 x 100, and then select your real output resolution in the V-Ray VFB options.
* If you have selected an output image file from the Common tab of the Render Scene dialog, V-Ray will fill out the 3ds Max RFW, and this will be saved as your image. If you want to save the V-Ray VFB instead, you should use the Split render channels or Render to V-Ray raw image file option of the V-Ray VFB.
* The OpenEXR file format is an open file format for high dynamic range images originally developed by Industrial Light and Magic. The official site of the OpenEXR file format is http://www.openexr.com/