Commit 587aa3ea authored by Laurent Belcour's avatar Laurent Belcour

Adding the comparison between the back and retro fit in the xml

parent 1384a87c
<?xml version="1.0"?>
<alta>
<!-- This script file compute the fitting of the retro-reflecting materials present in
the ALTA library. This script file should be executed in the sources directory of
repository as all directories are relative.
<!-- This script file compute the fitting of the retro-reflecting materials
present in the ALTA library. This script file should be executed in
the sources directory of repository as all directories are relative.
It is also necessary to create a results/3d/retro directory to store the resulting
fits and exports to BRDF-explorer and matlab.
It is also necessary to create a results/3d/retro directory to store
the resulting fits and exports to BRDF-explorer and matlab.
-->
<configuration>
<parameter name="lib-dir" value="./build" />
......@@ -29,7 +29,6 @@
<!-- Parameters -->
<parameter name="min" value="[0.1, -2, -2]" />
<parameter name="max" value="[1.7, 0, 2]" />
<parameter name="data-correct-cosine" value="" />
</action>
<action name="data2brdf">
......@@ -51,13 +50,18 @@
<parameter name="min" value="[0.1, -2, -2]" />
<parameter name="max" value="[1.7, 0, 2]" />
<parameter name="bootstrap" value="./results/3d/retro/3M_jaune_abc.brdf" />
<parameter name="data-correct-cosine" value="" />
</action>
<!-- Fitting the lobe using a back parametrization:
The ABC model uses the dot product between the back and the
normal vectors.
-->
<action name="data2brdf">
<!-- Input and output arguments of the action -->
<input name="../papers/retro/mesures/original/3M_jaune/3d/633nm/Fichiers\ definitifs/3M_jaune_3D+3DS+3DR_BRDF_dense__nbsgrid_81.alta" />
<output name="./results/3d/retro/3M_jaune_abc.brdf" />
<output name="./results/3d/retro/3M_jaune_abc_back.brdf" />
<!-- Define the function to use -->
<function name="nonlinear_function_diffuse" />
......@@ -76,13 +80,12 @@
<parameter name="min" value="[0.1, -2, -2]" />
<parameter name="max" value="[1.7, 2, 2]" />
<parameter name="bootstrap" value="./results/3d/retro/3M_jaune_abc.brdf" />
<parameter name="data-correct-cosine" value="" />
</action>
<action name="data2brdf">
<!-- Input and output arguments of the action -->
<input name="../papers/retro/mesures/original/3M_jaune/3d/633nm/Fichiers\ definitifs/3M_jaune_3D+3DS+3DR_BRDF_dense__nbsgrid_81.alta" />
<output name="./results/3d/retro/3M_jaune_abc.brdf" />
<output name="./results/3d/retro/3M_jaune_abc_back.brdf" />
<!-- Define the function to use -->
<function name="nonlinear_function_diffuse" />
......@@ -101,16 +104,15 @@
<!-- Parameters -->
<parameter name="min" value="[0.1, -2, -2]" />
<parameter name="max" value="[1.7, 2, 2]" />
<parameter name="bootstrap" value="./results/3d/retro/3M_jaune_abc.brdf" />
<parameter name="data-correct-cosine" value="" />
<parameter name="bootstrap" value="./results/3d/retro/3M_jaune_abc_back.brdf" />
</action>
<!-- Export the fit -->
<action name="brdf2gnuplot">
<!-- Input and output arguments of the action -->
<input name="./results/3d/retro/3M_jaune_abc.brdf" />
<output name="./results/3d/retro/3M_jaune_abc.dat" />
<input name="./results/3d/retro/3M_jaune_abc_back.brdf" />
<output name="./results/3d/retro/3M_jaune_abc_back.dat" />
<parameter name="data" value="../papers/retro/mesures/original/3M_jaune/3d/633nm/Fichiers\ definitifs/3M_jaune_3D+3DS+3DR_BRDF_dense__nbsgrid_81.alta" />
......@@ -119,4 +121,72 @@
</action>
<!-- Fitting the lobe using a retro parametrization:
The ABC model uses the dot product between the light and the
view vectors.
-->
<action name="data2brdf">
<!-- Input and output arguments of the action -->
<input name="../papers/retro/mesures/original/3M_jaune/3d/633nm/Fichiers\ definitifs/3M_jaune_3D+3DS+3DR_BRDF_dense__nbsgrid_81.alta" />
<output name="./results/3d/retro/3M_jaune_abc_retro.brdf" />
<!-- Define the function to use -->
<function name="nonlinear_function_diffuse" />
<function name="nonlinear_function_abc">
<parameter name="fresnel" value="./build/libnonlinear_fresnel_schlick.so"/>
<!--<parameter name="fixed" value="" />-->
</function>
<function name="nonlinear_function_abc">
<parameter name="param" value="COS_TLV" />
</function>
<!-- Define the ftting procedure to use -->
<plugin type="fitter" name="nonlinear_fitter_ceres" />
<!-- Parameters -->
<parameter name="min" value="[0.1, -2, -2]" />
<parameter name="max" value="[1.7, 2, 2]" />
<parameter name="bootstrap" value="./results/3d/retro/3M_jaune_abc.brdf" />
</action>
<action name="data2brdf">
<!-- Input and output arguments of the action -->
<input name="../papers/retro/mesures/original/3M_jaune/3d/633nm/Fichiers\ definitifs/3M_jaune_3D+3DS+3DR_BRDF_dense__nbsgrid_81.alta" />
<output name="./results/3d/retro/3M_jaune_abc_retro.brdf" />
<!-- Define the function to use -->
<function name="nonlinear_function_diffuse" />
<function name="nonlinear_function_abc">
<parameter name="fresnel" value="./build/libnonlinear_fresnel_schlick.so"/>
<!--<parameter name="fixed" value="" />-->
</function>
<function name="nonlinear_function_abc">
<parameter name="fresnel" value="./build/libnonlinear_fresnel_retroschlick.so"/>
<parameter name="param" value="COS_TLV" />
</function>
<!-- Define the ftting procedure to use -->
<plugin type="fitter" name="nonlinear_fitter_ceres" />
<!-- Parameters -->
<parameter name="min" value="[0.1, -2, -2]" />
<parameter name="max" value="[1.7, 2, 2]" />
<parameter name="bootstrap" value="./results/3d/retro/3M_jaune_abc_retro.brdf" />
</action>
<!-- Export the fit -->
<action name="brdf2gnuplot">
<!-- Input and output arguments of the action -->
<input name="./results/3d/retro/3M_jaune_abc_retro.brdf" />
<output name="./results/3d/retro/3M_jaune_abc_retro.dat" />
<parameter name="data" value="../papers/retro/mesures/original/3M_jaune/3d/633nm/Fichiers\ definitifs/3M_jaune_3D+3DS+3DR_BRDF_dense__nbsgrid_81.alta" />
<parameter name="min" value="[0.1, -2, -2]" />
<parameter name="max" value="[1.7, 2, 2]" />
</action>
</alta>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment