Error with rcontrib command when applying

Hi Greg,
Thank you so much for your email.Yes, if works well with MF:1. But what if I want I to use MF:2Now, I am using Windows 7 and do you or anyone else know how can I extend the number of open files in Windows?


On Thursday, July 9, 2015 6:04 PM, Greg Ward <> wrote:
Hi Majid,
Normally, it's not a good idea to use the -ff option under Windows, even in a piped command, but I don't think that is the source of your problem in this case. Did you double-check that your actual image size is 1024x591 by running vwrays with the -d option?
Since it stopped after 508 files when there should be 578, I suspect there is a limit under your version of Windows (or MINGW -- whatever environment you are using) to 512 simultaneously open files. I bet if you use MF:1 it would work.

From: Majid Miri <>Subject: [Radiance-general] Error with rcontrib command when applying reinhart.calDate: July 9, 2015 8:30:26 AM PDT

Dear all,
I tried to work with rcontrib together with in windows 7. When I run it in windows, it gave me 508 HDR files and only 1 kilobyte. I do appreciate if anyone can explain me what is wrong with it?
Here is the command:
vwrays -ff -x 1024 -y 1024 -vf ViewFile.vf | rcontrib -ffc -x 1024 -y 591 @test_sky.opt -e MF:2 -f -b rbin -bn Nrbins -o c_%04d.hdr -m sky_glow test.oct
Best regards,Majid