Download Axel Jacobs
Transcript
CONTENTS Contents 1 Introduction 1.1 What is Radiance? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Ray-tracing vs. Radiosity . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3 Do it the UNIX Way . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Describing a Scene in Radiance 2.1 General Information and Syntax . . . . . . . . . . . 2.2 Describing the Geometry . . . . . . . . . . . . . . . 2.2.1 Approaches to Modelling . . . . . . . . . . . 2.2.2 Modelling Geometry . . . . . . . . . . . . . . 2.2.3 More Complex Scenes . . . . . . . . . . . . . 2.3 Describing the Materials . . . . . . . . . . . . . . . . 2.3.1 Standard Materials . . . . . . . . . . . . . . . 2.3.2 Materials Modified by Patterns and Textures 2.3.3 Light Sources . . . . . . . . . . . . . . . . . . 2.3.4 Daylight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 8 8 9 . . . . . . . . . . 10 10 12 12 13 15 18 18 19 20 21 3 Previews, Visualisation and Image Conversion 3.1 Quick Preview of Objects . . . . . . . . . . . . 3.1.1 objline . . . . . . . . . . . . . . . . . . 3.1.2 objpict . . . . . . . . . . . . . . . . . . 3.2 Visualisation . . . . . . . . . . . . . . . . . . . 3.2.1 Interactive Visualisation . . . . . . . . . 3.2.2 Non-interactive Visualisation . . . . . . 3.3 Image Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 23 23 23 24 24 25 25 4 How Radiance Works 4.1 Ambient Calculations . . . . . . . . . . . 4.2 Ambient Parameters . . . . . . . . . . . . 4.2.1 Useful Ranges . . . . . . . . . . . . 4.2.2 Artifacts Associated with Options 4.2.3 Timings Associated with Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 28 32 32 32 33 . . . . . . 34 34 34 35 36 36 37 Joy of Rendering Too Much to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . The rad command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Being Lazy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 41 41 42 5 Analysing Scenes 5.1 Analysing Radiance pictures . . . . . . . 5.1.1 Creating False Colour Images . . 5.1.2 Analysis With ximage . . . . . . 5.2 Analysing Models with rtrace . . . . . 5.2.1 Getting an Illuminance Reading 5.2.2 Plotting Illuminance Values . . . 6 The 6.1 6.2 6.3 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3