ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/test/renders/torus.rad
Revision: 1.1
Committed: Sat Nov 17 22:09:12 2018 UTC (6 years, 5 months ago) by greg
Branch: MAIN
Log Message:
Created rendering tests

File Contents

# User Rev Content
1 greg 1.1 # RCSid $Id$
2     # A green metal torus with glowing red stripes
3    
4     void metal green_metal
5     0
6     0
7     5 .1 .8 .1 .6 .08
8    
9     void glow red_glow
10     0
11     0
12     4 .8 .02 .01 0
13    
14     void mixfunc striped
15     4 green_metal red_glow "if(mod(atan2(Py-A2,Px-A1),PI/10) - PI/20, 1, 0)" .
16     0
17     3 -4 2.5 1.5
18    
19     !genrev striped torus 'sin(2*PI*t)' '2+cos(2*PI*t)' 32 -s \
20     | xform -ry 52 -s .2 -t -4 2.5 1.5