Commit 732e1161 authored by Laurent Belcour's avatar Laurent Belcour Committed by Ludovic Courtès

[Doc] Adding the Kirby tutorial xml file.

parent 919bab40
......@@ -44,6 +44,7 @@ HTML_EXTRA_FILES = script.js \
./images/data_example_01_alta.png \
./images/Kirby2.png \
./brdfs/Kirby2.brdf \
./scripts/Kirby2.xml \
./images/py.png ./images/xml.png \
./images/brdf.png \
./scripts/nonlinear-example-01.py \
......
<?xml version="1.0"?>
<alta>
<action name="data2brdf">
<!-- Input and output arguments of the action -->
<input name="./sources/tests/Kirby2.dat" />
<output name="Kriby2.brdf" />
<!-- Define the function to use -->
<function name="rational_function_legendre" />
<!-- Define the ftting procedure to use -->
<plugin type="fitter" name="rational_fitter_leastsquare" />
</action>
<action name="brdf2gnuplot">
<!-- Input and output arguments of the action -->
<input name="Kriby2.brdf" />
<output name="Kirby2.dat" />
<!-- Take the data file abscissa and apply the function to it -->
<parameter name="data-file" value="./sources/tests/Kirby2.dat" />
</action>
</alta>
\ No newline at end of file
......@@ -81,11 +81,17 @@ To convert this brdf file to be used in another software (here matlab), you will
\ref brdf2brdf converts an ALTA brdf file into another format such as Matlab m file, C++ code, or BRDF Explorer shader. Note that this tool cannot convert to another ALTA file (e.g., converting a Blinn lobe to a Beckmann distribution).
@htmlonly
<br />
Here we provide the resulting BRDF file:
<p>
Here we provide the resulting BRDF file and the XML script used to generate it:
<center>
<a href="Kirby2.brdf"><img src="brdf.png" alt="BRDF file" width="80px" /></a>
<table>
<tr>
<td><a href="Kirby2.brdf"><img src="brdf.png" alt="BRDF file" height="80px" /></a></td>
<td><a href="Kirby2.xml"><img src="xml.png" alt="BRDF file" height="80px" /></a></td>
</tr>
</table>
</center>
</p>
@endhtmlonly
......
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