From Bpswiki

Jump to: navigation, search

Radiance is a suite of programs for the analysis and visualization of lighting in design.

Input files specify the scene geometry, materials, luminaires,time, date and sky conditions (for daylight calculations). Calculated values include spectral radiance (ie. luminance + color), irradiance (illuminance + color) and glare indices. Simulation results may be displayed as color images, numerical values and contour plots.

The primary advantage of Radiance over simpler lighting calculation and rendering tools, like Dialux, is that there are no limitations on the geometry or the materials that may be simulated. Radiance is used by architects and engineers to predict illumination, visual quality and appearance of innovative design spaces, and by researchers to evaluate new lighting and daylighting technologies. Have a look at File:A Decade of Radiance Tricks.pdf

Radiance is UNIX software http://openstudio.nrel.gov/getting-started-developer/getting-started-radiance


Radiance material database

The File:Radiance-Spreadsheet.zip contains some spreadsheets which can be helpfull in computation of material parameters.

Scripts for use with Radiance

Scripts can be used to automate and combine the power of the Radiance suite and a lot of other Unix tools. For example a script can be written for the generation af a set of still images as base material for an animation.

Scripts can be written in various script languages like csh, bash, python, ksh etc.

Example of a csh script which produces a countour plot of Illuminance values on the workplane.

#!/bin/csh -f
# Jan Diepens 20-04-2007 TU/e

#usage: contour.csh [octree of model] [viewfile] [outputfile]

if ($#argv < 3) then
	echo "Usage: contour.csh [octree of model] [viewfile] [outputfile]"
	exit 1

set oct=$1		# model octree
set vfile=$2		# viewfile
set outfile=$3		# output filename
set wpheight=800	# height of calculation plane (work plane)
set ab=3		# number of indirect bounces  
set maxsize=512		# max size of output picture in pixels
set maxscale=2000	# max scale for falsecolor
set n=10		# number of lines in falsecolor

vwrays -x $maxsize -y $maxsize -vf $vfile\
|rcalc -e '$1=$1;$2=$2;$3='$wpheight';$4=$4;$5=$5;$6=1'\
|rtrace -ab $ab -fac -w -I -ov `vwrays -d -vf $vfile -x $maxsize -y $maxsize`  $oct\
|falsecolor -i - -l lx -n $n -cl -s $maxscale >$outfile

ximage $outfile

More scripts File:Radiance-scripts.zip

User Experiences


Personal tools
BPS computing Facilities