# ambient parameters in rad program

**URL:** <https://discourse.radiance-online.org/t/ambient-parameters-in-rad-program/3121>\
**Category:** radiance-general\
**Created:** [July 15, 2010, 6:42am UTC](https://discourse.radiance-online.org/t/ambient-parameters-in-rad-program/3121 "2010-07-15T06:42:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hu\_Jia](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/h/34f0e0/32.png) [@Hu\_Jia](https://discourse.radiance-online.org/u/Hu_Jia)\
**Post date:** [July 15, 2010, 6:42am UTC](https://discourse.radiance-online.org/t/ambient-parameters-in-rad-program/3121/1 "2010-07-15T06:42:16Z")

</div>

Hello Radiance experts:

I am using RAD program to help visulize and revise my model. I can not  
find out where to specify the -a\* parameters in RAD.  
In its "view" variable, I can define the view file generated by the "view"  
option of rvu. But for "AMBFILE" variable, it says "the name  
of the file where "ambient" or diffuse interreflection values will  
be stored by \*rpict\* or \*rvu.". \*How can I  
save those ambient parameters in rpict or rvu in order to be used in  
AMBFILEof RAD program? or how can I  
define -a\* parameters in RAD program except the "view" variable?

As always, Thank you,

Jia

---

<div class="post-metadata">

**Author:** ![Lars\_Grobe](https://discourse.radiance-online.org/user_avatar/discourse.radiance-online.org/lars_grobe/32/469_2.png) [@Lars\_Grobe](https://discourse.radiance-online.org/u/Lars_Grobe)\
**Post date:** [July 15, 2010, 6:57am UTC](https://discourse.radiance-online.org/t/ambient-parameters-in-rad-program/3121/2 "2010-07-15T06:57:34Z")

</div>

Hi Jia,

rad understands some special variables named after the command they affect to pass such options. There used to be a render= setting in the rif-file, but now you should be able to pass all rpict options by a line such as rpict=-ab 2 -ad 512 -lw 0.002 and so on. Please check the manpage for rad again.

Cheers, Lars.

> **···**
>
> --  
> Dipl.-Ing. Architect Lars O. Grobe

---

<div class="post-metadata">

**Author:** ![Hu\_Jia](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/h/34f0e0/32.png) [@Hu\_Jia](https://discourse.radiance-online.org/u/Hu_Jia)\
**Post date:** [July 15, 2010, 7:18am UTC](https://discourse.radiance-online.org/t/ambient-parameters-in-rad-program/3121/3 "2010-07-15T07:18:38Z")

</div>

Thank you. I mixed up some variables of this program. AMBFILE is used for  
calculation caching instead of storing ambient parameters.

Cheers,  
Jia

> **···**
>
> On Thu, Jul 15, 2010 at 2:57 AM, Lars O. Grobe \<grobe@gmx.net\> wrote:
> 
> > Hi Jia,
> > 
> > rad understands some special variables named after the command they affect  
> > to pass such options. There used to be a render= setting in the rif-file,  
> > but now you should be able to pass all rpict options by a line such as  
> > rpict=-ab 2 -ad 512 -lw 0.002 and so on. Please check the manpage for rad  
> > again.
> > 
> > Cheers, Lars.
> > 
> > --  
> > Dipl.-Ing. Architect Lars O. Grobe
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Radiance-general mailing list  
> > Radiance-general@radiance-online.org  
> > [http://www.radiance-online.org/mailman/listinfo/radiance-general](http://www.radiance-online.org/mailman/listinfo/radiance-general)
