[Radiance-general] Radiance-general Digest, Vol 159, Issue 12

David Gissen dgissen at cca.edu
Tue May 16 11:44:44 PDT 2017


Hi Everyone:
Thanks for the tips; much appreciated.

When I type in echo $RAYPATH, it returns  ".:/usr/local/radiance/lib"
When I type in echo $PATH, it returns "
/usr/local/radiance/bin:/usr/local/radiance/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"

picture.cal is entered properly in the .rad file (no directory paths in
front of the command)



On Tue, May 16, 2017 at 11:33 AM, <
radiance-general-request at radiance-online.org> wrote:

> Send Radiance-general mailing list submissions to
>         radiance-general at radiance-online.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://www.radiance-online.org/mailman/listinfo/radiance-general
> or, via email, send a message with subject or body 'help' to
>         radiance-general-request at radiance-online.org
>
> You can reach the person managing the list at
>         radiance-general-owner at radiance-online.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Radiance-general digest..."
>
>
> Today's Topics:
>
>    1. RAYPATH problems (David Gissen)
>    2. Re: RAYPATH problems (Greg Ward)
>    3. Re: RAYPATH problems (Thomas Bleicher)
>    4. Re: RAYPATH problems (Shakespeare, Robert A.)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 16 May 2017 09:37:36 -0700
> From: David Gissen <dgissen at cca.edu>
> To: radiance-general at radiance-online.org
> Subject: [Radiance-general] RAYPATH problems
> Message-ID:
>         <CAJMyNLcAm8qj9jwESSrnCv64=Z7bsfgWU4u6qPwbHmNU6hB2Jg at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello Everyone: I learned a little unix to be able to work with Radiance
> (for some upcoming projects that require me to reconstruct very specific
> lighting conditions), but I am running into some problems:
>
> I followed the instructions for installing Radiance on Mac OSx (10.11.6)
>
> created a file ~/.bashrc with the following arguments:
> export PATH=/usr/local/radiance/bin:$PATH
> export RAYPATH=.:/usr/local/radiance/lib
>
> I followed Greg W's Radiance Ch. 1 tutorial and successfully modeled a
> sphere on a pedestal and in a room (exciting).
>
> However, when I tried to do more sophisticated work (the Image Mapping
> tutorials by Axel Jacobs in the Radiance Cookbook), I received an error
> that "picture.cal" does not exist.
>
> I ran "ls -la /usr/local/radiance/lib" and noticed that picture.cal was
> missing. After poking around, I discovered another path to /radiance/lib
> and then ran "ls -la /opt/rad4/radiance-5.0.a.12-
> Darwin/usr/local/radiance/lib"
> and found picture.cal as well as many other files not in the original
> directory path above. I copied picture.cal into the directory for the
> RAYPATH, but still received the error.
>
> Anyway, I tried re-setting RAYPATH to
> "/opt/rad4/radiance-5.0.a.12-Darwin/usr/local/radiance/lib"
> (as well as =.:/opt/rad4/radiance-5.0.a.12-Darwin/usr/local/radiance/lib)
> but I still received an error that picture.cal was missing. I finally
> figured out a very kludgy way to get the missing files in radiance/lib to
> work (by copying them into the current working directory), but I want to
> get the RAYPATH working properly.
>
> Does anyone have advice/help?
>
> Thank you very much, David
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.radiance-online.org/pipermail/radiance-
> general/attachments/20170516/5f3de48e/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 16 May 2017 10:01:52 -0700
> From: Greg Ward <gregoryjward at gmail.com>
> To: Radiance general discussion <radiance-general at radiance-online.org>
> Subject: Re: [Radiance-general] RAYPATH problems
> Message-ID: <8ECC750C-C276-4FCC-977F-31F6A3FF16BE at lmi.net>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi David,
>
> It's difficult to say for certain, but you should know that altering your
> .bashrc file only affects the next open Terminal window.  It doesn't change
> the RAYPATH setting in the shell you already have running.
>
> You should open a new Terminal window and enter "echo $RAYPATH" to make
> sure your environment setting is in effect.  If it is, and you can read the
> associated directory, then something else must be wrong.
>
> Cheers,
> -Greg
>
> > From: David Gissen <dgissen at cca.edu>
> > Date: May 16, 2017 9:37:36 AM PDT
> >
> > Hello Everyone: I learned a little unix to be able to work with Radiance
> (for some upcoming projects that require me to reconstruct very specific
> lighting conditions), but I am running into some problems:
> >
> > I followed the instructions for installing Radiance on Mac OSx (10.11.6)
> >
> > created a file ~/.bashrc with the following arguments:
> > export PATH=/usr/local/radiance/bin:$PATH
> > export RAYPATH=.:/usr/local/radiance/lib
> >
> > I followed Greg W's Radiance Ch. 1 tutorial and successfully modeled a
> sphere on a pedestal and in a room (exciting).
> >
> > However, when I tried to do more sophisticated work (the Image Mapping
> tutorials by Axel Jacobs in the Radiance Cookbook), I received an error
> that "picture.cal" does not exist.
> >
> > I ran "ls -la /usr/local/radiance/lib" and noticed that picture.cal was
> missing. After poking around, I discovered another path to /radiance/lib
> and then ran "ls -la /opt/rad4/radiance-5.0.a.12-Darwin/usr/local/radiance/lib"
> and found picture.cal as well as many other files not in the original
> directory path above. I copied picture.cal into the directory for the
> RAYPATH, but still received the error.
> >
> > Anyway, I tried re-setting RAYPATH to "/opt/rad4/radiance-5.0.a.12-Darwin/usr/local/radiance/lib"
> (as well as =.:/opt/rad4/radiance-5.0.a.12-Darwin/usr/local/radiance/lib)
> but I still received an error that picture.cal was missing. I finally
> figured out a very kludgy way to get the missing files in radiance/lib to
> work (by copying them into the current working directory), but I want to
> get the RAYPATH working properly.
> >
> > Does anyone have advice/help?
> >
> > Thank you very much, David
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.radiance-online.org/pipermail/radiance-
> general/attachments/20170516/103d855f/attachment-0001.html>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 16 May 2017 12:35:22 -0500
> From: Thomas Bleicher <tbleicher at gmail.com>
> To: Radiance general discussion <radiance-general at radiance-online.org>
> Subject: Re: [Radiance-general] RAYPATH problems
> Message-ID:
>         <CAKGV-k3auMY_vH8R=mJmUG_1vDR2P6rCrR7Lj0BotjMv5c0DhQ@
> mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> David
>
> Check that picture.cal is indeed used as "picture.cal" and not as
> "./picture.cal". The leading "./" will only search in the current scene
> directory and ignore the RAYPATH settings.
>
> You can also type
>
>     source ./bashrc
>
> in the terminal to reread the configuration and apply any changes you made
> to the current bash session.
>
>
>
> On Tue, May 16, 2017 at 11:37 AM, David Gissen <dgissen at cca.edu> wrote:
>
> > Hello Everyone: I learned a little unix to be able to work with Radiance
> > (for some upcoming projects that require me to reconstruct very specific
> > lighting conditions), but I am running into some problems:
> >
> > I followed the instructions for installing Radiance on Mac OSx (10.11.6)
> >
> > created a file ~/.bashrc with the following arguments:
> > export PATH=/usr/local/radiance/bin:$PATH
> > export RAYPATH=.:/usr/local/radiance/lib
> >
> > I followed Greg W's Radiance Ch. 1 tutorial and successfully modeled a
> > sphere on a pedestal and in a room (exciting).
> >
> > However, when I tried to do more sophisticated work (the Image Mapping
> > tutorials by Axel Jacobs in the Radiance Cookbook), I received an error
> > that "picture.cal" does not exist.
> >
> > I ran "ls -la /usr/local/radiance/lib" and noticed that picture.cal was
> > missing. After poking around, I discovered another path to /radiance/lib
> > and then ran "ls -la /opt/rad4/radiance-5.0.a.12-
> Darwin/usr/local/radiance/lib"
> > and found picture.cal as well as many other files not in the original
> > directory path above. I copied picture.cal into the directory for the
> > RAYPATH, but still received the error.
> >
> > Anyway, I tried re-setting RAYPATH to "/opt/rad4/radiance-5.0.a.12-
> Darwin/usr/local/radiance/lib"
> > (as well as =.:/opt/rad4/radiance-5.0.a.12-Darwin/usr/local/radiance/
> lib)
> > but I still received an error that picture.cal was missing. I finally
> > figured out a very kludgy way to get the missing files in radiance/lib to
> > work (by copying them into the current working directory), but I want to
> > get the RAYPATH working properly.
> >
> > Does anyone have advice/help?
> >
> > Thank you very much, David
> >
> >
> >
> >
> > _______________________________________________
> > Radiance-general mailing list
> > Radiance-general at radiance-online.org
> > https://www.radiance-online.org/mailman/listinfo/radiance-general
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.radiance-online.org/pipermail/radiance-
> general/attachments/20170516/71227793/attachment-0001.html>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 16 May 2017 18:32:09 +0000
> From: "Shakespeare, Robert A." <shakespe at indiana.edu>
> To: Radiance general discussion <radiance-general at radiance-online.org>
> Subject: Re: [Radiance-general] RAYPATH problems
> Message-ID: <BDF17A5A-03FF-4541-8E03-7E88CC5252DB at indiana.edu>
> Content-Type: text/plain; charset="utf-8"
>
> I recently did an NREL install. Just had a look and picture.cal..
> plink.cal? the woodxxx.cal are not included in the library? at least I
> cannot find them.
>
> Rob
>
> From: Thomas Bleicher <tbleicher at gmail.com>
> Reply-To: Radiance discussion <radiance-general at radiance-online.org>
> Date: Tuesday, May 16, 2017 at 1:35 PM
> To: Radiance discussion <radiance-general at radiance-online.org>
> Subject: Re: [Radiance-general] RAYPATH problems
>
> David
>
> Check that picture.cal is indeed used as "picture.cal" and not as
> "./picture.cal". The leading "./" will only search in the current scene
> directory and ignore the RAYPATH settings.
>
> You can also type
>
>     source ./bashrc
>
> in the terminal to reread the configuration and apply any changes you made
> to the current bash session.
>
>
>
> On Tue, May 16, 2017 at 11:37 AM, David Gissen <dgissen at cca.edu<mailto:
> dgissen at cca.edu>> wrote:
> Hello Everyone: I learned a little unix to be able to work with Radiance
> (for some upcoming projects that require me to reconstruct very specific
> lighting conditions), but I am running into some problems:
>
> I followed the instructions for installing Radiance on Mac OSx (10.11.6)
>
> created a file ~/.bashrc with the following arguments:
> export PATH=/usr/local/radiance/bin:$PATH
> export RAYPATH=.:/usr/local/radiance/lib
>
> I followed Greg W's Radiance Ch. 1 tutorial and successfully modeled a
> sphere on a pedestal and in a room (exciting).
>
> However, when I tried to do more sophisticated work (the Image Mapping
> tutorials by Axel Jacobs in the Radiance Cookbook), I received an error
> that "picture.cal" does not exist.
>
> I ran "ls -la /usr/local/radiance/lib" and noticed that picture.cal was
> missing. After poking around, I discovered another path to /radiance/lib
> and then ran "ls -la /opt/rad4/radiance-5.0.a.12-Darwin/usr/local/radiance/lib"
> and found picture.cal as well as many other files not in the original
> directory path above. I copied picture.cal into the directory for the
> RAYPATH, but still received the error.
>
> Anyway, I tried re-setting RAYPATH to "/opt/rad4/radiance-5.0.a.12-Darwin/usr/local/radiance/lib"
> (as well as =.:/opt/rad4/radiance-5.0.a.12-Darwin/usr/local/radiance/lib)
> but I still received an error that picture.cal was missing. I finally
> figured out a very kludgy way to get the missing files in radiance/lib to
> work (by copying them into the current working directory), but I want to
> get the RAYPATH working properly.
>
> Does anyone have advice/help?
>
> Thank you very much, David
>
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org<mailto:Radiance-
> general at radiance-online.org>
> https://www.radiance-online.org/mailman/listinfo/radiance-general
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.radiance-online.org/pipermail/radiance-
> general/attachments/20170516/0e66f854/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> https://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
> ------------------------------
>
> End of Radiance-general Digest, Vol 159, Issue 12
> *************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20170516/0161f123/attachment-0001.html>


More information about the Radiance-general mailing list