RAYPATH problems 5

Hi Everyone:

Thank you for your help. I just saw this message from R.G. and I now tried
source ~/.bashrc and the RAYPATH appears to work. So, should I change the
~/.profile file instead for a more permanent fix?

Thanks again, David

···

On Tue, May 16, 2017 at 3:30 PM, < [email protected]> wrote:

Send Radiance-general mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiance-general digest..."

Today's Topics:

   1. Re: Radiance-general Digest, Vol 159, Issue 12
      (Guglielmetti, Robert)
   2. 16th Annual International Radiance Workshop registration is
      open! (Alen Mahic)

----------------------------------------------------------------------

Message: 1
Date: Tue, 16 May 2017 19:22:32 +0000
From: "Guglielmetti, Robert" <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] Radiance-general Digest, Vol 159,
        Issue 12
Message-ID: <D540AC42.2A87C%[email protected]>
Content-Type: text/plain; charset="utf-8"

Sorry this is giving you so much trouble. I still remember the excitement
I felt when I saw the Tutorial 0 scene appear in my rvu window the first
time!

What *nix are you using, and which version of the Radiance installer did
you use? Also, did you follow the advice and either a) try the commands in
a new terminal window after making the changes to your ~/.bashrc, or, b)
type 'source ~/.bashrc? in the current terminal window?

On 5/16/17, 12:44 PM, "David Gissen" <[email protected]> wrote:

>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, > ><[email protected]> wrote:
>
>Send Radiance-general mailing list submissions to
> [email protected]
>
>To subscribe or unsubscribe via the World Wide Web, visit
>
>https://www.radiance-online.org/mailman/listinfo/radiance-general
><https://na01.safelinks.protection.outlook.com/?url=
https%3A%2F%2Fwww.radi
>ance-online.org%2Fmailman%2Flistinfo%2Fradiance-general&
data=02%7C01%7Crob
>ert.guglielmetti%40nrel.gov%7C9b4eb606575c4d6c5dc208d49c8c
0c75%7Ca0f29d7e2
>8cd4f5484427885aee7c080%7C1%7C0%7C636305572696174548&
sdata=ztiGPTlwbSLKkVK
>8h0RmDaZ1%2BP63SWyymmDim%2BvPKcU%3D&reserved=0>
>or, via email, send a message with subject or body 'help' to
> [email protected]
>
>You can reach the person managing the list at
> [email protected]
>
>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 <[email protected]>
>To: [email protected]
>Subject: [Radiance-general] RAYPATH problems
>Message-ID:
>
><CAJMyNLcAm8qj9jwESSrnCv64=Z7bsfgWU4u6qPwbHmNU6hB2Jg@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/201
>70516/5f3de48e/attachment-0001.html
><https://na01.safelinks.protection.outlook.com/?url=
http%3A%2F%2Fwww.radia
>nce-online.org%2Fpipermail%2Fradiance-general%
2Fattachments%2F20170516%2F5
>f3de48e%2Fattachment-0001.html&data=02%7C01%7Crobert.
guglielmetti%40nrel.g
>ov%7C9b4eb606575c4d6c5dc208d49c8c0c75%7Ca0f29d7e28cd4f5484427885aee7
c080%7
>C1%7C0%7C636305572696174548&sdata=t%2BPIhQO23HOsFRZyQzBm%
2F7a%2FNAFBiSCSOJ
>H2wT7cmio%3D&reserved=0>>
>
>------------------------------
>
>Message: 2
>Date: Tue, 16 May 2017 10:01:52 -0700
>From: Greg Ward <[email protected]>
>To: Radiance general discussion <[email protected]>
>Subject: Re: [Radiance-general] RAYPATH problems
>Message-ID: <[email protected]>
>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 <[email protected]>
>> 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/201
>70516/103d855f/attachment-0001.html
><https://na01.safelinks.protection.outlook.com/?url=
http%3A%2F%2Fwww.radia
>nce-online.org%2Fpipermail%2Fradiance-general%
2Fattachments%2F20170516%2F1
>03d855f%2Fattachment-0001.html&data=02%7C01%7Crobert.
guglielmetti%40nrel.g
>ov%7C9b4eb606575c4d6c5dc208d49c8c0c75%7Ca0f29d7e28cd4f5484427885aee7
c080%7
>C1%7C0%7C636305572696184557&sdata=Vq29GcJmci2xz0ZuwdjGq42Op3LsHQ
rE4TGnRe5Q
>p3Y%3D&reserved=0>>
>
>------------------------------
>
>Message: 3
>Date: Tue, 16 May 2017 12:35:22 -0500
>From: Thomas Bleicher <[email protected]>
>To: Radiance general discussion <[email protected]>
>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 <[email protected]> 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
>> [email protected]
>>
>https://www.radiance-online.org/mailman/listinfo/radiance-general
><https://na01.safelinks.protection.outlook.com/?url=
https%3A%2F%2Fwww.radi
>ance-online.org%2Fmailman%2Flistinfo%2Fradiance-general&
data=02%7C01%7Crob
>ert.guglielmetti%40nrel.gov%7C9b4eb606575c4d6c5dc208d49c8c
0c75%7Ca0f29d7e2
>8cd4f5484427885aee7c080%7C1%7C0%7C636305572696184557&
sdata=1Uk5W5cFvSNuIub
>o1NSUaXtLfH%2FygHYOZSCQhf4ydIE%3D&reserved=0>
>>
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://www.radiance-online.org/pipermail/radiance-
general/attachments/201
>70516/71227793/attachment-0001.html
><https://na01.safelinks.protection.outlook.com/?url=
http%3A%2F%2Fwww.radia
>nce-online.org%2Fpipermail%2Fradiance-general%
2Fattachments%2F20170516%2F7
>1227793%2Fattachment-0001.html&data=02%7C01%7Crobert.
guglielmetti%40nrel.g
>ov%7C9b4eb606575c4d6c5dc208d49c8c0c75%7Ca0f29d7e28cd4f5484427885aee7
c080%7
>C1%7C0%7C636305572696184557&sdata=E78UnKWLvBum69rjD6JFWou51l%
2FQYn5bCTt7L7
>Y5Gto%3D&reserved=0>>
>
>------------------------------
>
>Message: 4
>Date: Tue, 16 May 2017 18:32:09 +0000
>From: "Shakespeare, Robert A." <[email protected]>
>To: Radiance general discussion <[email protected]>
>Subject: Re: [Radiance-general] RAYPATH problems
>Message-ID: <[email protected]>
>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 <[email protected]>
>Reply-To: Radiance discussion <[email protected]>
>Date: Tuesday, May 16, 2017 at 1:35 PM
>To: Radiance discussion <[email protected]>
>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 > ><[email protected]<mailto:[email protected]>> 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
>[email protected]<mailto:Radiance-
general@radiance-onli
>ne.org>
>https://www.radiance-online.org/mailman/listinfo/radiance-general
><https://na01.safelinks.protection.outlook.com/?url=
https%3A%2F%2Fwww.radi
>ance-online.org%2Fmailman%2Flistinfo%2Fradiance-general&
data=02%7C01%7Crob
>ert.guglielmetti%40nrel.gov%7C9b4eb606575c4d6c5dc208d49c8c
0c75%7Ca0f29d7e2
>8cd4f5484427885aee7c080%7C1%7C0%7C636305572696184557&
sdata=1Uk5W5cFvSNuIub
>o1NSUaXtLfH%2FygHYOZSCQhf4ydIE%3D&reserved=0>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://www.radiance-online.org/pipermail/radiance-
general/attachments/201
>70516/0e66f854/attachment.html
><https://na01.safelinks.protection.outlook.com/?url=
http%3A%2F%2Fwww.radia
>nce-online.org%2Fpipermail%2Fradiance-general%
2Fattachments%2F20170516%2F0
>e66f854%2Fattachment.html&data=02%7C01%7Crobert.guglielmetti%40nrel.gov
%7C
>9b4eb606575c4d6c5dc208d49c8c0c75%7Ca0f29d7e28cd4f5484427885aee7
c080%7C1%7C
>0%7C636305572696184557&sdata=rRmxfCnwbQ3i99wU8Wa3X%
2BZUnfTl3kdU9jiicF3A8wU
>%3D&reserved=0>>
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>Radiance-general mailing list
>[email protected]
>https://www.radiance-online.org/mailman/listinfo/radiance-general
><https://na01.safelinks.protection.outlook.com/?url=
https%3A%2F%2Fwww.radi
>ance-online.org%2Fmailman%2Flistinfo%2Fradiance-general&
data=02%7C01%7Crob
>ert.guglielmetti%40nrel.gov%7C9b4eb606575c4d6c5dc208d49c8c
0c75%7Ca0f29d7e2
>8cd4f5484427885aee7c080%7C1%7C0%7C636305572696184557&
sdata=1Uk5W5cFvSNuIub
>o1NSUaXtLfH%2FygHYOZSCQhf4ydIE%3D&reserved=0>
>
>
>------------------------------
>
>End of Radiance-general Digest, Vol 159, Issue 12
>*************************************************
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

------------------------------

Message: 2
Date: Tue, 16 May 2017 15:30:40 -0700
From: Alen Mahic <[email protected]>
To: [email protected]
Subject: [Radiance-general] 16th Annual International Radiance
        Workshop registration is open!
Message-ID:
        <CAJgQ_PNODj==K4T7uoAh8WS_qefkKV1QbDoQbUN1PqTa3vL0ww@
mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Greetings all,

Registration for the 2017 International Radiance Workshop is open! More
information on pricing and the registration process can be found at
https://radiance.uoregon.edu/registration

The call for presenters is still open and we encourage those interested in
sharing their work at the workshop to submit a short abstract (up to
250-words; 1 optional figure/image; submit by June 1st, 2017). Multiple
proposals per presenter are acceptable! Presenters will also receive a
registration discount. More information is available at
https://radiance.uoregon.edu/call-for-presenters

Please feel free to contact me ([email protected]) with any questions.

Thank you,

Alen Mahic

*Energy Studies in Buildings LaboratoryUniversity of Oregon*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-
general/attachments/20170516/b3a64d07/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Radiance-general mailing list
[email protected]
https://www.radiance-online.org/mailman/listinfo/radiance-general

------------------------------

End of Radiance-general Digest, Vol 159, Issue 14
*************************************************

If the ‘source’ trick worked, then yours is already a more permanent fix.
It means that the changes you made to your .bashrc were applied to the
current terminal (and that they seem to work). Confirm this by opening a
new terminal and trying the radiance commands again. Should work fine, as
the new terminal will read the .bashrc file on startup. The .profile file
is simply another place you can put these kinds of environment statements;
it works much the same way as .bashrc does, except it is more general
(i.e., it’s used for other shells besides bash).

- Rob

···

On 5/16/17, 4:49 PM, "David Gissen" <[email protected]> wrote:

Hi Everyone:

Thank you for your help. I just saw this message from R.G. and I now
tried source ~/.bashrc and the RAYPATH appears to work. So, should I
change the ~/.profile file instead for a more permanent fix?

Thanks again, David