[Radiance-general] computing illuminance across a grid

Roland Schregle [email protected]
Wed, 22 May 2002 22:33:18 +0200


Rob Guglielmetti wrote:
> 
> Me again.  

YOU again? :^)

> I tried something like:
> rtrace -h -I 60 60 30 0 0 1 scene.oct
> 
> I thought this would give me the irradiance at a point 60"
> over(+x), 60" up (+y), and 30" off the floor (+z), whth the
> "light meter" facing up along the z axis.  But this gave me
> an error at the command line.  WHat is the proper syntax?

the position and orientation vectors are grabbed from standard input.
For example, grabbing them from a file would require:

rtrace -h -I scene.oct < scene.pos

For your single measurement you'd use:

echo 60 60 30 0 0 1 | rtrace -h -I scene.oct

Ain't UNIX fun? :^)


--Roland

-- 
"Life is too short for core dumps"