-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
58 lines (40 loc) · 1.67 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
osgOcean v1.0
-------------
DEPENDANCIES
------------
Resources
---------
Both the library and the example require a set of resource
files (models/textures) which can be downloaded from here:
http://osgocean.googlecode.com/files/osgOcean-Resources-1.0.rar
Once you downloaded them, extract the 'Island' and 'Textures'
folders into the resources directory found in the root of the
source code tree. The install project will copy the relevant
data files to the bin path like so:
*install_path*/bin/resources/
osgOcean uses the osgDB registry to find the resource files.
By default it adds the following paths to the registry:
Shader path:
resources/shaders/
Texture path:
resources/textures/
If you wish to move these resources you must update the data file path
list within the registry yourself. This can be down from outside the
library with the following code:
osgDB::FilePathList& pathList = osgDB::Registry::instance()->getDataFilePathList();
pathList.push_back( new_path );
Libraries
---------
osgOcean also requires a Fast Fourier Transform library. It can work
with either FFTW or FFTSS.
**IMPORTANT LICENSE ISSUE**
FFTW is released under a General Public License, by selecting this
option in CMAKE the resulting build of osgOcean will also be covered under
the GPL license.
GPL License details: http://www.gnu.org/copyleft/gpl.html
FFTSS is covered under a Lesser General Public License which allows
the osgOcean library to remain LGPL.
LGPL License details: http://www.gnu.org/licenses/lgpl.html or see LICENSE.txt
FFTW and FFTSS can be downloaded from:
FFTW: http://www.fftw.org/
FFTSS: http://www.ssisc.org/fftss/