]> git.localhorst.tv Git - blank.git/log
blank.git
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

9 years agoget world seed from command line arguments
Daniel Karbach [Thu, 19 Mar 2015 09:44:44 +0000 (10:44 +0100)]
get world seed from command line arguments

9 years agoadd some light blocks to generated surfaces
Daniel Karbach [Wed, 18 Mar 2015 18:48:58 +0000 (19:48 +0100)]
add some light blocks to generated surfaces

9 years agoadded distance fog
Daniel Karbach [Wed, 18 Mar 2015 10:26:38 +0000 (11:26 +0100)]
added distance fog

9 years agoupdated description and TODO list
Daniel Karbach [Wed, 18 Mar 2015 07:56:44 +0000 (08:56 +0100)]
updated description and TODO list

9 years agobegun block lighting implementation
Daniel Karbach [Tue, 17 Mar 2015 23:22:16 +0000 (00:22 +0100)]
begun block lighting implementation

9 years agomade chunks aware of their neighbors
Daniel Karbach [Tue, 17 Mar 2015 17:49:21 +0000 (18:49 +0100)]
made chunks aware of their neighbors

sort of

9 years agonormalize worley noise values to (-1,1)
Daniel Karbach [Tue, 17 Mar 2015 16:19:55 +0000 (17:19 +0100)]
normalize worley noise values to (-1,1)

9 years agorough (untested) implementation of Worley noise
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

9 years agoadded a little TODO list
Daniel Karbach [Mon, 16 Mar 2015 19:17:16 +0000 (20:17 +0100)]
added a little TODO list

tbc

9 years agorandom walk test controller
Daniel Karbach [Mon, 16 Mar 2015 17:28:34 +0000 (18:28 +0100)]
random walk test controller

9 years agodocumented controls
Daniel Karbach [Mon, 16 Mar 2015 13:28:38 +0000 (14:28 +0100)]
documented controls

9 years agodrawable entity with angular velocity
Daniel Karbach [Sun, 15 Mar 2015 21:41:24 +0000 (22:41 +0100)]
drawable entity with angular velocity

9 years agoadd missing breaks in input handler
Daniel Karbach [Fri, 13 Mar 2015 20:48:49 +0000 (21:48 +0100)]
add missing breaks in input handler

9 years agofixed oriented block occlusion check
Daniel Karbach [Fri, 13 Mar 2015 20:10:43 +0000 (21:10 +0100)]
fixed oriented block occlusion check

9 years agofix error in border block calculation
Daniel Karbach [Fri, 13 Mar 2015 17:55:03 +0000 (18:55 +0100)]
fix error in border block calculation

9 years agooptimize chunk intersection tests a little
Daniel Karbach [Fri, 13 Mar 2015 17:45:20 +0000 (18:45 +0100)]
optimize chunk intersection tests a little

9 years agoprint block info on keypress
Daniel Karbach [Fri, 13 Mar 2015 16:48:39 +0000 (17:48 +0100)]
print block info on keypress

9 years agofix normal generated by chunk intersection test
Daniel Karbach [Thu, 12 Mar 2015 23:16:28 +0000 (00:16 +0100)]
fix normal generated by chunk intersection test

9 years agoallow face/turn selection of placed blocks
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.

9 years agomove human I/O related stuff into separate file
Daniel Karbach [Thu, 12 Mar 2015 22:42:17 +0000 (23:42 +0100)]
move human I/O related stuff into separate file

9 years agosome more user interaction
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

9 years agomodify stair model so cut is along x axis
Daniel Karbach [Thu, 12 Mar 2015 20:36:55 +0000 (21:36 +0100)]
modify stair model so cut is along x axis

9 years agouse precalculated matrices for block orientation
Daniel Karbach [Thu, 12 Mar 2015 20:05:45 +0000 (21:05 +0100)]
use precalculated matrices for block orientation

9 years agoorientable blocks
Daniel Karbach [Thu, 12 Mar 2015 18:50:09 +0000 (19:50 +0100)]
orientable blocks

9 years agodon't add obstructed blocks to meshes
Daniel Karbach [Wed, 11 Mar 2015 20:43:52 +0000 (21:43 +0100)]
don't add obstructed blocks to meshes

9 years agosave a little memory
Daniel Karbach [Wed, 11 Mar 2015 19:37:30 +0000 (20:37 +0100)]
save a little memory

9 years agodevirtualize shape and outline calls
Daniel Karbach [Wed, 11 Mar 2015 19:02:28 +0000 (20:02 +0100)]
devirtualize shape and outline calls

9 years agorecycle chunks flagged for deletion
Daniel Karbach [Wed, 11 Mar 2015 17:36:13 +0000 (18:36 +0100)]
recycle chunks flagged for deletion

9 years agosplit chunk loader from world
Daniel Karbach [Wed, 11 Mar 2015 17:07:06 +0000 (18:07 +0100)]
split chunk loader from world

9 years agominor optimization of noise generator
Daniel Karbach [Wed, 11 Mar 2015 16:44:23 +0000 (17:44 +0100)]
minor optimization of noise generator

9 years agocontrol (some) application parameters via cmdline
Daniel Karbach [Wed, 11 Mar 2015 13:50:10 +0000 (14:50 +0100)]
control (some) application parameters via cmdline

9 years agoadd building notes
Daniel Karbach [Wed, 11 Mar 2015 12:45:18 +0000 (13:45 +0100)]
add building notes

9 years agoincreased convenience in build process
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

9 years agobuild both release and debug at the same time
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]

9 years agouse one vao per model
Daniel Karbach [Tue, 10 Mar 2015 19:46:12 +0000 (20:46 +0100)]
use one vao per model

9 years agoseparate file for world generation
Daniel Karbach [Tue, 10 Mar 2015 17:40:06 +0000 (18:40 +0100)]
separate file for world generation

9 years agodecrease block id size
Daniel Karbach [Tue, 10 Mar 2015 17:39:05 +0000 (18:39 +0100)]
decrease block id size

9 years agouse indices for model rendering
Daniel Karbach [Mon, 9 Mar 2015 23:11:21 +0000 (00:11 +0100)]
use indices for model rendering

9 years agostore block type as ID rather than pointer
Daniel Karbach [Mon, 9 Mar 2015 20:54:59 +0000 (21:54 +0100)]
store block type as ID rather than pointer

9 years agosome cleanup
Daniel Karbach [Mon, 9 Mar 2015 20:30:32 +0000 (21:30 +0100)]
some cleanup

9 years agolimit chunks allocated/freed per frame
Daniel Karbach [Mon, 9 Mar 2015 18:53:06 +0000 (19:53 +0100)]
limit chunks allocated/freed per frame

9 years agogenerate and unload chunks on player move
Daniel Karbach [Mon, 9 Mar 2015 17:28:20 +0000 (18:28 +0100)]
generate and unload chunks on player move

slow as hell

9 years agodon't render chunk that are outside clip space
Daniel Karbach [Mon, 9 Mar 2015 16:42:41 +0000 (17:42 +0100)]
don't render chunk that are outside clip space

9 years agouse player-relative coordinates for rendering
Daniel Karbach [Mon, 9 Mar 2015 07:22:47 +0000 (08:22 +0100)]
use player-relative coordinates for rendering

9 years agosplit entity from controller
Daniel Karbach [Sun, 8 Mar 2015 23:24:24 +0000 (00:24 +0100)]
split entity from controller

9 years agoadded glm IO functions
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)

9 years agosplit world file
Daniel Karbach [Sun, 8 Mar 2015 21:52:01 +0000 (22:52 +0100)]
split world file

9 years agolimit number of chunks generated per frame
Daniel Karbach [Sun, 8 Mar 2015 21:29:00 +0000 (22:29 +0100)]
limit number of chunks generated per frame

9 years agomove controller from camera to world
Daniel Karbach [Sun, 8 Mar 2015 18:45:59 +0000 (19:45 +0100)]
move controller from camera to world

9 years agofirst attempt at world generation
Daniel Karbach [Sun, 8 Mar 2015 15:49:52 +0000 (16:49 +0100)]
first attempt at world generation

9 years agomove HUD block to a better position
Daniel Karbach [Sun, 8 Mar 2015 11:07:55 +0000 (12:07 +0100)]
move HUD block to a better position

9 years agogrow outline a bit to have it more visible
Daniel Karbach [Sun, 8 Mar 2015 10:50:54 +0000 (11:50 +0100)]
grow outline a bit to have it more visible

9 years agoprepare block models for rotation
Daniel Karbach [Sun, 8 Mar 2015 10:50:35 +0000 (11:50 +0100)]
prepare block models for rotation

9 years agoadd null shape for void blocks
Daniel Karbach [Sun, 8 Mar 2015 10:33:31 +0000 (11:33 +0100)]
add null shape for void blocks

9 years agostair shape
Daniel Karbach [Sun, 8 Mar 2015 10:11:17 +0000 (11:11 +0100)]
stair shape

9 years agosimple HUD
Daniel Karbach [Sat, 7 Mar 2015 18:13:00 +0000 (19:13 +0100)]
simple HUD

and the next "finally": a crosshair! :)
Also, the block type indicator is quite handy.
Can't compete with the crosshair of course, despite its static opaque color.

9 years agointroduce space and shift for up and down :)
Daniel Karbach [Fri, 6 Mar 2015 16:34:21 +0000 (17:34 +0100)]
introduce space and shift for up and down :)

Finally! q and e were so annoying.
I may eventually remove or reassign them to something else.
Maybe roll or menus or nothing at all or whatever.
Point is: don't get used to it (until I someday implement configuration).
You have been warned.

PS: Yeah, like anyone but me reads this anyway :D
    so watch out, future me!

PPS: today I enjoyed reading lengthy commit messages from two years past
     me, so go figure ^^

PPPS: I can't believe I amended this commit 4 times
      ...and only for its message

9 years agoabstract block shape
Daniel Karbach [Fri, 6 Mar 2015 16:14:56 +0000 (17:14 +0100)]
abstract block shape

9 years agoseparate build directory for intermediates
Daniel Karbach [Thu, 5 Mar 2015 14:27:42 +0000 (15:27 +0100)]
separate build directory for intermediates

9 years agomove outline definition to block type
Daniel Karbach [Wed, 4 Mar 2015 17:22:18 +0000 (18:22 +0100)]
move outline definition to block type

9 years agoextract shader program from application
Daniel Karbach [Wed, 4 Mar 2015 17:06:21 +0000 (18:06 +0100)]
extract shader program from application

also switch to directional lighting

9 years agoworld class for multiple chunks
Daniel Karbach [Tue, 3 Mar 2015 17:42:16 +0000 (18:42 +0100)]
world class for multiple chunks

9 years agoplace and remove blocks via mouse
Daniel Karbach [Tue, 24 Feb 2015 07:47:09 +0000 (08:47 +0100)]
place and remove blocks via mouse

9 years agoremove unused (explicit) destructors
Daniel Karbach [Mon, 23 Feb 2015 21:22:42 +0000 (22:22 +0100)]
remove unused (explicit) destructors

9 years agooutline pointed-at block
Daniel Karbach [Mon, 23 Feb 2015 21:06:07 +0000 (22:06 +0100)]
outline pointed-at block

9 years agobasic aiming
Daniel Karbach [Mon, 23 Feb 2015 17:18:01 +0000 (18:18 +0100)]
basic aiming

9 years agoblock type colors
Daniel Karbach [Fri, 20 Feb 2015 07:21:05 +0000 (08:21 +0100)]
block type colors

9 years agovery basic chunk model
Daniel Karbach [Thu, 19 Feb 2015 19:34:09 +0000 (20:34 +0100)]
very basic chunk model

9 years agomake forward key actually go forward ^^
Daniel Karbach [Sun, 15 Feb 2015 10:48:30 +0000 (11:48 +0100)]
make forward key actually go forward ^^

9 years agoadd some light and color
Daniel Karbach [Fri, 13 Feb 2015 12:47:22 +0000 (13:47 +0100)]
add some light and color

9 years agoenable backface culling
Daniel Karbach [Fri, 13 Feb 2015 09:04:58 +0000 (10:04 +0100)]
enable backface culling

9 years agorename model -> controller
Daniel Karbach [Fri, 13 Feb 2015 09:04:39 +0000 (10:04 +0100)]
rename model -> controller

9 years agolousy implementation of camera movement
Daniel Karbach [Thu, 12 Feb 2015 23:04:02 +0000 (00:04 +0100)]
lousy implementation of camera movement

to get some perspective

9 years agomouse controlled camera pitch/yaw
Daniel Karbach [Thu, 12 Feb 2015 21:13:25 +0000 (22:13 +0100)]
mouse controlled camera pitch/yaw

9 years agobegun extracting model class
Daniel Karbach [Thu, 12 Feb 2015 16:39:44 +0000 (17:39 +0100)]
begun extracting model class

9 years agoadd SDL2_image library
Daniel Karbach [Thu, 12 Feb 2015 12:51:51 +0000 (13:51 +0100)]
add SDL2_image library

9 years agoextracted projection and viewport to camera class
Daniel Karbach [Thu, 12 Feb 2015 11:37:21 +0000 (12:37 +0100)]
extracted projection and viewport to camera class

9 years agomoved some stuff around
Daniel Karbach [Wed, 11 Feb 2015 23:07:49 +0000 (00:07 +0100)]
moved some stuff around

9 years agoinitial testing
Daniel Karbach [Wed, 11 Feb 2015 20:01:35 +0000 (21:01 +0100)]
initial testing