csh2perl

Recent additions to the Radiance code base have led to new scripts whose main purpose is to make work with the new rtcontrib command more convenient and less errorprone. While traditionally, such scripts used to be written in CSH syntax, those newer ones utilise the Perl scripting language. This added a new dependency to the Radiance rendering system.

The csh2perl project is an attempt to re-write the old CSH scripts in Perl thus removing Radiance's reliance on CSH (or TCSH). This development site is provided as a means of collaboration. Once all of the old CSH scripts have been ported to Perl and tested extensively, the intention is to have them moved in to Radiance proper.

Download

To just have a look at the progress that has been made, and to help us test the re-written Radiance scripts, please download this archive. It is generated every night if any of the files in the csh2perl repo have changed.

File Structure

The repo, as well as the nightly tar ball, contains the following sub-directories:

bin/
The new Perl scripts
man/man1/
Many of the scripts don't come with man pages. While porting the CSH scripts to Perl, it would be great if those missing man pages could be written. In this case, please put them here.
orig/
All files with a .csh extension that were in Radiance-HEAD 9 April 2011. This is simply for your convenience. The old falsecolor.csh is also included, although it has already been superseded by falsecolor.pl. I've also included the makeall script that installs Radiance.
tests/
Test script written in Perl comparing the behaviour and output of the old CSH scripts and the ported Perl scripts. Please note that all test cases are intended to be run from within this directory.
tests/data/
Data files used for the tests, e.g. HDR images.

Code Repository

Please read Using a Mercurial code repository before using the csh2perl Mercurial server.

The code repo is accessible via secure https. Pulls ('check outs') do not require user authentication, but pushes ('check ins') do. If you are interested in contributing some scripts or man pages, please get in touch with Axel for a username and password. Alternatively, you may check in your contributions anonymously. The user name for this is the top level directory that you get when unpacking the Radiance tar ball. The password is the type of pattern that gensky produces for describing the brightness distribution of a sky.