Martin Gerhardy
f53b640250
VOXEL: moved polyvox into voxel - I would like to get rid of most of the template parameters
2016-04-21 20:43:37 +02:00
Martin Gerhardy
287b162064
VIDEO: allow to init whatever lod amount we configure
2016-04-21 20:24:00 +02:00
mgerhardy
cfdc2f76b1
VOXEL: removed smoothing of voxels from downsampling
...
we don't really need this, as smoothing doesn't work well for our material based approach
2016-04-21 20:30:26 +02:00
mgerhardy
3538104e38
VOXEL: use LodCreator class
2016-04-21 20:29:53 +02:00
mgerhardy
cb28ce5a52
VOXEL: LodCreator class
2016-04-20 22:28:35 +02:00
mgerhardy
4a562f64c1
VOXEL: use const references and no voxel copies
2016-04-20 20:34:32 +02:00
mgerhardy
6f1e9cc68b
VOXEL: trilerp the voxels for volume sampling
...
(even though the linear lerp as the last function in the chain doesn't really lerp)
2016-04-20 20:29:08 +02:00
Martin Gerhardy
63e77c2d61
FRONTEND: allow to support less lods in rendering than in the voxel world
2016-04-20 20:46:10 +02:00
Martin Gerhardy
1f19995986
FRONTEND: only use two of the lods
2016-04-20 20:40:39 +02:00
Martin Gerhardy
f37f10e7a0
VIDEO: there is no need to add alpha to a texture that doesn't have any
2016-04-20 20:22:00 +02:00
Martin Gerhardy
6fac773ca1
VIDEO: fixed glTexImage2D call - components where mixed
2016-04-20 20:20:49 +02:00
Martin Gerhardy
fb0b3b4ab1
NOISE: fixed compilation
2016-04-20 20:59:22 +02:00
Martin Gerhardy
f27f78c03f
FRONTEND: NoiseGenerationTask fixed member names
2016-04-20 20:58:23 +02:00
mgerhardy
71a2a5c78e
VOXEL: provide lods
2016-04-20 20:38:46 +02:00
mgerhardy
26711239a7
POLYVOX: style cleanup
2016-04-20 20:22:14 +02:00
mgerhardy
5fdeec1ce7
POLYVOX: more cleanup
2016-04-19 20:46:56 +02:00
mgerhardy
3b08e04fe5
POLYVOX: format and fixed warning
2016-04-19 20:38:49 +02:00
mgerhardy
f10e42d92a
POLYVOX: no exceptions are thrown - use glm::constants
2016-04-19 20:36:45 +02:00
mgerhardy
62ac1ed75a
POLYVOX: convert doxygen style to our own
2016-04-19 20:33:11 +02:00
mgerhardy
f2719709b9
SHAPETOOL: fixed loca identifier
2016-04-19 20:28:50 +02:00
mgerhardy
f88d2222de
POLYVOX: cleanup c style method/function prototypes
2016-04-19 20:26:46 +02:00
mgerhardy
e3d313e27c
POLYVOX: header cleanup and removed Vector.h
2016-04-19 20:24:31 +02:00
mgerhardy
47f917f470
POLYVOX: removed header includes and empty namespace
2016-04-19 20:20:25 +02:00
mgerhardy
b26522bd05
POLYVOX: don't use the Vector typedefs - use glm::vec types directly
2016-04-19 20:19:50 +02:00
mgerhardy
d4fa3dae6e
POLYVOX: moved glm::ivec3 hash function into the core
2016-04-19 20:13:48 +02:00
mgerhardy
c225d2c8b5
POLYVOX: const
2016-04-19 20:12:06 +02:00
mgerhardy
fa506b0528
POLYVOX: const
2016-04-19 20:06:11 +02:00
mgerhardy
eaccfe1c8d
POLYVOX: removed more unused stuff
2016-04-19 20:02:56 +02:00
mgerhardy
6c65cb1802
POLYVOX: removed more unused stuff
2016-04-19 20:56:57 +02:00
mgerhardy
eed4649d31
POLYVOX: removed AmbientOcclusionCalculator class - not useful for us
2016-04-19 20:54:33 +02:00
mgerhardy
360e38bcab
CORE: more glm headers
2016-04-19 20:54:10 +02:00
mgerhardy
2b5d688cf5
CUBIQUITY: glm conversion - removed cubiquity and only keep polyvox
2016-04-19 20:49:53 +02:00
Martin Gerhardy
1c98405046
LIBS: moved out of src - and into contrib
2016-04-19 20:24:29 +02:00
Martin Gerhardy
24210bc759
VOXEL: enable warning, we now have full controll over polyvox source
2016-04-19 20:21:46 +02:00
Martin Gerhardy
a571f6d8ef
CMAKE: this shit sucks - cmake doesn't allow to to do this on interface libs
2016-04-19 20:21:25 +02:00
mgerhardy
2594f8cbd2
CMAKE: fixed linker language error for sqlite3 (for whatever reason)
2016-04-19 20:11:07 +02:00
mgerhardy
740491d45c
CMAKE: make lib include paths public to dependencies
2016-04-19 20:10:24 +02:00
mgerhardy
75dc76b33d
SHAPETOOL: added cave parameters to world parameter window
2016-04-19 20:00:16 +02:00
Martin Gerhardy
8a79102c4d
CORE: don't write to the format buffer if the assert doesn't trigger
2016-04-19 20:44:58 +02:00
Martin Gerhardy
16aefafebd
VIDEO: set vsync after glcontext is created
2016-04-19 20:35:07 +02:00
Martin Gerhardy
ffba36a531
VOXEL: fixed valgrind warning about unitialized variable
2016-04-19 20:32:23 +02:00
Martin Gerhardy
3a44006bff
VIDEO: moved vsync setting into WindowedApp class
2016-04-19 20:32:05 +02:00
Martin Gerhardy
e3585131d5
MAKEFILE: run target - runfast and debugrunfast
2016-04-19 20:18:28 +02:00
Martin Gerhardy
5f7b7fab4d
VOXEL: added cvar voxel-plainterrain for faster terrain generation
...
start with ./shapetool -set voxel-plainterrain true
2016-04-19 20:07:01 +02:00
Martin Gerhardy
35275d78fa
VIDEO: use GL_REPEAT - but visual errors => lev
2016-04-19 20:07:01 +02:00
Martin Gerhardy
74ba872baa
CMAKE: print warning if we use the bundled lib
2016-04-19 20:07:01 +02:00
Martin Gerhardy
520fbe24f5
LIBS: added glm
2016-04-19 20:07:01 +02:00
Martin Gerhardy
cd3ebfcfdd
LIBS: zlib and sdl2 are now taken from local install
2016-04-19 20:07:01 +02:00
Martin Gerhardy
ae518cf433
CMAKE: use local installed sqlite3 if found
2016-04-19 20:07:01 +02:00
Martin Gerhardy
99fafd6a52
CMAKE: introduced engine_add_library macro which will serve to find local installed libs and bundled ones
...
this allows us to do the right thing (tm) on linux (using local installed headers) and doing the wrong thing on any
other nonsense platform (like msvc toolchain) - use bundled libs
2016-04-19 20:07:01 +02:00