Trisha Shetty (Editor)

Mental Ray

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
Mental Images

Stable release
  
3.14

Developer(s)
  
Nvidia

Preview release
  
3.14

Mental Ray

Initial release
  
1989; 28 years ago (1989)

Operating system
  
Linux, OS X, Microsoft Windows

Mental Ray (stylized as mental ray) is a production-quality rendering application developed by Mental Images (Berlin, Germany). Mental Images was bought in December 2007 by NVIDIA. As the name implies, it supports ray tracing to generate images.

Mental Ray has been used in many feature films, including Hulk, The Matrix Reloaded & Revolutions, Star Wars: Episode II – Attack of the Clones, The Day After Tomorrow and Poseidon.

Features

The primary feature of Mental Ray is the achievement of high performance through parallelism on both multiprocessor machines and across render farms. The software uses acceleration techniques such as scanline for primary visible surface determination and binary space partitioning for secondary rays. It also supports caustics and physically correct simulation of global illumination employing photon maps. Any combination of diffuse, glossy (soft or scattered), and specular reflection and transmission can be simulated.

Mental Ray was designed to be integrated into a third-party application using an API or be used as a standalone program using the .mi scene file format for batch-mode rendering. Currently there are many programs integrating it such as Autodesk Maya, 3D Studio Max, AutoCAD, Cinema 4D and Revit, Softimage|XSI, Side Effects Software's Houdini, SolidWorks and Dassault Systèmes' CATIA. Most of these software front-ends provide their own library of custom shaders (described below). However assuming these shaders are available to mental ray, any mi file can be rendered, regardless of the software that generated it.

Mental Ray is fully programmable and infinitely variable, supporting linked subroutines also called shaders written in C or C++. This feature can be used to create geometric elements at runtime of the renderer, procedural textures, bump and displacement maps, atmosphere and volume effects, environments, camera lenses, and light sources.

Supported geometric primitives include polygons, subdivision surfaces, and trimmed free-form surfaces such as NURBS, Bézier, and Taylor monomial.

Phenomena consist of one or more shader trees (DAG). A phenomenon looks like regular shader to the user, and in fact may be a regular shader, but generally it will contain a link to a shader DAG, which may include the introduction or modification of geometry, introduction of lenses, environments, and compile options. The idea of a Phenomenon is to package elements and hide complexity.

Since 2010 Mental Ray also includes the iray rendering engine, which added GPU acceleration to the product. In 2013, the ambient occlusion pass was also accelerated by CUDA, and since 2015 the GI Next engine can be used to compute all indirect/global illumination on GPUs.

In 2003, Mental Images was awarded an Academy Award for their contributions to the mental ray rendering software for motion pictures.

References

Mental Ray Wikipedia