[Radiance-general] Rendering each matrix with 3 and 5 phase

Thanyalak Srisamranrungruang thanyalak_s at sutd.edu.sg
Sun Sep 24 23:09:52 PDT 2017


Dear all,
I have been working on three and five phase methods for a couple months. I followed the two tutorials and all published presentation. I got stuck on rendering each matrix. I am trying to figure out by myself but I have not yet solved it. Here is the codes I used;

I downloaded the model from DIVA tutorial and export geometry and material to run with Radiance.
1. Rendering view matrix by using command vways pipe to rcontrib
oconv testroom.mat material.rad Reference_sky.rad Reference.rad ground.rad window.rad viewtxsursf.rad daymtxsurf.rad > Referencerender.oct

vwrays -vf Reference.vf -ff -x 500 -y 500| rcontrib -x 500 -y 359 -ld- -ffc -fo -o .\viewpics\Reference_%03d.hdr -f klems_full.cal -b kbinS -bn Nkbins -m viewsurf -ab 2 -ad 65536 -lw 1.52e-5 Referencerender.oct
Warning>>>
rcontrib: system - cannot open '.\viewpics\Reference_C:\Users\Thanyalak\Desktop\Test_5P\Reference-lessgrid\Rendering.bat3d.hdr' for writing: Invalid argument

Then I divided command into two lines

vwrays -vf Reference.vf -ff -x 500 -y 500
rcontrib -x 500 -y 359 -ld- -ffc -fo -o .\viewpics\Reference_%03d.hdr -f klems_full.cal -b kbinS -bn Nkbins -m viewsurf -ab 2 -ad 65536 -lw 1.52e-5 Referencerender.oct
There are no any outputs come out and rcontrib was continuing run about 3-4 days then I closed it.

2. Rendering view matrix by using command rways pipe to rfluxmtx
oconv material.rad Reference.rad window.rad Reference_skyrfluxmtx.rad  > Referencerender_rflux.oct
vwrays -vf Reference1.vf -ff -x 500 -y 500 | rfluxmtx -v -ffc -ab 1 -ad 65536 -lw 2e-5 - windowfluxmtx.rad -i Referencerender_rflux.oct

145 pictures were created but they can't open with wxfalsecolor.
The warnings are shown >>>
Error loading image
line 967 readImageData
Line1000 analyzeImage

Could you please give me suggestion to fix these problems?


Best regards,
Thanyalak Srisamranrungruang
e-mail: thanyalak_s at sutd.edu.sg<mailto:thanyalak_s at sutd.edu.sg>
Singapore University of Technology and Design




This email may contain confidential and/or proprietary information that is exempt from disclosure under applicable law and is intended for receipt and use solely by the addressee(s) named above. If you are not the intended recipient, you are notified that any use, dissemination, distribution, or copying of this email, or any attachment, is strictly prohibited. Please delete the email immediately and inform the sender. Thank You
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20170925/e5aaa553/attachment.html>


More information about the Radiance-general mailing list