Keywords: main

Next: 0.2 Introduction to mental Up: Introduction Previous: Introduction

# 0.1 Organization of this Book

This book is the definitive reference manual for mental ray version 2.0 and 2.1. It begins with a brief overview over the features of mental ray and continues with the specifications of the mental ray scene description language and the mental ray shader interface. All material is presented in reference form, organized by grammar elements and C function call, rather than by feature set. It is intended for translator writers and shader writers who are familiar with the C and C++ programming languages.

For a tutorial-style description of mental ray, refer to the book ``Rendering with mental ray'' [Driemeyer 99], which is intended for non-programmers who want to effectively use mental ray without concern for its internal structure and programming interfaces. The functionality of mental ray is presented in much greater detail there.

This book is organized in six chapters and an appendix:

- Chapter 1
  gives a brief overview over the functionality of mental ray.

- Chapter 2
  describes the scene language in detail. This chapter is organized by language unit.

- Chapter 3
  explains how custom shaders and Phenomena are written, and documents the shader call interface.

- Chapter 4
  describes the extended geometry shader interface.

- Chapter 5
  describes the command-line interface of mental ray.

- Chapter 6
  contains porting guidelines for users and shader writers upgrading from the previous generation of mental ray, 1.9.

- Appendix A
  contains the source code of mental ray's scene language parser.

At the time this book went into print, mental ray was at version 2.0.28.18 and 2.1.35.

Next: 0.2 Introduction to mental Up: Introduction Previous: Introduction