Commit Graph

11519 Commits (3da520ce3f671993a9bd928825f7e8dbe209a547)

Author SHA1 Message Date
Martin Gerhardy a85de728d7 NOISE: no need to maintain maxAmplitude 2016-04-22 20:53:52 +02:00
Martin Gerhardy 3425b736bc VOXEL: don't leak _volumeData in World class 2016-04-22 20:53:52 +02:00
Martin Gerhardy 1698fc6f10 VOXEL: reduced code duplication 2016-04-22 20:53:52 +02:00
Martin Gerhardy 30c91d7242 VOXEL: removed unused stuff 2016-04-22 20:53:52 +02:00
Martin Gerhardy b3b69fbae6 VOXEL: extracted the filename creation of chunk storage into a method 2016-04-22 20:53:52 +02:00
anthraxx ff7dd9d991 MAKE: adding tags target to create ctags file 2016-04-22 20:52:34 +02:00
anthraxx 19f1c667e6 COLOR: using 2 octaves for the color noise 2016-04-22 20:24:42 +02:00
anthraxx d353a69b24 remove max amplitude scale from noise generation 2016-04-22 20:23:54 +02:00
anthraxx 7dd9a29aab MAKE: adding local config clean target 2016-04-22 20:33:15 +02:00
Martin Gerhardy 672caacd40 VOXEL: removed DefaultIsQuadNeeded
we already implement this functionality in World.cpp::IsQuadNeeded
2016-04-22 20:27:39 +02:00
Martin Gerhardy e21856eae6 UI: map modifiers to tb::EVENT_TYPE_CONTEXT_MENU 2016-04-22 20:22:13 +02:00
Martin Gerhardy e868d09b9a VOXEL: more template removal in Mesh class 2016-04-22 20:03:16 +02:00
mgerhardy 5acc2ad509 VOXEL: a few inlines 2016-04-22 20:53:03 +02:00
mgerhardy 3a912843d2 VOXEL: a lot less templates again 2016-04-22 20:53:03 +02:00
mgerhardy dc4808defd VOXEL: removed templates from RawVolume 2016-04-22 20:53:03 +02:00
mgerhardy 1e9768349f VOXEL: removed using for RawVolume 2016-04-22 20:53:03 +02:00
mgerhardy 5fc4f68f99 VOXEL: removed WorldData.h 2016-04-22 20:53:03 +02:00
mgerhardy 0816912cab VOXEL: directly use PagedVolume 2016-04-22 20:53:03 +02:00
mgerhardy 45ef53c800 VOXEL: removed more templates (PagedVolume) 2016-04-22 20:53:03 +02:00
mgerhardy b85d4f98b4 VOXEL: removed more templates 2016-04-22 20:53:03 +02:00
mgerhardy 2fb7878778 VOXEL: removed more templates 2016-04-22 20:53:03 +02:00
mgerhardy 17164674c9 VOXEL: removed some template parameters
this also removes the density from the Voxel struct - which means, we don't have the
per-voxel-based-AO anymore - but this is useless anyway, as it must be per vertex
2016-04-22 20:53:02 +02:00
mgerhardy ea7ad99016 VOXEL: removed a lot of unused polyvox headers 2016-04-22 20:43:38 +02:00
Martin Gerhardy 6fddbf73bc Revert "VIDEO: allow to init whatever lod amount we configure"
This reverts commit 8041e464f8f5dca12546e9b3954832811c45e26d.

for whatever reason this leads to segfaults
2016-04-22 20:38:51 +02:00
Martin Gerhardy 60f68b7b8b CMAKE: fix after moving files 2016-04-21 20:24:36 +02:00
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