[Radiance-general] rayinit.cal problem

Thomas Bleicher tbleicher at arcor.de
Tue Jan 20 04:15:15 PST 2009


On 20 Jan 2009, at 10:47, Brajesh Lal wrote:

> # System-wide .bashrc file
> # change the directories if necessary
> PATH=.:/opt/radiance/bin:$PATH
> #RAYPATH=.:/opt/radiance/lib
> RAYPATH=.:/opt/radiance/cygwin-radiance_dist-3R9/lib
>
> MANPATH=/opt/radiance/doc/man:$MANPATH
>
> export PATH RAYPATH MANPATH
>
> still i am getting the same error. How do i fix it to view the  
> rendered image ?
>
Did you reload ('.' aka 'source') the config file after
you made the changes?

As an immediate help copy the rayinit.cal file into your
project directory (where you execute the rpict command).

Long term fix: As Lars wrote, there is something unclear with
your PATH. First you need to find out whether your settings
take effect or if they are taken from somewhere else. I'm
always puzzled by the variety of bash configuration files
and need to consult the man page to work out what .bash_profile
.bash_login and .bashrc are doing exactly.

To find out if your settings are effective, you should 'log off'
from the cygwin environment and start a new session. This will
reinitialise your environment. Then type

echo $PATH
echo $RAYPATH

at the command prompt and see if the output is what you expect.

If you don't get your settings read the bash man page regarding
the startup sequence and the Cygwin documentation about the
location of configuration files and the environment paths.

That should give you an idea how the path should look like
and where it should go.

>  And how do i use rview - for viewing the image ? any other  
> software is required ?

For image viewing you use 'ximage'.

The 'rview' program has been renamed to 'rvu' (the tutorial
does not reflect that). It provides an interactive preview of
a scene, not an image. You can use it to control your view
settings before you start a long running rpict calculation
with high quality settings.

I don't know if ximage or rvu work on cygwin but you will need
a running X server if you want to use either. Again, check the
Cygwin documentation on this topic (eg. http://x.cygwin.com).

Regards,
Thomas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://radiance-online.org/pipermail/radiance-general/attachments/20090120/f52d76f7/attachment.htm


More information about the Radiance-general mailing list