[Radiance-general] translate UNIX command into Windows command

Thomas Bleicher tbleicher at googlemail.com
Tue Jul 27 04:50:48 PDT 2010


Ji

On Tue, Jul 27, 2010 at 10:05 AM, Ji Zhang <hope.zh at gmail.com> wrote:
> I've tried the following in Windows, but it doesn't seem to work:
>
> rtrace -I -ab 1 -h -w -oov -u- scene.oct < sensor.pts > rcalc -e
> '$1=$1;$2=$2;$3=$3;$4=179*(.265*$4+.670*$5+.065*$6)' > result.dat

The Windows command prompt doesn't understand single quotes. Use
double quotes for the "rcalc -e" expression and it should work:

rtrace -I -ab 1 -h -w -oov -u- scene.oct < sensor.pts > rcalc -e
"$1=$1;$2=$2;$3=$3;$4=179*(.265*$4+.670*$5+.065*$6)" > result.dat


Thomas



More information about the Radiance-general mailing list