26.01.2015 Views

The RenderMan Interface - Paul Bourke

The RenderMan Interface - Paul Bourke

The RenderMan Interface - Paul Bourke

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.2.11 Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51<br />

4.2.12 Geometric approximation . . . . . . . . . . . . . . . . . . . . . . . . . 53<br />

4.2.13 Orientation and sides . . . . . . . . . . . . . . . . . . . . . . . . . . . 53<br />

4.3 Transformations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55<br />

4.3.1 Named coordinate systems . . . . . . . . . . . . . . . . . . . . . . . . 58<br />

4.3.2 Transformation stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60<br />

4.4 Implementation-specific Attributes . . . . . . . . . . . . . . . . . . . . . . . 60<br />

Section 5 GEOMETRIC PRIMITIVES 62<br />

5.1 Polygons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63<br />

5.2 Patches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68<br />

5.3 Subdivision Surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75<br />

5.4 Quadrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77<br />

5.5 Point and Curve Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83<br />

5.6 Blobby Implicit Surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85<br />

5.7 Procedural Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87<br />

5.8 Implementation-specific Geometric Primitives . . . . . . . . . . . . . . . . . 92<br />

5.9 Solids and Spatial Set Operations . . . . . . . . . . . . . . . . . . . . . . . . . 92<br />

5.10 Retained Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94<br />

Section 6 MOTION 96<br />

Section 7 EXTERNAL RESOURCES 99<br />

7.1 Texture Map Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99<br />

7.1.1 Making texture maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99<br />

7.1.2 Making environment maps . . . . . . . . . . . . . . . . . . . . . . . . 100<br />

7.1.3 Making shadow maps . . . . . . . . . . . . . . . . . . . . . . . . . . . 102<br />

7.2 Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103<br />

7.3 Archive Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104<br />

Part II <strong>The</strong> <strong>RenderMan</strong> Shading Language 106<br />

Section 8 INTRODUCTION TO THE SHADING LANGUAGE 107<br />

Section 9 OVERVIEW OF THE SHADING PROCESS 109<br />

Section 10 RELATIONSHIP TO THE RENDERMAN INTERFACE 112<br />

Section 11 TYPES 114<br />

11.1 Floats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114<br />

11.2 Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114<br />

11.3 Points, Vectors, and Normals . . . . . . . . . . . . . . . . . . . . . . . . . . . 115<br />

11.4 Transformation Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116<br />

11.5 Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117<br />

11.6 Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117<br />

11.7 Uniform and Varying Variables . . . . . . . . . . . . . . . . . . . . . . . . . . 118<br />

Section 12 SHADER EXECUTION ENVIRONMENT 119<br />

iii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!