[Radiance-general] Combining Ambient Files

Gregory J. Ward gregoryjward at gmail.com
Tue Dec 22 10:18:32 PST 2009


Small goof -- the correct command is:

	(lookamb -d machine1.amb ; lookamb -h -d machine2.amb) | lookamb -d - 
r > combined.amb

The second lookamb leaves off the header, which is why only the second  
one has -h.

-Greg

> From: Greg Ward <gward at lmi.net>
> Date: December 22, 2009 10:16:20 AM PST
> Subject: Re: [Radiance-general] Combining Ambient Files
>
> Hi Mark,
>
> Rob is basically right.  There is an even simpler method, though.   
> So long as the ambient file was written correctly, you can append it  
> from another source using getinfo to remove the header:
>
> 	getinfo - < machine2.amb >> machine1.amb
>
> If you are concerned that one or the other ambient file may not be  
> complete, the safer method is lookamb:
>
> 	(lookamb -d machine1.amb ; lookamb -h -d machine2.amb) | lookamb -r  
> > combined.amb
>
> -Greg



More information about the Radiance-general mailing list