Commit 503a4acf authored by Laurent Belcour's avatar Laurent Belcour Committed by Ludovic Courtès

[Doc] Add BRDF file icon and the output of the Kirby tutorial.

parent 5a732b5a
#ALTA FUNC HEADER
#CMD --L2 0.0279415 --Linf 0.27124 --fitter rational_fitter_eigen --input ./sources/tests/Kirby2.dat --output Kirby.brdf
#DIM 1 1
#PARAM_IN UNKNOWN_INPUT
#ALTA HEADER END
#FUNC rational_function
#MIN 9.6500000000000003552713678800500929355621337890625000000000000000e+00
#MAX 3.7130000000000001136868377216160297393798828125000000000000000000e+02
#NP 10
#NQ 10
0 4.7677488417145447385792067507281899452209472656250000000000000000e+01
1 -6.1751336072052208692184649407863616943359375000000000000000000000e+02
2 -1.3071120959657316689117578789591789245605468750000000000000000000e+03
3 4.5175832824577983046765439212322235107421875000000000000000000000e+03
4 8.9536731770102032896829769015312194824218750000000000000000000000e+03
5 -6.5731299105053949460852891206741333007812500000000000000000000000e+03
6 -1.8311130331049385858932510018348693847656250000000000000000000000e+04
7 -1.8690428986699816960026510059833526611328125000000000000000000000e+03
8 1.1015363053840334032429382205009460449218750000000000000000000000e+04
9 4.9407308101467879168922081589698791503906250000000000000000000000e+03
0 1.0000000000000000000000000000000000000000000000000000000000000000e+00
1 -1.4349837711825360386797001410741358995437622070312500000000000000e+01
2 -6.9412559395936410666649862832855433225631713867187500000000000000e+00
3 9.8465291323043032889472669921815395355224609375000000000000000000e+01
4 4.2679056944883207336260966258123517036437988281250000000000000000e+01
5 -1.4883416346772040128598746377974748611450195312500000000000000000e+02
6 -1.3116252791403042010642820969223976135253906250000000000000000000e+02
7 4.0271513126443622354599938262253999710083007812500000000000000000e+01
8 9.0307969199702696982967609073966741561889648437500000000000000000e+01
9 3.7209191011884911404195008799433708190917968750000000000000000000e+01
\ No newline at end of file
......@@ -40,7 +40,9 @@ HTML_EXTRA_FILES = script.js \
./images/data_example_01_ref.png \
./images/data_example_01_alta.png \
./images/Kirby2.png \
./brdfs/Kirby2.brdf \
./images/py.png ./images/xml.png \
./images/brdf.png \
./scripts/nonlinear-example-01.py \
./scripts/nonlinear-example-01.xml \
./scripts/rational-example-01.xml \
......
/*!
\page tutorials Tutorials
### Forewords
ALTA organizes BRDF analysis and modeling into atomic \ref commands "programs" (coordinate transforms, sub-space integration, parameters estimation, `etc`) that are combined with plugins. Programs work on three types of plugins: \ref functions "BRDFs", \ref datas "datas", and \ref fitters "fitters". Plugins can input or output files. BRDFs, data and fitters can be provided by users through dynamic libraries. This makes ALTA easily extensible. Programs are executed using command line instructions and can be chained to generate scripts. We pro vide a higher level interface to build scripts using XML and \ref python.
In every example, we denotes command line execution using:
$ do-something
$ do-something
And Python scripts using:
>>> import alta
<br />
### Tutorials
### Tutorials
#### Tutorials using the command line
......@@ -80,6 +80,13 @@ 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:
<center>
<a href="Kirby2.brdf"><img src="brdf.png" alt="BRDF file" width="80px" /></a>
</center>
@endhtmlonly
......@@ -306,7 +313,7 @@ will download the dataset and
$ data2data --input red-fabric.binary --in-data data_merl --output red-fabric.exr --out-data data_brdf_slice
this conversion requires to use the \ref data_merl and \ref data_brdf_slice plugins to load MERL binary files and convert them into and HDR image slice. By default, the \ref data_brdf_slice exports in the \ref params::STARK_2D "STARK_2D" parametrization. But it is also possible to use other kind of 2D parametrization such as \ref params::RUSIN_TH_TD "RUSIN_TH_TD" using the `--param [string]` option (see \ref params for the complete list):
this conversion requires to use the \ref data_merl and \ref data_brdf_slice plugins to load MERL binary files and convert them into and HDR image slice. By default, the \ref data_brdf_slice exports in the \ref params::STARK_2D "STARK_2D" parametrization. But it is also possible to use other kind of 2D parametrization such as \ref params::RUSIN_TH_TD "RUSIN_TH_TD" using the `--param [string]` option (see \ref params for the complete list):
$ data2data --input red-fabric.binary --in-data data_merl --output red-fabric.exr --out-data data_brdf_slice --param RUSIN_TH_TD
......
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