Mental Ray
Encyclopedia
mental ray is a production-quality rendering
Rendering (computer graphics)
Rendering is the process of generating an image from a model , by means of computer programs. A scene file contains objects in a strictly defined language or data structure; it would contain geometry, viewpoint, texture, lighting, and shading information as a description of the virtual scene...

 application developed by mental images
Mental Images (firm)
mental images GmbH is a computer generated imagery software firm based in Berlin, Germany.The company provides rendering and 3D modelingtechnology for entertainment, computer-aided design, scientific visualization and architecture....

(Berlin, Germany). mental images was bought in December 2007 by NVIDIA
NVIDIA
Nvidia is an American global technology company based in Santa Clara, California. Nvidia is best known for its graphics processors . Nvidia and chief rival AMD Graphics Techonologies have dominated the high performance GPU market, pushing other manufacturers to smaller, niche roles...

.
As the name implies, it supports ray tracing to generate images.

mental ray has been used in many feature films, including Hulk
Hulk (film)
Hulk is a 2003 American superhero film based on the fictional Marvel Comics character of the same name. Ang Lee directed the film, which stars Eric Bana as Dr. Bruce Banner, as well as Jennifer Connelly, Sam Elliott, Josh Lucas, and Nick Nolte...

, The Matrix Reloaded
The Matrix Reloaded
The Matrix Reloaded is a 2003 American science fiction film and the second installment in The Matrix trilogy, written and directed by the Wachowskis. It premiered on May 7, 2003, in Westwood, Los Angeles, California, and went on general release by Warner Bros. in North American theaters on May 15,...

 & Revolutions
The Matrix Revolutions
The Matrix Revolutions is a 2003 American science fiction film and the third installment of The Matrix trilogy. The film was released six months following The Matrix Reloaded. The film was written and directed by the Wachowski brothers and released simultaneously in sixty countries on November 5,...

, Star Wars Episode II: Attack of the Clones
Star Wars Episode II: Attack of the Clones
Star Wars Episode II: Attack of the Clones is a 2002 American epic space opera film directed by George Lucas and written by Lucas and Jonathan Hales. It is the fifth film to be released in the Star Wars saga and the second in terms of the series' internal chronology...

, The Day After Tomorrow
The Day After Tomorrow
The Day After Tomorrow is a 2004 American science-fiction disaster film that depicts the catastrophic effects of global warming in a series of extreme weather events that usher in global cooling which leads to a new ice age. The film did well at the box office, grossing $542,771,772 internationally...

and Poseidon
Poseidon (film)
Poseidon is a 2006 disaster film directed by Wolfgang Petersen, the third film adaptation of the novel The Poseidon Adventure written by Paul Gallico, and a loose remake of the 1972 film of the same name. It stars Kurt Russell, Josh Lucas and Richard Dreyfuss. It was directed by Wolfgang Petersen...

.

Features

The primary feature of mental ray is the achievement of high performance through parallelism on both multiprocessor machines and across render farm
Render farm
A render farm is a computer cluster built to render computer-generated imagery , typically for film and television visual effects, using off-line batch processing. This is different from a render wall, which is a networked, tiled display used for real-time rendering...

s. The software uses acceleration techniques such as scanline
Scanline rendering
Scanline rendering is an algorithm for visible surface determination, in 3D computer graphics,that works on a row-by-row basis rather than a polygon-by-polygon or pixel-by-pixel basis...

 for primary visible surface determination and binary space partitioning
Binary space partitioning
In computer science, binary space partitioning is a method for recursively subdividing a space into convex sets by hyperplanes. This subdivision gives rise to a representation of the scene by means of a tree data structure known as a BSP tree.Originally, this approach was proposed in 3D computer...

 for secondary rays. It also supports caustics
Caustic (optics)
In optics, a caustic or caustic network is the envelope of light rays reflected or refracted by a curved surface or object, or the projection of that envelope of rays on another surface. The caustic is a curve or surface to which each of the light rays is tangent, defining a boundary of an...

 and physically correct simulation of global illumination
Global illumination
Global illumination is a general name for a group of algorithms used in 3D computer graphics that are meant to add more realistic lighting to 3D scenes...

 employing photon maps
Photon mapping
In computer graphics, photon mapping is a two-pass global illumination algorithm developed by Henrik Wann Jensen that solves the rendering equation. Rays from the light source and rays from the camera are traced independently until some termination criterion is met, then they are connected in a...

. 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. Up to this moment there are many programs integrating this renderer such as Autodesk Maya
Maya (software)
Autodesk Maya , commonly shortened to Maya, is 3D computer graphics software that runs on Microsoft Windows, Mac OS and Linux, originally developed by Alias Systems Corporation and currently owned and developed by Autodesk, Inc. It is used to create interactive 3D applications, including video...

, 3D Studio Max, AutoCAD
AutoCAD
AutoCAD is a software application for computer-aided design and drafting in both 2D and 3D. It is developed and sold by Autodesk, Inc. First released in December 1982, AutoCAD was one of the first CAD programs to run on personal computers, notably the IBM PC...

, Cinema 4D
Cinema 4D
CINEMA 4D is a 3D modeling, animation and rendering application developed by MAXON Computer GmbH of Friedrichsdorf, Germany. It is capable of procedural and polygonal/subd modeling, animating, lighting, texturing, rendering, and common features found in 3d modelling applications.- Overview:The...

 and Revit
Revit
Autodesk Revit Architecture often referred to as simply Revit is a Building Information Modeling software developed by Autodesk. It allows the user to design with both parametric 3D modeling and 2D drafting elements...

, Softimage|XSI
Softimage
Softimage, Co. was a company located in Montreal, Quebec, Canada that produced 3D animation software. Their flagship products, Softimage 3D and Softimage XSI, are used in the creation of computer animation for films, television advertisement, and video games...

, Side Effects Software's Houdini
Houdini (software)
Houdini is a high-end 3D animation package developed by Side Effects Software which is headquartered in Toronto, Canada. It is a rewrite of the PRISMS ecosystem of standalone tools. Its chief distinction from other packages is that it has been designed as a purely procedural environment...

, SolidWorks
SolidWorks
SolidWorks is a 3D mechanical CAD program that runs on Microsoft Windows and is being developed by Dassault Systèmes SolidWorks Corp., a subsidiary of Dassault Systèmes, S. A. . SolidWorks is currently used by over 1.3 million engineers and designers at more than 130,000 companies worldwide...

 and Dassault Système's CATIA
CATIA
CATIA is a multi-platform CAD/CAM/CAE commercial software suite developed by the French company Dassault Systemes...

. 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 shader
Shader
In the field of computer graphics, a shader is a computer program that is used primarily to calculate rendering effects on graphics hardware with a high degree of flexibility...

s written in C
C (programming language)
C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system....

 or C++
C++
C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as an intermediate-level language, as it comprises a combination of both high-level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell...

. 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
Bézier curve
A Bézier curve is a parametric curve frequently used in computer graphics and related fields. Generalizations of Bézier curves to higher dimensions are called Bézier surfaces, of which the Bézier triangle is a special case....

, and Taylor monomial.

Phenomena consist of one or more shader trees (DAG
Directed acyclic graph
In mathematics and computer science, a directed acyclic graph , is a directed graph with no directed cycles. That is, it is formed by a collection of vertices and directed edges, each edge connecting one vertex to another, such that there is no way to start at some vertex v and follow a sequence of...

). 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.

In 2003, mental images was awarded an Academy Award
Academy Awards
An Academy Award, also known as an Oscar, is an accolade bestowed by the American Academy of Motion Picture Arts and Sciences to recognize excellence of professionals in the film industry, including directors, actors, and writers...

 for their contributions to the mental ray rendering software for motion pictures.

See also

  • Photoworks
    Photoworks
    PhotoWorks is a raytrace rendering program created by Dassault Systèmes SolidWorks Corporation. It is a photorealistic rendering add-in of SolidWorks based part and assembly files. The program is based on the Mental Ray rendering engine...

    , part of SolidWorks
    SolidWorks
    SolidWorks is a 3D mechanical CAD program that runs on Microsoft Windows and is being developed by Dassault Systèmes SolidWorks Corp., a subsidiary of Dassault Systèmes, S. A. . SolidWorks is currently used by over 1.3 million engineers and designers at more than 130,000 companies worldwide...

     which uses a version of the mental ray rendering engine as its renderer.

Further reading

  • Driemeyer, Thomas: Rendering with mental ray, SpringerWienNewYork, ISBN 3-211-22875-6
  • Driemeyer, Thomas: Programming mental ray, SpringerWienNewYork, ISBN 3-211-24484-0
  • Kopra, Andy: Writing mental ray Shaders: A perceptual introduction, SpringerWienNewYork, ISBN 978-3-211-48964-2

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK