I am testing a simple room using photon mapping.
I had been able to use mkpmap (with global photons 10k and caustic photons 50k) to generate .cpm and .gpm, and to use rpict to generate .hdr last week.
However, today I repeated this process with a different room model, and during photon mapping it comes with a rpict error. Then I rerun the photon mapping process with the old model, which is the one I used last week without any problems, it comes with the same error message:
I repeated the process with the same model in DIVA, in which global photons are 20k and caustic photons are 200k, and DIVA generated a .hdr file without error.
Radiance version: Radiance 5.4a
The light source is sunlight.
I am wondering the reason behind it and what is the best way to fix the error in the command line.
Any inputs will be appreciated!
Update: in terms of photon mapping in DIVA, I didn’t find.cpm and .gpm files, or any files recording photon mapping process in the temp folder, so I am not sure if it works well even though an .hdr image generated.