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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TABLE OF CONTENTS<br />

List of Figures<br />

List of Tables<br />

Preface<br />

vii<br />

viii<br />

x<br />

Part I <strong>The</strong> <strong>RenderMan</strong> <strong>Interface</strong> 1<br />

Section 1 INTRODUCTION 2<br />

1.1 Features and Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4<br />

1.1.1 Required features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4<br />

1.1.2 Advanced Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . 5<br />

1.2 Structure of this Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6<br />

Section 2 LANGUAGE BINDING SUMMARY 7<br />

2.1 C Binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7<br />

2.2 Bytestream Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10<br />

2.3 Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11<br />

Section 3 RELATIONSHIP TO THE RENDERMAN SHADING LANGUAGE 12<br />

Section 4 GRAPHICS STATE 15<br />

4.1 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19<br />

4.1.1 Camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19<br />

4.1.2 Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28<br />

4.1.3 Additional options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34<br />

4.1.4 Implementation-specific options . . . . . . . . . . . . . . . . . . . . . 36<br />

4.2 Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37<br />

4.2.1 Color and opacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38<br />

4.2.2 Texture coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40<br />

4.2.3 Light sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41<br />

4.2.4 Surface shading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44<br />

4.2.5 Displacement shading . . . . . . . . . . . . . . . . . . . . . . . . . . . 46<br />

4.2.6 Volume shading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46<br />

4.2.7 Shading rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48<br />

4.2.8 Shading interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . . 49<br />

4.2.9 Matte objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49<br />

4.2.10 Bound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51<br />

ii

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

Saved successfully!

Ooh no, something went wrong!