]> git.localhorst.tv Git - blank.git/log
blank.git
9 years agosplit chunk redering from world model
Daniel Karbach [Thu, 27 Aug 2015 09:45:20 +0000 (11:45 +0200)]
split chunk redering from world model

first step towards headless

9 years agoexplicit reference for world coordinates
Daniel Karbach [Fri, 21 Aug 2015 07:59:01 +0000 (09:59 +0200)]
explicit reference for world coordinates

9 years agosome outline improvements
Daniel Karbach [Wed, 19 Aug 2015 09:56:29 +0000 (11:56 +0200)]
some outline improvements

9 years agodisplay focused entity in debug overlay
Daniel Karbach [Tue, 18 Aug 2015 14:46:42 +0000 (16:46 +0200)]
display focused entity in debug overlay

9 years agouse collision structures for ray tests
Daniel Karbach [Tue, 18 Aug 2015 11:23:47 +0000 (13:23 +0200)]
use collision structures for ray tests

9 years agocheck for entities under crosshair
Daniel Karbach [Mon, 17 Aug 2015 15:29:38 +0000 (17:29 +0200)]
check for entities under crosshair

also display aim block information in debug overlay, sorry

9 years agofix some inline TODOs
Daniel Karbach [Mon, 17 Aug 2015 09:23:27 +0000 (11:23 +0200)]
fix some inline TODOs

9 years agomake buttons configurable
Daniel Karbach [Fri, 14 Aug 2015 12:16:56 +0000 (14:16 +0200)]
make buttons configurable

9 years agothe sound thing
Daniel Karbach [Fri, 14 Aug 2015 09:39:39 +0000 (11:39 +0200)]
the sound thing

9 years agoshow player orientation in debug overlay
Daniel Karbach [Thu, 13 Aug 2015 16:30:13 +0000 (18:30 +0200)]
show player orientation in debug overlay

9 years agodedicated shader for outlines
Daniel Karbach [Thu, 13 Aug 2015 16:08:22 +0000 (18:08 +0200)]
dedicated shader for outlines

9 years agofix normal in intersection ray/box intersection
Daniel Karbach [Thu, 13 Aug 2015 06:43:15 +0000 (08:43 +0200)]
fix normal in intersection ray/box intersection

was transformed by M which apparently was wrong :)

9 years agoblank screen before doing anything serious
Daniel Karbach [Thu, 13 Aug 2015 14:45:54 +0000 (16:45 +0200)]
blank screen before doing anything serious

9 years agocollect and load textures required by block types
Daniel Karbach [Thu, 13 Aug 2015 12:28:04 +0000 (14:28 +0200)]
collect and load textures required by block types

9 years agoload block types from data file
Daniel Karbach [Wed, 12 Aug 2015 11:46:09 +0000 (13:46 +0200)]
load block types from data file

9 years agoallow multiple meshes per entity
Daniel Karbach [Tue, 11 Aug 2015 13:17:54 +0000 (15:17 +0200)]
allow multiple meshes per entity

organized in a tree with each node haing its local
position/orientation relative to the parent

9 years agocentralize fonts
Daniel Karbach [Tue, 11 Aug 2015 08:18:53 +0000 (10:18 +0200)]
centralize fonts

9 years agoenhanced application state control
Daniel Karbach [Tue, 11 Aug 2015 08:06:11 +0000 (10:06 +0200)]
enhanced application state control

9 years agotry to get every chunk change saved to disk
Daniel Karbach [Mon, 10 Aug 2015 15:35:46 +0000 (17:35 +0200)]
try to get every chunk change saved to disk

9 years agodifferent limits for reading and generating chunks
Daniel Karbach [Mon, 10 Aug 2015 14:48:59 +0000 (16:48 +0200)]
different limits for reading and generating chunks

9 years agosave and load chunk data
Daniel Karbach [Mon, 10 Aug 2015 14:24:21 +0000 (16:24 +0200)]
save and load chunk data

currently running a one chunk per file approach for simplicity

9 years agosave and load world seed
Daniel Karbach [Sun, 9 Aug 2015 18:16:16 +0000 (20:16 +0200)]
save and load world seed

first four bytes of persistence, yay ^^

9 years agofix error in make_dirs and add is_file
Daniel Karbach [Sun, 9 Aug 2015 17:28:12 +0000 (19:28 +0200)]
fix error in make_dirs and add is_file

trailing separator caused make_dir to be called twice with the same
path which caused it to fail the second time

9 years agoconfigurable asset and save path
Daniel Karbach [Sun, 9 Aug 2015 16:26:20 +0000 (18:26 +0200)]
configurable asset and save path

9 years agotextures
Daniel Karbach [Sat, 8 Aug 2015 21:13:45 +0000 (23:13 +0200)]
textures

textures
textures
textures
textures

9 years agocheck line of sight in chase ai
Daniel Karbach [Fri, 7 Aug 2015 14:49:24 +0000 (16:49 +0200)]
check line of sight in chase ai

9 years agospeed up entity rotation a little
Daniel Karbach [Fri, 7 Aug 2015 13:19:55 +0000 (15:19 +0200)]
speed up entity rotation a little

because it's fun

9 years agotvec[234]<int> -> ivec[234]
Daniel Karbach [Fri, 7 Aug 2015 13:17:01 +0000 (15:17 +0200)]
tvec[234]<int> -> ivec[234]

howcome I didn't think of that before? lol

9 years ago(hopefully) cross-platform directory functions
Daniel Karbach [Fri, 7 Aug 2015 13:04:47 +0000 (15:04 +0200)]
(hopefully) cross-platform directory functions

9 years agocorrect usage of quaternions :P
Daniel Karbach [Fri, 7 Aug 2015 11:20:03 +0000 (13:20 +0200)]
correct usage of quaternions :P

9 years agoanother type of entity controller
Daniel Karbach [Thu, 6 Aug 2015 16:41:46 +0000 (18:41 +0200)]
another type of entity controller

just to mix it up

also, I realy have to fix rotation, they're getting all deformed ^^

9 years agosimple (text) progress display for preloader
Daniel Karbach [Thu, 6 Aug 2015 15:20:23 +0000 (17:20 +0200)]
simple (text) progress display for preloader

9 years agosimple preloader
Daniel Karbach [Thu, 6 Aug 2015 10:34:56 +0000 (12:34 +0200)]
simple preloader

9 years agostate management and control
Daniel Karbach [Thu, 6 Aug 2015 09:03:46 +0000 (11:03 +0200)]
state management and control

9 years agorandomly spawn entities around the player
Daniel Karbach [Wed, 5 Aug 2015 16:31:16 +0000 (18:31 +0200)]
randomly spawn entities around the player

and remove those too far away

9 years agomoved entity spawn and control into its own class
Daniel Karbach [Tue, 4 Aug 2015 16:48:19 +0000 (18:48 +0200)]
moved entity spawn and control into its own class

called "Spawner" if that is somehow non-obvious

9 years agomove RandomWalk into new "ai" module
Daniel Karbach [Tue, 4 Aug 2015 16:30:29 +0000 (18:30 +0200)]
move RandomWalk into new "ai" module

9 years agomake entities removable
Daniel Karbach [Tue, 4 Aug 2015 16:29:04 +0000 (18:29 +0200)]
make entities removable

9 years agomove init out of Application class
Daniel Karbach [Tue, 4 Aug 2015 16:12:04 +0000 (18:12 +0200)]
move init out of Application class

9 years agoshow camera position in debug overlay
Daniel Karbach [Mon, 3 Aug 2015 16:40:03 +0000 (18:40 +0200)]
show camera position in debug overlay

9 years agoremove positional frames argument
Daniel Karbach [Mon, 3 Aug 2015 16:24:07 +0000 (18:24 +0200)]
remove positional frames argument

-n now mandatory

9 years ago"streamlined" model/VAO handling
Daniel Karbach [Mon, 3 Aug 2015 15:37:58 +0000 (17:37 +0200)]
"streamlined" model/VAO handling

9 years agosome experiments with sound
Daniel Karbach [Sat, 1 Aug 2015 13:00:07 +0000 (15:00 +0200)]
some experiments with sound

9 years agoalso show peak in frame counter
Daniel Karbach [Fri, 31 Jul 2015 13:32:21 +0000 (15:32 +0200)]
also show peak in frame counter

9 years agoalso post UI messages to graphical output
Daniel Karbach [Tue, 28 Jul 2015 15:40:49 +0000 (17:40 +0200)]
also post UI messages to graphical output

9 years agocombine text handling stuff into a class
Daniel Karbach [Tue, 28 Jul 2015 11:10:59 +0000 (13:10 +0200)]
combine text handling stuff into a class

9 years agomove font color from texture to uniform
Daniel Karbach [Mon, 27 Jul 2015 14:52:42 +0000 (16:52 +0200)]
move font color from texture to uniform

9 years agoreorganize basic rendering functionality
Daniel Karbach [Mon, 27 Jul 2015 11:53:58 +0000 (13:53 +0200)]
reorganize basic rendering functionality

9 years agodisplay frame counter
Daniel Karbach [Thu, 23 Jul 2015 14:25:40 +0000 (16:25 +0200)]
display frame counter

F3 to toggle

9 years agocollect timing information
Daniel Karbach [Thu, 23 Jul 2015 11:42:28 +0000 (13:42 +0200)]
collect timing information

9 years agofancy crosshair
Daniel Karbach [Thu, 23 Jul 2015 08:34:49 +0000 (10:34 +0200)]
fancy crosshair

don't use on .5 gray ;)

9 years agopropagate light into blocking blocks
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

9 years agomade chunk neighbor linkage a little safer
Daniel Karbach [Wed, 22 Jul 2015 15:32:55 +0000 (17:32 +0200)]
made chunk neighbor linkage a little safer

9 years agoset and display block type labels
Daniel Karbach [Wed, 22 Jul 2015 10:28:25 +0000 (12:28 +0200)]
set and display block type labels

9 years agoimplemented font redering
Daniel Karbach [Tue, 21 Jul 2015 07:00:40 +0000 (09:00 +0200)]
implemented font redering

9 years agobetter edge light propagation on link
Daniel Karbach [Fri, 26 Jun 2015 13:10:10 +0000 (15:10 +0200)]
better edge light propagation on link

9 years agoentity/world collision response
Daniel Karbach [Fri, 26 Jun 2015 10:39:31 +0000 (12:39 +0200)]
entity/world collision response

9 years agocollect collisions for each entity
Daniel Karbach [Thu, 25 Jun 2015 15:44:41 +0000 (17:44 +0200)]
collect collisions for each entity

9 years agofigure out depth and normal in box/box test
Daniel Karbach [Thu, 25 Jun 2015 13:26:58 +0000 (15:26 +0200)]
figure out depth and normal in box/box test

9 years agotest entities for world collision
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 ^^

9 years agoplug box intersection into shapes
Daniel Karbach [Tue, 23 Jun 2015 15:41:55 +0000 (17:41 +0200)]
plug box intersection into shapes

9 years agobox/box intersection test
Daniel Karbach [Tue, 23 Jun 2015 12:54:00 +0000 (14:54 +0200)]
box/box intersection test

only boolean test for now

9 years agouse a timer to limit chunk generation
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

9 years agoadded build instructions for testing
Daniel Karbach [Wed, 17 Jun 2015 07:16:23 +0000 (09:16 +0200)]
added build instructions for testing

9 years agosome cleaning :)
Daniel Karbach [Mon, 15 Jun 2015 10:30:34 +0000 (12:30 +0200)]
some cleaning :)

9 years agofixed light propagation after obstacle removal
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!

9 years agomore chunk tests
Daniel Karbach [Fri, 12 Jun 2015 13:46:46 +0000 (15:46 +0200)]
more chunk tests

9 years agoweird return value is weird
Daniel Karbach [Fri, 12 Jun 2015 10:39:47 +0000 (12:39 +0200)]
weird return value is weird

but I can totally explain that...

9 years agounit test for interval timer
Daniel Karbach [Fri, 12 Jun 2015 10:32:03 +0000 (12:32 +0200)]
unit test for interval timer

9 years agosome tests for Chunk
Daniel Karbach [Thu, 11 Jun 2015 15:46:07 +0000 (17:46 +0200)]
some tests for Chunk

9 years agofix ray/obb intersection test
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 ;)

9 years agofix faceset unset
Daniel Karbach [Thu, 11 Jun 2015 12:34:41 +0000 (14:34 +0200)]
fix faceset unset

unit tests. oh yeah

9 years agosome code reorganization
Daniel Karbach [Wed, 10 Jun 2015 14:57:25 +0000 (16:57 +0200)]
some code reorganization

9 years agominor optimizations in chunk
Daniel Karbach [Tue, 2 Jun 2015 13:30:17 +0000 (15:30 +0200)]
minor optimizations in chunk

9 years agoblock place/remove timers
Daniel Karbach [Tue, 2 Jun 2015 12:30:34 +0000 (14:30 +0200)]
block place/remove timers

9 years agoslight lighting improvement
Daniel Karbach [Mon, 1 Jun 2015 15:08:45 +0000 (17:08 +0200)]
slight lighting improvement

using a combination of interpolation and occlusion

9 years agobe smart about other stuff ^^
Daniel Karbach [Mon, 1 Jun 2015 08:04:30 +0000 (10:04 +0200)]
be smart about other stuff ^^

9 years agobe smart about numbers
Daniel Karbach [Fri, 29 May 2015 13:39:02 +0000 (15:39 +0200)]
be smart about numbers

9 years agonoexcept all the things
Daniel Karbach [Fri, 29 May 2015 13:16:46 +0000 (15:16 +0200)]
noexcept all the things

9 years agoreorganized block tables
Daniel Karbach [Fri, 29 May 2015 11:04:38 +0000 (13:04 +0200)]
reorganized block tables

9 years agoadded ability to get seperate information about block face obstruction
Daniel Karbach [Wed, 27 May 2015 16:50:52 +0000 (18:50 +0200)]
added ability to get seperate information about block face obstruction

9 years agofix dec/rad error in camera FOV
Daniel Karbach [Wed, 27 May 2015 15:22:27 +0000 (17:22 +0200)]
fix dec/rad error in camera FOV

9 years agoremove unneccessary buffer binds before draw calls
Daniel Karbach [Wed, 27 May 2015 14:28:43 +0000 (16:28 +0200)]
remove unneccessary buffer binds before draw calls

9 years agodon't push block normals to GPU
Daniel Karbach [Tue, 26 May 2015 16:44:24 +0000 (18:44 +0200)]
don't push block normals to GPU

9 years agosimplified block face stuff
Daniel Karbach [Fri, 22 May 2015 15:15:07 +0000 (17:15 +0200)]
simplified block face stuff

9 years agosimplified ray/aabb intersection code
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 :)

9 years agoremove move branching from interface
Daniel Karbach [Wed, 20 May 2015 16:46:38 +0000 (18:46 +0200)]
remove move branching from interface

9 years agobetter chunk memory management
Daniel Karbach [Wed, 20 May 2015 16:46:13 +0000 (18:46 +0200)]
better chunk memory management

9 years agooptimized block lookup a little
Daniel Karbach [Wed, 25 Mar 2015 17:43:53 +0000 (18:43 +0100)]
optimized block lookup a little

9 years agoupdate light levels from border on neighbor change
Daniel Karbach [Wed, 25 Mar 2015 17:12:41 +0000 (18:12 +0100)]
update light levels from border on neighbor change

9 years agotrying to fix the initial aiming issue
Daniel Karbach [Tue, 24 Mar 2015 16:45:29 +0000 (17:45 +0100)]
trying to fix the initial aiming issue

not successful

9 years agouse 3 octaves for solid generation noise
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

9 years agouse light levels for shading of blocks
Daniel Karbach [Mon, 23 Mar 2015 19:49:20 +0000 (20:49 +0100)]
use light levels for shading of blocks

9 years agofix chunk neighbors
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

9 years agoadded Galois LFSR PRNG
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

9 years agosome task annotations
Daniel Karbach [Mon, 23 Mar 2015 08:24:00 +0000 (09:24 +0100)]
some task annotations

9 years agoadd chunk inspect button (C)
Daniel Karbach [Sun, 22 Mar 2015 15:52:19 +0000 (16:52 +0100)]
add chunk inspect button (C)

9 years agofixed light propagation
Daniel Karbach [Sun, 22 Mar 2015 15:44:15 +0000 (16:44 +0100)]
fixed light propagation

9 years agoextracted configuration of various parts
Daniel Karbach [Thu, 19 Mar 2015 13:10:36 +0000 (14:10 +0100)]
extracted configuration of various parts

9 years agouse same load distance for initial and movement
Daniel Karbach [Thu, 19 Mar 2015 11:08:04 +0000 (12:08 +0100)]
use same load distance for initial and movement