Deprecated The current solution for hardware rendering in mental ray has been designed for previous generations of the GPU, it is not intended to be used for new applications. Future versions of mental ray will provide enhanced and unified support for hardware acceleration both for rendering and shading to take full advantage of the capabilities of modern graphics processors.
mental ray supports rendering with graphics hardware. To achieve identical results with hardware and software (within the capabilities of the graphics hardware), it is necessary to provide a hardware shader equivalent for each software shader used in the scene.
mental ray will automatically convert graphs of software shaders, and Phenomena in particular, by compiling the existing hardware shader nodes into a program stream accepted by the graphics hardware. This requires that the hardware shaders are written in a language like NVIDIA's Cg 1.2 language that supports the necessary interface definitions.
Shaders written in other languages are accepted as well, but cannot be used as nodes in shader graphs. In these cases it is necessary to write a hardware shader that represents the entire graph or Phenomenon.
For general information on hardware rendering in mental ray see page hardware, and the bibliography at the end of this manual.
Copyright © 1986-2010 by mental images GmbH