]>
git.localhorst.tv Git - blank.git/log
Daniel Karbach [Thu, 23 Jul 2015 11:42:28 +0000 (13:42 +0200)]
collect timing information
Daniel Karbach [Thu, 23 Jul 2015 08:34:49 +0000 (10:34 +0200)]
fancy crosshair
don't use on .5 gray ;)
Daniel Karbach [Thu, 23 Jul 2015 07:21:00 +0000 (09:21 +0200)]
propagate light into blocking blocks
this way semi-filled blocks like slabs don't blacken surfaces
behind them, but they will be bright when part of a 1 thick wall
Daniel Karbach [Wed, 22 Jul 2015 15:32:55 +0000 (17:32 +0200)]
made chunk neighbor linkage a little safer
Daniel Karbach [Wed, 22 Jul 2015 10:28:25 +0000 (12:28 +0200)]
set and display block type labels
Daniel Karbach [Tue, 21 Jul 2015 07:00:40 +0000 (09:00 +0200)]
implemented font redering
Daniel Karbach [Fri, 26 Jun 2015 13:10:10 +0000 (15:10 +0200)]
better edge light propagation on link
Daniel Karbach [Fri, 26 Jun 2015 10:39:31 +0000 (12:39 +0200)]
entity/world collision response
Daniel Karbach [Thu, 25 Jun 2015 15:44:41 +0000 (17:44 +0200)]
collect collisions for each entity
Daniel Karbach [Thu, 25 Jun 2015 13:26:58 +0000 (15:26 +0200)]
figure out depth and normal in box/box test
Daniel Karbach [Wed, 24 Jun 2015 14:26:44 +0000 (16:26 +0200)]
test entities for world collision
useless and slow as hell, but hey, it's a start ^^
Daniel Karbach [Tue, 23 Jun 2015 15:41:55 +0000 (17:41 +0200)]
plug box intersection into shapes
Daniel Karbach [Tue, 23 Jun 2015 12:54:00 +0000 (14:54 +0200)]
box/box intersection test
only boolean test for now
Daniel Karbach [Tue, 23 Jun 2015 08:26:33 +0000 (10:26 +0200)]
use a timer to limit chunk generation
this should reduce load when updating more than once per frame
which is planned
someday
Daniel Karbach [Wed, 17 Jun 2015 07:16:23 +0000 (09:16 +0200)]
added build instructions for testing
Daniel Karbach [Mon, 15 Jun 2015 10:30:34 +0000 (12:30 +0200)]
some cleaning :)
Daniel Karbach [Mon, 15 Jun 2015 08:13:25 +0000 (10:13 +0200)]
fixed light propagation after obstacle removal
regression from
4485397d
careful with the yoda conditions!
Daniel Karbach [Fri, 12 Jun 2015 13:46:46 +0000 (15:46 +0200)]
more chunk tests
Daniel Karbach [Fri, 12 Jun 2015 10:39:47 +0000 (12:39 +0200)]
weird return value is weird
but I can totally explain that...
Daniel Karbach [Fri, 12 Jun 2015 10:32:03 +0000 (12:32 +0200)]
unit test for interval timer
Daniel Karbach [Thu, 11 Jun 2015 15:46:07 +0000 (17:46 +0200)]
some tests for Chunk
Daniel Karbach [Thu, 11 Jun 2015 13:29:35 +0000 (15:29 +0200)]
fix ray/obb intersection test
again, unit tests \o/
also: careful with the signs ;)
Daniel Karbach [Thu, 11 Jun 2015 12:34:41 +0000 (14:34 +0200)]
fix faceset unset
unit tests. oh yeah
Daniel Karbach [Wed, 10 Jun 2015 14:57:25 +0000 (16:57 +0200)]
some code reorganization
Daniel Karbach [Tue, 2 Jun 2015 13:30:17 +0000 (15:30 +0200)]
minor optimizations in chunk
Daniel Karbach [Tue, 2 Jun 2015 12:30:34 +0000 (14:30 +0200)]
block place/remove timers
Daniel Karbach [Mon, 1 Jun 2015 15:08:45 +0000 (17:08 +0200)]
slight lighting improvement
using a combination of interpolation and occlusion
Daniel Karbach [Mon, 1 Jun 2015 08:04:30 +0000 (10:04 +0200)]
be smart about other stuff ^^
Daniel Karbach [Fri, 29 May 2015 13:39:02 +0000 (15:39 +0200)]
be smart about numbers
Daniel Karbach [Fri, 29 May 2015 13:16:46 +0000 (15:16 +0200)]
noexcept all the things
Daniel Karbach [Fri, 29 May 2015 11:04:38 +0000 (13:04 +0200)]
reorganized block tables
Daniel Karbach [Wed, 27 May 2015 16:50:52 +0000 (18:50 +0200)]
added ability to get seperate information about block face obstruction
Daniel Karbach [Wed, 27 May 2015 15:22:27 +0000 (17:22 +0200)]
fix dec/rad error in camera FOV
Daniel Karbach [Wed, 27 May 2015 14:28:43 +0000 (16:28 +0200)]
remove unneccessary buffer binds before draw calls
Daniel Karbach [Tue, 26 May 2015 16:44:24 +0000 (18:44 +0200)]
don't push block normals to GPU
Daniel Karbach [Fri, 22 May 2015 15:15:07 +0000 (17:15 +0200)]
simplified block face stuff
Daniel Karbach [Thu, 21 May 2015 16:07:28 +0000 (18:07 +0200)]
simplified ray/aabb intersection code
it's still wrong, but at least it not as long now :)
Daniel Karbach [Wed, 20 May 2015 16:46:38 +0000 (18:46 +0200)]
remove move branching from interface
Daniel Karbach [Wed, 20 May 2015 16:46:13 +0000 (18:46 +0200)]
better chunk memory management
Daniel Karbach [Wed, 25 Mar 2015 17:43:53 +0000 (18:43 +0100)]
optimized block lookup a little
Daniel Karbach [Wed, 25 Mar 2015 17:12:41 +0000 (18:12 +0100)]
update light levels from border on neighbor change
Daniel Karbach [Tue, 24 Mar 2015 16:45:29 +0000 (17:45 +0100)]
trying to fix the initial aiming issue
not successful
Daniel Karbach [Mon, 23 Mar 2015 22:28:41 +0000 (23:28 +0100)]
use 3 octaves for solid generation noise
also, that other perlin implementation sucked noodles
Daniel Karbach [Mon, 23 Mar 2015 19:49:20 +0000 (20:49 +0100)]
use light levels for shading of blocks
Daniel Karbach [Mon, 23 Mar 2015 18:47:59 +0000 (19:47 +0100)]
fix chunk neighbors
there was something seriously wrong with light propagation
now I know why ^^
don't get me wrong, it's still borky, but at least not irrational
Daniel Karbach [Mon, 23 Mar 2015 16:33:02 +0000 (17:33 +0100)]
added Galois LFSR PRNG
not in use yet
beware of seed with many zeros
especially 0, which will only ever produce zeroes
Daniel Karbach [Mon, 23 Mar 2015 08:24:00 +0000 (09:24 +0100)]
some task annotations
Daniel Karbach [Sun, 22 Mar 2015 15:52:19 +0000 (16:52 +0100)]
add chunk inspect button (C)
Daniel Karbach [Sun, 22 Mar 2015 15:44:15 +0000 (16:44 +0100)]
fixed light propagation
Daniel Karbach [Thu, 19 Mar 2015 13:10:36 +0000 (14:10 +0100)]
extracted configuration of various parts
Daniel Karbach [Thu, 19 Mar 2015 11:08:04 +0000 (12:08 +0100)]
use same load distance for initial and movement
Daniel Karbach [Thu, 19 Mar 2015 09:44:44 +0000 (10:44 +0100)]
get world seed from command line arguments
Daniel Karbach [Wed, 18 Mar 2015 18:48:58 +0000 (19:48 +0100)]
add some light blocks to generated surfaces
Daniel Karbach [Wed, 18 Mar 2015 10:26:38 +0000 (11:26 +0100)]
added distance fog
Daniel Karbach [Wed, 18 Mar 2015 07:56:44 +0000 (08:56 +0100)]
updated description and TODO list
Daniel Karbach [Tue, 17 Mar 2015 23:22:16 +0000 (00:22 +0100)]
begun block lighting implementation
Daniel Karbach [Tue, 17 Mar 2015 17:49:21 +0000 (18:49 +0100)]
made chunks aware of their neighbors
sort of
Daniel Karbach [Tue, 17 Mar 2015 16:19:55 +0000 (17:19 +0100)]
normalize worley noise values to (-1,1)
Daniel Karbach [Tue, 17 Mar 2015 15:38:37 +0000 (16:38 +0100)]
rough (untested) implementation of Worley noise
prng and distance formula may need some tweaking
Daniel Karbach [Mon, 16 Mar 2015 19:17:16 +0000 (20:17 +0100)]
added a little TODO list
tbc
Daniel Karbach [Mon, 16 Mar 2015 17:28:34 +0000 (18:28 +0100)]
random walk test controller
Daniel Karbach [Mon, 16 Mar 2015 13:28:38 +0000 (14:28 +0100)]
documented controls
Daniel Karbach [Sun, 15 Mar 2015 21:41:24 +0000 (22:41 +0100)]
drawable entity with angular velocity
Daniel Karbach [Fri, 13 Mar 2015 20:48:49 +0000 (21:48 +0100)]
add missing breaks in input handler
Daniel Karbach [Fri, 13 Mar 2015 20:10:43 +0000 (21:10 +0100)]
fixed oriented block occlusion check
Daniel Karbach [Fri, 13 Mar 2015 17:55:03 +0000 (18:55 +0100)]
fix error in border block calculation
Daniel Karbach [Fri, 13 Mar 2015 17:45:20 +0000 (18:45 +0100)]
optimize chunk intersection tests a little
Daniel Karbach [Fri, 13 Mar 2015 16:48:39 +0000 (17:48 +0100)]
print block info on keypress
Daniel Karbach [Thu, 12 Mar 2015 23:16:28 +0000 (00:16 +0100)]
fix normal generated by chunk intersection test
Daniel Karbach [Thu, 12 Mar 2015 23:02:40 +0000 (00:02 +0100)]
allow face/turn selection of placed blocks
Also display oriented block in HUD.
Use Q for face, E for turn.
Told you I'd reassign them ;)
And I'll do it again, no worries.
Daniel Karbach [Thu, 12 Mar 2015 22:42:17 +0000 (23:42 +0100)]
move human I/O related stuff into separate file
Daniel Karbach [Thu, 12 Mar 2015 21:22:00 +0000 (22:22 +0100)]
some more user interaction
* mousewheel for selecting block type
* release mouse on focus loss
Daniel Karbach [Thu, 12 Mar 2015 20:36:55 +0000 (21:36 +0100)]
modify stair model so cut is along x axis
Daniel Karbach [Thu, 12 Mar 2015 20:05:45 +0000 (21:05 +0100)]
use precalculated matrices for block orientation
Daniel Karbach [Thu, 12 Mar 2015 18:50:09 +0000 (19:50 +0100)]
orientable blocks
Daniel Karbach [Wed, 11 Mar 2015 20:43:52 +0000 (21:43 +0100)]
don't add obstructed blocks to meshes
Daniel Karbach [Wed, 11 Mar 2015 19:37:30 +0000 (20:37 +0100)]
save a little memory
Daniel Karbach [Wed, 11 Mar 2015 19:02:28 +0000 (20:02 +0100)]
devirtualize shape and outline calls
Daniel Karbach [Wed, 11 Mar 2015 17:36:13 +0000 (18:36 +0100)]
recycle chunks flagged for deletion
Daniel Karbach [Wed, 11 Mar 2015 17:07:06 +0000 (18:07 +0100)]
split chunk loader from world
Daniel Karbach [Wed, 11 Mar 2015 16:44:23 +0000 (17:44 +0100)]
minor optimization of noise generator
Daniel Karbach [Wed, 11 Mar 2015 13:50:10 +0000 (14:50 +0100)]
control (some) application parameters via cmdline
Daniel Karbach [Wed, 11 Mar 2015 12:45:18 +0000 (13:45 +0100)]
add building notes
Daniel Karbach [Wed, 11 Mar 2015 12:39:16 +0000 (13:39 +0100)]
increased convenience in build process
* make "release" the default target
* add "profile" build
* add shorthand targets for launching, debugging, profiling
Daniel Karbach [Tue, 10 Mar 2015 21:36:07 +0000 (22:36 +0100)]
build both release and debug at the same time
oh wow
don't miss to run make clean before merging this, otherwise
rm build/*.[do]
Daniel Karbach [Tue, 10 Mar 2015 19:46:12 +0000 (20:46 +0100)]
use one vao per model
Daniel Karbach [Tue, 10 Mar 2015 17:40:06 +0000 (18:40 +0100)]
separate file for world generation
Daniel Karbach [Tue, 10 Mar 2015 17:39:05 +0000 (18:39 +0100)]
decrease block id size
Daniel Karbach [Mon, 9 Mar 2015 23:11:21 +0000 (00:11 +0100)]
use indices for model rendering
Daniel Karbach [Mon, 9 Mar 2015 20:54:59 +0000 (21:54 +0100)]
store block type as ID rather than pointer
Daniel Karbach [Mon, 9 Mar 2015 20:30:32 +0000 (21:30 +0100)]
some cleanup
Daniel Karbach [Mon, 9 Mar 2015 18:53:06 +0000 (19:53 +0100)]
limit chunks allocated/freed per frame
Daniel Karbach [Mon, 9 Mar 2015 17:28:20 +0000 (18:28 +0100)]
generate and unload chunks on player move
slow as hell
Daniel Karbach [Mon, 9 Mar 2015 16:42:41 +0000 (17:42 +0100)]
don't render chunk that are outside clip space
Daniel Karbach [Mon, 9 Mar 2015 07:22:47 +0000 (08:22 +0100)]
use player-relative coordinates for rendering
Daniel Karbach [Sun, 8 Mar 2015 23:24:24 +0000 (00:24 +0100)]
split entity from controller
Daniel Karbach [Sun, 8 Mar 2015 22:04:11 +0000 (23:04 +0100)]
added glm IO functions
(not actually used, just for convenient debug printing)
Daniel Karbach [Sun, 8 Mar 2015 21:52:01 +0000 (22:52 +0100)]
split world file
Daniel Karbach [Sun, 8 Mar 2015 21:29:00 +0000 (22:29 +0100)]
limit number of chunks generated per frame
Daniel Karbach [Sun, 8 Mar 2015 18:45:59 +0000 (19:45 +0100)]
move controller from camera to world