ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/genBSDF.pl
(Generate patch)

Comparing ray/src/util/genBSDF.pl (file contents):
Revision 2.13 by greg, Sat Apr 16 00:39:07 2011 UTC vs.
Revision 2.14 by greg, Sat Apr 16 01:13:22 2011 UTC

# Line 193 | Line 193 | print "\t\t\t<DeviceType>Integral</DeviceType>\n";
193   if ( $geout ) {
194          print "\t\t\t<Geometry format=\"MGF\" unit=\"Meter\">\n";
195          printf "xf -t %.6f %.6f 0\n", -($dim[0]+$dim[1])/2, -($dim[2]+$dim[3])/2;
196 <        system "cat $mgfscn";
196 >        open(MGFSCN, "< $mgfscn");
197 >        while (<MGFSCN>) { print $_; }
198 >        close MGFSCN;
199          print "xf\n";
200          print "\t\t\t</Geometry>\n";
201   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines