Documentation



Menu

The Conceptual Model of Iray

A Canon 5D Mk II SLR rendered in Iray for 3ds Max

A Canon 5D Mk II SLR rendered in Iray for 3ds Max

Contents

Modelling the World

At a fundamental level, the natural world may be modelled as the interaction of energy and matter. This interaction can, in turn, be viewed by an observer through the visible appearance of the world.

In this model of the natural world, the appearance of an object is a consequence of the matter that constitutes it; in other words, appearance is an intrinsic quality of an object. However, to facilitate the mapping of intuitive categories of the natural world to a simulated world, a formal model can separate the appearance of an object from the object itself. Appearance is then an extrinsic category between the observer and the interaction of energy and matter. Defining appearance as an extrinsic property also has a very useful side-effect: the separation of the look of an object and its geometric structure facilitates an experimental freedom fundamental to the role that rendering plays in design and visualization tasks.

Iray maps the conceptual categories of the natural world model — energy, matter, appearance and observer — to categories suitable for describing a simulated world: light, geometry, material and camera.

There are three important points to note in this mapping:

Creating a Record of the World

The virtual camera specified in a scene defines attributes analogous to those that characterize a real-world mechanical camera, for example, viewing direction and focal length. But, unlike a real-world camera, a virtual camera cannot create a record of a scene; this task falls to the renderer.

Strategies for creating a record of a rendering can differ between renderers. In ray tracing, for example, lines drawn from the camera's "eye" position into the scene determine the color values of the corresponding position in the resulting record. In other words, the camera determines the geometry of the relationship and the renderer controls how the color values are calculated. Control of the renderer is highly dependent on how the renderer is implemented in software. Developing an intuition for controls of the renderer requires an understanding of the rendering process itself.

The Rendering Process

The preceding sections described the input, process, and output that map to the phases of the rendering process:



Material Concepts

Still Life with Iray Materials

Still Life with Iray Materials

MDL: The Standard for materials

Materials in Iray for 3ds Max are based on MDL (Material Definition Language), which consist of building blocks that can be combined in flexible ways. MDL is an open standard for describing materials and the interaction of light on their surface and volume. Iray materials simulate the entire lighting equation, and, by using measured data in your materials, will result in simulation-grade accuracy.

In Iray you are presented with a wide variety of materials, which form starting points that can be adapted to represent almost any material with accuracy. Materials can be shared with other MDL-enabled applications ensuring that all designers, developers, and other people working on a project, will be working from one set of materials.

Real-world Structure

Iray+ material layers follow the real-world material creation structure, so the way you see them presented in Iray for 3ds Max follows how they would be manufactured or found in nature. A painted, varnished wood, for example, follows the structure:


They’re created in a top down structure, with the core geometry at the bottom of the layer order, and additional layers built on top as required. Multiple layers of each type can be added in any order, allowing highly complex finishes, such as multi-layered paint peel and rust, chips and scratches.

Built with collaboration in mind

The real-world approach to materials allows efficient reuse and sharing of each component between different materials. For example, you could take the Paint, Varnish and Decal from the Pine wood base and add it to a Plaster or Concrete Base. Very quickly you have created a new material from these building blocks without the arduous work of starting from scratch every time.

The large library of materials already in Iray for 3ds Max means it is extremely quick to create even the most unique of materials. The open nature of MDL allows sharing between communities and between applications removing much of the repetition usually involved.



Lighting Concepts

Lighting in an Iray scene can come from three sources: global illumination from the environment, emissive materials or artificial lights within the scene. A scene can be lit entirely by one of these sources, or by a combination of the three. These three broad categories can be further subdivided into more specific light sources or light types. The environment lighting can come either directly from an IBL (image-based lighting), or from a procedural sun & sky simulation environment called PhysicalSky. The artificial lights come in various types, some of which are controlled by the usual 3ds Max light types, and others which are unique to the Iray plug-in.

Interior scene lit with Iray Lighting

Interior scene lit with Iray Lighting


The lighting systems in Iray for 3ds Max are all physically correct; if you put data from the real world in to a model or simulation you will get accurate lighting out. This is perfect for studying light in simulation, and for creating realistic animation. The PhysicalSky environment is ideal for daylight studies and will give accurate luminance levels in any model.

As well as adding new Iray lights for powerful control over the look of your scenes, we support many of the existing 3ds Max lights, so your existing models will work as expected without needing to replace existing lighting (see the lighting compatibility table).


Environment Lighting

Iray uses the concept of environments to describe the world around the scene. These serve to provide the visible background to the image (in the absence of a backplate) and also to light the scene. The IBL environment can be specified as either a sphere or hemisphere, and additional parameters that allow you to control the dome size and various ground plane effects.

Iray also provides a powerful procedural environment called PhysicalSky. This generates a physically realistic, high dynamic range sky dome around a scene. You can control many aspects of this dome including the overall intensity, as well as the sun's position and appearance in the sky (the sun position can be set either directly with an altitude-azimuth coordinate system, or by using the comprehensive date/time/location panel). As this is physically accurate, you will see realistic halo effects around the sun disk, haze in the atmosphere, sky color etc.

Artificial Lighting

Iray has several types of artificial light which can be used to partially or fully illuminate a scene. As mentioned above, some of these light types are used in conjunction with the standard 3ds Max light types to integrate seamlessly into your existing workflow, while other light types are unique to the Iray plugin and are controlled separately.

3ds Max Lights

The following light types are used when converting from the standard 3ds Max light types. No special controls are added for them in the Iray plugin, but the most appropriate type will be automatically selected for the best conversion. See the lighting compatibility table for more details.

Distant Lights

Distant lights act as a point light placed infinitely far from the scene. The illumination is parallel and uniform - i.e., each point in the scene "sees" the light in the same direction, and at the same intensity. In essence it mimics simple sunlight.

Point Lights

Point lights give a uniform light distribution from a single point within the scene. The illumination at any point in the scene depends on the direction to the light position as seen from that point, and is also proportional to the inverse square of the distance between that point and the light position. The light source is not visible in the scene.

Spot Lights

Spot lights are similar to point lights, but the light distribution is not spherically uniform. Instead it is directed into a "cone", to mimic the appearance of a real spot light. The light source is not visible in the scene.

Photometric Lights

Similar to point and spot lights, but rather than a uniform distribution, or a simple cone distribution, this light type reads in an external IES file which describes a more complex light distribution. This distribution can be oriented in the same way as the spot light, but the actual shape of the distribution is fixed by the IES file. The light source is not visible in the scene.

Area Lights

Area lights are unique to the Iray plugin and therefore have their own controls and user interface. See the Iray+ Lights page for details.

Area lights define simple pieces of geometry (rectangles, discs, spheres and cylinders) that emit light. Unlike the other types of artificial light, these are visible in the scene by default so are good for modelling simple bulbs, strip lights, and the like. They can also be made invisible to the camera like all the other light types. Each type of area light has parameters that allow you to control the position, size, shape, and orientation of the light. By default, the area lights will emit a basic uniform illumination, but it is also possible to attach an IES file as with Photometric lights. In this case, every point on the surface of the area light will act as a point source with this profile, and the total illumination is given by an integration over the surface.



Rendering Concepts

Iray has different renderers which are tailored for performing specific rendering tasks. Iray+ is a production renderer with full global illumination support. Iray+ Interactive allows rapid interaction and modification of your scene. This ‘Unified Rendering Model’ means all renderers share a common representation of your scene and materials in 3ds Max. This ensures consistency of appearance whichever renderer you are using. If you use other Iray enabled software in your workflow, this consistency extends across your entire workflow.



Scalability Concepts

Iray is designed to take full advantage of your GPUs, offering massive render speed performance enhancements when you add additional hardware. This makes it an incredibly efficient choice for using distributed rendering in your workflow. Cluster or Render farms are supported out-of-the-box using the 3ds Max batch rendering tool, or other add-ons, such as Backburner. Cloud rendering support comes as standard and is extremely simple to set up.



Next: Getting Started

See Also:

Page Last Edited: