rad command

Hi

I get this error when I try to run the rad command on the tutorial
./rad -o x11 simple.rif. Is it something to do with setting the path so that
when rview is called without the ./ in front, it will still work?

        rview -vtv -vp 2.9 1 0.88 -vd -3 0 0 -vu 0 0 1 -vh 45 -vv 45 -ps 8 -pt
.16 -dp 128 -ar 10 -ds 0 -dt .2 -dc .25 -dr 0 -sj 0 -st .5 -aa .4 -ad 64 -as 0
-av 1 1 1 -lr 3 -lw .02 -R simple.rif -o x11 -pe 0.5 simple.oct
VIM - Vi IMproved 6.2 (2003 Jun 1, compiled Sep 26 2003 16:12:37)
Unknown option: "-vp"
More info with: "vim -h"
./rad: error running rview

Thanks
Tarik

···

--
Tarik Rahman
PhD student, Institue of Perception, Action and Behaviour
School of Informatics
University of Edinburgh

Hi Tarik,

What's happening there is that your system has a symlink to the vi text editor named 'rview', which is also the old name for the model viewer in Radiance (which your model is fed to when you run rad with the -o x11 switch). The symlink is in a directory further up the path prescedence chain than the rview executable, so it's being called by rad instead of the rview you want.

What version of radiance are you using? rview was recently renamed to rvu to get around this problem. If this is your personal system, you could also locate the link and remove it, that's what I used to do (I could never understand why people would rather type 'rview' for an executable called 'vi').

···

----

      Rob Guglielmetti

e. [email protected]
w. www.rumblestrip.org