-
Notifications
You must be signed in to change notification settings - Fork 96
/
README.linux
52 lines (43 loc) · 1.07 KB
/
README.linux
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
Install (Ubuntu):
sudo apt install libopenal-dev
sudo apt install libalut-dev
sudo apt install freeglut3-dev
sudo apt install libpng-dev
sudo apt install libglew-dev
sudo apt install libglm-dev
sudo apt install libzstd1-dev
sudo apt install libtiff-dev
sudo apt install libjpeg-dev
sudo apt install libxrender-dev
sudo apt install libxmu-dev
sudo apt install libxi-dev
*************************
Install (Arch Linux)
pacman -S openal
pacman -S freealut
pacman -S freeglut
pacman -S libpng
pacman -S glew
pacman -S glm
pacman -S zstd
pacman -S libtiff
pacman -S libjpeg-turbo
pacman -S libxrender
pacman -S libxmu
pacman -S libxi
*************************
Clone 3DWorld:
git clone https://github.com/fegennari/3DWorld.git
3DWorld Build:
cd 3DWorld
make -j4 -k
(You can ignore the gli and targa warnings.)
Run (bash):
obj/3dworld
If you have an older version of MESA:
MESA_GL_VERSION_OVERRIDE=4.5 MESA_GLSL_VERSION_OVERRIDE=450 obj/3dworld
or
export MESA_GL_VERSION_OVERRIDE=4.5
export MESA_GLSL_VERSION_OVERRIDE=450
obj/3dworld
The default scene can be changed by editing defaults.txt