Create a gist now

Instantly share code, notes, and snippets.

@sariths /3PM.bat Secret
Created Dec 8, 2017

Embed
@echo off
SET RAYPATH=.;c:\radiance\lib
PATH=c:\radiance\bin;$PATH
D:
cd D:\Daylight_Metrics\Results\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar\gridbased_threephase
echo :: total sky matrix
c:\radiance\bin\gendaymtx -m 1 -r 0.0 -O0 -v sky\skymtx_vis_r1_0_724835_38.52_-121.5_0.0.wea > sky\skymtx_vis_r1_0_724835_38.52_-121.5_0.0.smx
echo :: direct sky matrix
c:\radiance\bin\gendaymtx -m 1 -r 0.0 -d -O0 -v sky\skymtx_vis_r1_1_724835_38.52_-121.5_0.0.wea > sky\skymtx_vis_r1_1_724835_38.52_-121.5_0.0.smx
echo :: Done with 0 of 5 ^|----------^| (0.00%%)
echo ::
echo :: start of the calculation for scene, default. State 1 of 1
echo ::
echo :: :: 1. calculating daylight matrices
echo ::
echo :: :: [1/3] scene daylight matrix
echo :: :: rfluxmtx - [sky] [points] [wgroup] [blacked wgroups] [scene] ^> [dc.mtx]
echo ::
c:\radiance\bin\rfluxmtx -y 925 -I -aa 0.25 -dj 0.0 -lw 2e-06 -lr 4 -ad 5000 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 3 -c 1 -st 0.85 - sky\rfluxSky.rad scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\extra\material_detailed.rad scene\extra\smf06.wk3.detailed.rotated_noglazing.rad scene\wgroup\black.mat scene\wgroup\bg1Open..blk.rad scene\wgroup\bg1Closed..blk.rad scene\wgroup\bg2Open..blk.rad scene\wgroup\bg2Closed..blk.rad < smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar.pts > result\matrix\normal_smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..scene..default.dc
echo :: :: [2/3] black scene daylight matrix
echo :: :: rfluxmtx - [sky] [points] [wgroup] [blacked wgroups] [blacked scene] ^> [black dc.mtx]
echo ::
c:\radiance\bin\rfluxmtx -y 925 -I -aa 0.25 -dj 0.0 -lw 2e-06 -lr 4 -ad 5000 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 1 -c 1 -st 0.85 - sky\rfluxSky.rad scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..blk.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\wgroup\black.mat scene\wgroup\bg1Open..blk.rad scene\wgroup\bg1Closed..blk.rad scene\wgroup\bg2Open..blk.rad scene\wgroup\bg2Closed..blk.rad < smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar.pts > result\matrix\black_smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..scene..default.dc
echo :: :: [3/3] black scene analemma daylight matrix
echo :: :: rcontrib - [sunMatrix] [points] [wgroup] [blacked wgroups] [blacked scene] ^> [analemma dc.mtx]
echo ::
c:\radiance\bin\oconv -f scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..blk.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\wgroup\black.mat scene\wgroup\bg1Open..blk.rad scene\wgroup\bg1Closed..blk.rad scene\wgroup\bg2Open..blk.rad scene\wgroup\bg2Closed..blk.rad sky\sunmtx_vis_724835_38.52_-121.5_0.0.ann > analemma.oct
c:\radiance\bin\rcontrib -aa 0.25 -dj 0.0 -lw 0.05 -lr 4 -ad 512 -ar 16 -as 128 -ab 0 -M sky\sunmtx_vis_724835_38.52_-121.5_0.0.sun -I -dc 1.0 -dp 64 -ss 0.0 -dt 0.0 -dr 0 -ds 0.5 -st 0.85 analemma.oct < smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar.pts > result\matrix\sun_smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..scene..default.dc
echo :: :: 2. matrix multiplication
echo ::
echo :: :: [1/3] calculating daylight mtx * total sky
echo :: :: dctimestep [dc.mtx] [total sky] ^> [total results.rgb]
c:\radiance\bin\dctimestep result\matrix\normal_smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..scene..default.dc sky\skymtx_vis_r1_0_724835_38.52_-121.5_0.0.smx > tmp\total..scene..default.rgb
echo :: :: rmtxop -c 47.4 119.9 11.6 [results.rgb] ^> [total results.ill]
echo ::
c:\radiance\bin\rmtxop -fa -c 47.4 119.9 11.6 tmp\total..scene..default.rgb > result\total..scene..default.ill
echo :: :: [2/3] calculating black daylight mtx * direct only sky
echo :: :: dctimestep [black dc.mtx] [direct only sky] ^> [direct results.rgb]
c:\radiance\bin\dctimestep result\matrix\black_smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..scene..default.dc sky\skymtx_vis_r1_1_724835_38.52_-121.5_0.0.smx > tmp\direct..scene..default.rgb
echo :: :: rmtxop -c 47.4 119.9 11.6 [direct results.rgb] ^> [direct results.ill]
echo ::
c:\radiance\bin\rmtxop -fa -c 47.4 119.9 11.6 tmp\direct..scene..default.rgb > result\direct..scene..default.ill
echo :: :: [3/3] calculating black daylight mtx * analemma
echo :: :: dctimestep [black dc.mtx] [analemma only sky] ^> [sun results.rgb]
c:\radiance\bin\dctimestep result\matrix\sun_smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..scene..default.dc sky\sunmtx_vis_724835_38.52_-121.5_0.0.mtx > tmp\sun..scene..default.rgb
echo :: :: rmtxop -c 47.4 119.9 11.6 [sun results.rgb] ^> [sun results.ill]
echo ::
c:\radiance\bin\rmtxop -fa -c 47.4 119.9 11.6 tmp\sun..scene..default.rgb > result\sun..scene..default.ill
echo :: :: 3. calculating final results
echo :: :: rmtxop [total results.ill] - [direct results.ill] + [sun results.ill] ^> [final results.ill]
echo ::
c:\radiance\bin\rmtxop result\total..scene..default.ill + -s -1.0 result\direct..scene..default.ill + result\sun..scene..default.ill > result\scene..default.ill
echo :: end of calculation for scene, default
echo ::
echo ::
echo :: start of the 3-phase calculation for the window group bg1Open
echo :: :: [1/3] calculating view matrix
echo :: :: rfluxmtx - [wgroup] [scene] [points] [blacked wgroups] ^> [*.vmx]
echo ::
c:\radiance\bin\rfluxmtx -y 925 -I -aa 0.25 -dj 0.0 -lw 1e-05 -lr 4 -ad 1000 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 3 -st 0.85 - scene\wgroup\bg1Open..glw.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\wgroup\black.mat scene\wgroup\bg1Closed..blk.rad scene\wgroup\bg2Open..blk.rad scene\wgroup\bg2Closed..blk.rad scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..blk.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad < smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar.pts > result\matrix\bg1Open.vmx
echo :: :: [2/3] calculating daylight matrix
echo :: :: rfluxmtx - [sky] [points] [wgroup] [blacked wgroups] [scene] ^> [*.dmx]
echo ::
c:\radiance\bin\rfluxmtx -aa 0.25 -dj 0.0 -lw 1e-05 -lr 4 -ad 1024 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 2 -c 1000 -st 0.85 scene\wgroup\bg1Open..glw.rad sky\rfluxSky.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\extra\material_detailed.rad scene\extra\smf06.wk3.detailed.rotated_noglazing.rad scene\wgroup\black.mat scene\wgroup\bg1Closed..blk.rad scene\wgroup\bg2Open..blk.rad scene\wgroup\bg2Closed..blk.rad scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..blk.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad > result\matrix\bg1Open_1.dmx
echo :: :: State default [1 out of 1]
echo :: :: [3/3] vMatrix * dMatrix * tMatrix
echo :: :: dctimestep [vmx] [tmtx] [dmtx] ^ > [results.rgb]
c:\radiance\bin\dctimestep result/matrix\bg1Open.vmx scene\bsdf\open.xml result\matrix\bg1Open_1.dmx sky\skymtx_vis_r1_0_724835_38.52_-121.5_0.0.smx > tmp\bg1Open..default.tmp
echo :: :: rmtxop -c 47.4 119.9 11.6 [results.rgb] ^> [results.ill]
echo ::
echo ::
c:\radiance\bin\rmtxop -fa -c 47.4 119.9 11.6 tmp\bg1Open..default.tmp > result\bg1Open..default.ill
echo :: start of the 3-phase calculation for the window group bg1Closed
echo :: :: [1/3] calculating view matrix
echo :: :: rfluxmtx - [wgroup] [scene] [points] [blacked wgroups] ^> [*.vmx]
echo ::
c:\radiance\bin\rfluxmtx -y 925 -I -aa 0.25 -dj 0.0 -lw 1e-05 -lr 4 -ad 1000 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 3 -st 0.85 - scene\wgroup\bg1Closed..glw.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\wgroup\black.mat scene\wgroup\bg1Open..blk.rad scene\wgroup\bg2Open..blk.rad scene\wgroup\bg2Closed..blk.rad scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..blk.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad < smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar.pts > result\matrix\bg1Closed.vmx
echo :: :: [2/3] calculating daylight matrix
echo :: :: rfluxmtx - [sky] [points] [wgroup] [blacked wgroups] [scene] ^> [*.dmx]
echo ::
c:\radiance\bin\rfluxmtx -aa 0.25 -dj 0.0 -lw 1e-05 -lr 4 -ad 1024 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 2 -c 1000 -st 0.85 scene\wgroup\bg1Closed..glw.rad sky\rfluxSky.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\extra\material_detailed.rad scene\extra\smf06.wk3.detailed.rotated_noglazing.rad scene\wgroup\black.mat scene\wgroup\bg1Open..blk.rad scene\wgroup\bg2Open..blk.rad scene\wgroup\bg2Closed..blk.rad scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..blk.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad > result\matrix\bg1Closed_1.dmx
echo :: :: State default [1 out of 1]
echo :: :: [3/3] vMatrix * dMatrix * tMatrix
echo :: :: dctimestep [vmx] [tmtx] [dmtx] ^ > [results.rgb]
c:\radiance\bin\dctimestep result/matrix\bg1Closed.vmx scene\bsdf\closed.xml result\matrix\bg1Closed_1.dmx sky\skymtx_vis_r1_0_724835_38.52_-121.5_0.0.smx > tmp\bg1Closed..default.tmp
echo :: :: rmtxop -c 47.4 119.9 11.6 [results.rgb] ^> [results.ill]
echo ::
echo ::
c:\radiance\bin\rmtxop -fa -c 47.4 119.9 11.6 tmp\bg1Closed..default.tmp > result\bg1Closed..default.ill
echo :: start of the 3-phase calculation for the window group bg2Open
echo :: :: [1/3] calculating view matrix
echo :: :: rfluxmtx - [wgroup] [scene] [points] [blacked wgroups] ^> [*.vmx]
echo ::
c:\radiance\bin\rfluxmtx -y 925 -I -aa 0.25 -dj 0.0 -lw 1e-05 -lr 4 -ad 1000 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 3 -st 0.85 - scene\wgroup\bg2Open..glw.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\wgroup\black.mat scene\wgroup\bg1Open..blk.rad scene\wgroup\bg1Closed..blk.rad scene\wgroup\bg2Closed..blk.rad scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..blk.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad < smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar.pts > result\matrix\bg2Open.vmx
echo :: :: [2/3] calculating daylight matrix
echo :: :: rfluxmtx - [sky] [points] [wgroup] [blacked wgroups] [scene] ^> [*.dmx]
echo ::
c:\radiance\bin\rfluxmtx -aa 0.25 -dj 0.0 -lw 1e-05 -lr 4 -ad 1024 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 2 -c 1000 -st 0.85 scene\wgroup\bg2Open..glw.rad sky\rfluxSky.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\extra\material_detailed.rad scene\extra\smf06.wk3.detailed.rotated_noglazing.rad scene\wgroup\black.mat scene\wgroup\bg1Open..blk.rad scene\wgroup\bg1Closed..blk.rad scene\wgroup\bg2Closed..blk.rad scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..blk.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad > result\matrix\bg2Open_1.dmx
echo :: :: State default [1 out of 1]
echo :: :: [3/3] vMatrix * dMatrix * tMatrix
echo :: :: dctimestep [vmx] [tmtx] [dmtx] ^ > [results.rgb]
c:\radiance\bin\dctimestep result/matrix\bg2Open.vmx scene\bsdf\bg2open.xml result\matrix\bg2Open_1.dmx sky\skymtx_vis_r1_0_724835_38.52_-121.5_0.0.smx > tmp\bg2Open..default.tmp
echo :: :: rmtxop -c 47.4 119.9 11.6 [results.rgb] ^> [results.ill]
echo ::
echo ::
c:\radiance\bin\rmtxop -fa -c 47.4 119.9 11.6 tmp\bg2Open..default.tmp > result\bg2Open..default.ill
echo :: start of the 3-phase calculation for the window group bg2Closed
echo :: :: [1/3] calculating view matrix
echo :: :: rfluxmtx - [wgroup] [scene] [points] [blacked wgroups] ^> [*.vmx]
echo ::
c:\radiance\bin\rfluxmtx -y 925 -I -aa 0.25 -dj 0.0 -lw 1e-05 -lr 4 -ad 1000 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 3 -st 0.85 - scene\wgroup\bg2Closed..glw.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\wgroup\black.mat scene\wgroup\bg1Open..blk.rad scene\wgroup\bg1Closed..blk.rad scene\wgroup\bg2Open..blk.rad scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..blk.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad < smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar.pts > result\matrix\bg2Closed.vmx
echo :: :: [2/3] calculating daylight matrix
echo :: :: rfluxmtx - [sky] [points] [wgroup] [blacked wgroups] [scene] ^> [*.dmx]
echo ::
c:\radiance\bin\rfluxmtx -aa 0.25 -dj 0.0 -lw 1e-05 -lr 4 -ad 1024 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 2 -c 1000 -st 0.85 scene\wgroup\bg2Closed..glw.rad sky\rfluxSky.rad scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.mat scene\opaque\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..opq.rad scene\extra\material_detailed.rad scene\extra\smf06.wk3.detailed.rotated_noglazing.rad scene\wgroup\black.mat scene\wgroup\bg1Open..blk.rad scene\wgroup\bg1Closed..blk.rad scene\wgroup\bg2Open..blk.rad scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..blk.mat scene\glazing\smf06_wk3_Result_7_allpts_TwoBgOpenClosedxml_RemoveDummyHBO_NoRadPar..glz.rad > result\matrix\bg2Closed_1.dmx
echo :: :: State default [1 out of 1]
echo :: :: [3/3] vMatrix * dMatrix * tMatrix
echo :: :: dctimestep [vmx] [tmtx] [dmtx] ^ > [results.rgb]
c:\radiance\bin\dctimestep result/matrix\bg2Closed.vmx scene\bsdf\bg2closed.xml result\matrix\bg2Closed_1.dmx sky\skymtx_vis_r1_0_724835_38.52_-121.5_0.0.smx > tmp\bg2Closed..default.tmp
echo :: :: rmtxop -c 47.4 119.9 11.6 [results.rgb] ^> [results.ill]
echo ::
echo ::
c:\radiance\bin\rmtxop -fa -c 47.4 119.9 11.6 tmp\bg2Closed..default.tmp > result\bg2Closed..default.ill
Pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment