[Radiance-general] [?] how to define the path and name of the .hdr file generated by rad

Ji Zhang hope.zh at gmail.com
Mon Jun 20 09:21:08 PDT 2011


Dear Greg, Thanks for you reply!

Actually, I was asking whether we can specify the directory where the .hdr
image generated by rad will be saved.

I just found out that it can be done, and the "root name" for the PICTURE
variable of rad can include the path where the image file will be placed
once it's generated.

e.g.
"PICTURE = /Volumes/ZJ_1TB/test/rad_image" will save the "rad_image_vw1.hdr"
file in the following place: "/Volumes/ZJ_1TB/test".

Anyway, thanks for the clarification!

- Ji



On Mon, Jun 20, 2011 at 1:00 AM, Greg Ward <gregoryjward at gmail.com> wrote:

> You are correct.  There is no way to directly specify the exact output file
> name, which is constructed from the root name you give and the view name,
> separated by an underscore ('_') and followed by the ".hdr" suffix.  If you
> want a different name, you either have to run the rpict command yourself or,
> easier, rename the file after rad is done using "mv" or similar.
>
> -Greg
>
> > From: Ji Zhang <hope.zh at gmail.com>
> > Date: June 19, 2011 7:02:50 AM PDT
> >
> > Dear Radiancors,
> >
> > May I ask how to specify the path and name of the .hdr file as generated
> by rad when constructing rad command?
> >
> > As far as I know, the options of rad such as PICTURE, RAWFILE, etc only
> specify the "root name" of certain files generated in the process.
> >
> > Thanks!
> >
> > Ji
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://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/20110621/c4c91dc5/attachment.html>


More information about the Radiance-general mailing list