Commit f1978677 authored by Laurent Belcour's avatar Laurent Belcour
Browse files

Adding python command to obtain the externals.

parent 2c26c344
This is the repository for the ALTA Project
This is the repository for the ALTA library. ALTA is a set of cross-platform
command line executables and shared object plugins allowing to analyze, fit
and understand BRDF data and models.
ALTA targets: people working on BRDFs and willing to benchmark new BRDF models
and compare them with state-of-the-art BRDF models and data easily; people
working on optical measurements and wanting to experiment different fitting
procedures and models; or people wanting to perform statistical analysis on
your BRDF data.
1. Repository Organization
......
......@@ -2,8 +2,6 @@ CONFIG -= qt
TEMPLATE = subdirs
SUBDIRS = sources \
external/quadprog++ \
external/quadprog++-v2
external \
sources.depends = external/quadprog++
sources.depends = external/quadprog++-v2
sources.depends = external
......@@ -24,6 +24,7 @@ ALTA is part of the [ANR 11-BS02-006][alta-anr], a research project on light tra
You are working on BRDFs and you want to **benchmark new BRDF models** and compare them with state-of-the-art BRDF models and data easily. You have working on optical measurements and you want **experiment different fitting procedures and models**, or just perform **statistical analysis** on your data.
### Features
Here is a list of the major features in the ALTA library (you can find the complete list in the \ref features page):
......@@ -44,7 +45,9 @@ Here is a list of the major features in the ALTA library (you can find the compl
</center>
## Download and install
Download and install
--------------------
### Obtain sources
......@@ -54,6 +57,7 @@ To access the sources of ALTA, you can download the alpha sources:
http://alta.gforge.inria.fr/downloads/alta-alpha.tar.gz
</center>
### Build
You can build ALTA using either [qmake](http://qt-project.org) or [scons](http://www.scons.org). To start, we advise to use scons as it is lightweight and only requires Python to be installed (ALTA uses Python for its high level scripting mechanism). To build using scons, go to the root directory of ALTA and type:
......@@ -66,6 +70,7 @@ You need to provide a platform dependant configuration file. You will find examp
To use qmake, or for a more detailed view of ALTA's building scripts and dependencies, please refer to \ref install.
### How to use it
ALTA uses command line programs to perform actions such as BRDF fitting, data conversion, etc. Each program needs plugins to handle its inputs and outputs. We provide three kind of plugins: \ref functions which correspond to BRDF models, \ref datas which correspond to BRDF measurments, and \ref fitters which correspond to fitting algorithms. In the following, we illustrate the use of programs and plugins.
......@@ -90,6 +95,7 @@ To convert this brdf file (in ALTA \ref format), you will need another command:
You can find more examples of how to use ALTA on the \ref tutorials page.
### Contribute
There are many ways in which you can extend ALTA. Please refer to
......
......@@ -18,6 +18,11 @@ if env.GetOption('clean'):
#shutil.rmtree('nlopt-2.4.1', True)
else:
##
# IpOpt dependancies
##
execfile('obtain_ipopt.py')
##
# NlOpt dependancies
##
......
TEMPLATE = subdirs
SUBDIRS = quadprog++ \
# quadprog++-v2
quadprog++-v2
system("python --help") {
system("python obtain_eigen.py")
system("python obtain_ceres.py")
system("python obtain_nlopt.py")
system("python obtain_ipopt.py")
} else {
warning("Python has not been found, you will need to compile external dependancies on your own.")
}
\ No newline at end of file
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