Hi Iván, Do it in MingW like so: vwrays -d -x xres -y yres [view options] > dimensions.txt vwrays -x xres -y yres [view options] -fd \ | rtrace -fd -h -opN scene.oct \ | rtrace -fdc -I @dimensions.txt scene.oct \ > irradiance.pic rm dimensions.txt -Greg