Skip to main content

Writing mental ray® Shaders

A Perceptual Introduction

  • Book
  • © 2008

Overview

  • A tutorial introduction to mental ray shader programming
  • Includes the full source code for 100 shaders and illustrated with over 200 rendered scenes and diagrams
  • Cross-references with the first two volumes of mental ray handbooks
  • Includes supplementary material: sn.pub/extras

Part of the book series: mental ray® Handbooks (MENTALRAY, volume 3)

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (26 chapters)

  1. Introduction

  2. Structure

  3. Color

  4. Light

Keywords

About this book

The word "render" isn't unique to the vocabulary of computer graphics. We can talk about a "watercolor rendering," a "musical rendering" or a "poetic rendering." In each of these, there is a transformation from one domain to another: from the landscape before the painter to color on paper, from musical notation to sound, from the associations in a poet's mind to a book of poetry. Figure 1.1: Czar's Waiting Room, Main Railway Station, Helsinki, Eliel Saarinen, 1910, watercolor. But the type of rendering that may come closest to what we mean when we talk about rendering in computer graphics is in architecture. Geometric blueprints and technical specifications of building materials are transformed in the architectural rendering into a picture of the building 1 Introduction as it will appear when construction is complete. In addition to the designs of the building's geometry and its visual characteristics, the artist chooses a point of view to depict the scene in perspective. This is a transformation of a description of imagined space into a picture of that space. In a watercolor by architect Eliel Saarinen (Figure 1.1), the effect of light on marble is demonstrated in a way that would be lost in even a careful reading of blueprints and descriptions of materials. A mere brushstroke of a particular color in a particular place paradoxically transforms the dull matte appearance of watercolor into the sheen of polished stone.

Authors and Affiliations

  • mental images GmbH, Berlin, Federal Republic of Germany

    Andy Kopra

Bibliographic Information

Publish with us