forked from simonfuhrmann/mve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
124 lines (90 loc) · 4.91 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
Introduction
======================================================================
This is the MVE users guide for building, installation and operation.
MVE is developed at the TU Darmstadt, specifically in the GRIS department,
for more details visit the following websites:
http://www.gris.tu-darmstadt.de/projects/multiview-environment/
http://www.gris.tu-darmstadt.de/
http://www.tu-darmstadt.de/
The libraries and applications has been developed by, or received
contributions from, the following persons:
Simon Fuhrmann <[email protected]>
Ronny Klowsky <[email protected]>
Jens Ackermann <[email protected]>
Sebastian Koch <[email protected]>
Fabian Langguth <[email protected]>
This README file covers some basic information regarding MVE.
* Building MVE / UMVE
* Running MVE / UMVE
* Installing MVE / UMVE
* Licensing
* Hacking / Contributing to MVE
Building MVE / UMVE
======================================================================
Building is a two step process:
1. Building the libraries. In order to build the libraries, type "make" in
the base path or in the "libs/" directory. Note that the "ogl" library is
required for UMVE, but most applications do not require that library. (In
fact, as of now, only UMVE requires this library.) Building this library
will fail on systems without OpenGL, but this is fine as long as only
applications not requiring "ogl" are built afterwards.
2. Building the applications. Applications need to be build manually by
typing "make" in the corresponding directory of the application. For
some applications, "qmake" is used as build system. In these cases, such as
for UMVE, type "qmake" followed by "make" to build the application.
Requirements to compile and run MVE or UVME are:
- libjpeg (for MVE, http://www.ijg.org/)
- libpng (for MVE, http://www.libpng.org/pub/png/libpng.html)
- libtiff (for MVE, http://www.libtiff.org/)
- OpenGL (only for libogl in MVE and UMVE)
- QT 4 (only for UMVE, http://qt.nokia.com)
To conclude, building and executing under Linux and OSX is as easy as:
# <download and untar>
# cd mve
# make
# cd apps/umve/
# qmake && make -j8
# ./umve
Building under MS Windows may work as well. However, documenting this
process is currently out of scope of this document.
Running MVE / UMVE
======================================================================
MVE is bundled with a few applications. Most of these applications operate
on MVE scenes, which need to be created beforehand. MVE scenes can be
created using the "makescene" application. Other applications can executed
without a scene, such as the "meshconvert" application. However, there is
lots of functionality in the libraries which is not directly accessible via
an explicit application.
UMVE is the QT-based GUI front-end application for easy management of
scenes, and requires "qmake" for the building process. Note that also UMVE
does not support creation of scenes. Use "makescene" for that.
Apart from UMVE, most time-consuming operations are also available as
console applications and can be executed on systems without graphical user
interface. One example is "dmrecon", which is the console version of the
MVS reconstruction. The "mveshell" is a command line alternative for UMVE,
but does not yet cover all of its functionality.
Installing MVE / UMVE
======================================================================
Currently, there is not automated install procedure.
MVE as well as UMVE is not dependent on any external files except for the
UMVE shader. As such, you can easily install UMVE by copying the compiled
binary file to any directory in your $PATH, or linking to it. Make sure
that the "shader" directory is located just next to the binary.
Licensing
======================================================================
Please see the COPYING.txt file for licensing information.
Hacking MVE
======================================================================
Just a few notes on developing MVE itself.
Developing library functionality is typically done by creating or using an
already existing test file in order to execute and test the new
functionality. Test files have an underscore ("_") as first character in
the file name. Due to Makefile rules, these files are not build and linked
when compiling the libraries. A call to "make test" will build one of these
files (configure this in the Makefile).
You are welcome to send in contributions to MVE that add new functionality
or fix bugs. Note that only contributions that meet the quality standards of
the libraries are likely to go into the official code base.
All contributions will be published under the same license as MVE (see
COPYING.txt for further details), and contributed code is up to future
changes in licensing or licensing to third parties on an individual basis.