ALTA  alpha
XML scripts

You can create XML formated files to run ALTA complex commands. A python script xml_cmd.py is available in the directory #/sources/scripts. You can use it with the following command: #/sources/scripts/xml_cmd.py file.xml

We provide an example XML file that is self describing:

1 <?xml version="1.0"?>
2 <alta>
3  <action name="data2brdf">
4 
5  <input name="../data/3d/merl/blue-metallic-paint.binary" />
6  <output name="./results/3d/merl/blue-mettalic-paint.brdf" />
7 
8 
9  <function name="nonlinear_function_diffuse" />
10  <function name="nonlinear_function_beckmann" />
11 
12 
13  <plugin type="fitter" name="nonlinear_fitter_ceres" />
14 
15 
16  <plugin type="data" name="data_merl" />
17 
18 
19  <parameter name="export" value="explorer" />
20  </action>
21 </alta>

The <input> command can take two different kind of attributes: