aboutsummaryrefslogtreecommitdiff
path: root/src/camera.cpp
AgeCommit message (Collapse)Author
2011-11-29Clean InventoryItem interface a bitPerttu Ahola
2011-11-29GameDef compilesPerttu Ahola
2011-11-29Create framework for getting rid of global definitions of ↵Perttu Ahola
node/tool/item/whatever types
2011-11-29Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuffPerttu Ahola
2011-10-18Try to tune fog to work well on high-end machines alsoPerttu Ahola
2011-10-18Tune map rendering and related diagnosticsPerttu Ahola
2011-10-15Make view bobbing amount configurablePerttu Ahola
2011-10-12Header file tweaking; mainly for speedPerttu Ahola
2011-09-26Rotate wielded tool the right way and modify axe graphics accordinglyPerttu Ahola
2011-09-26Fix single-frame lag in camera yaw/pitch, tune view bobbing and add wielded ↵Perttu Ahola
tool movement when walking and tweak stuff a bit
2011-09-21Simplistic wielded tool lighting, added setMeshVerticesColor to utility.h ↵Kahrl
and refactored some other code into calls of that
2011-09-21reduce view bobbing slightlyKahrl
2011-09-21Create a separate scene manager for the wielded tool. This fixes the ↵Kahrl
glitchyness in large map coordinates and some depth buffer problems. (The tool doesn't bob anymore when walking, this will be fixed later.) Fix MSVC build (thanks to dannydark).
2011-09-20fix a numerical problem, but tool is still jitteryKahrl
2011-09-20Fix jittery view bobbing at large map coordinates again. Wielded tool still ↵Kahrl
has problems there
2011-09-20Digging animationKahrl
2011-09-19fix some normalsKahrl
2011-09-19Wielded tool updates, leaves and glass work nowKahrl
2011-09-19Convert any inventory item into a mesh, bring back ↵Kahrl
InventoryItem::getImageRay(), some const-correctness fixes
2011-09-19Added sprite extruderKahrl
2011-09-18trying some view bobbing changesKahrl
2011-09-18Oops, up vector is needed.Kahrl
2011-09-18This looks more like MC view bobbing, but still not even closeKahrl
2011-09-15Made wielded tool move slightly (and smoothly) during view bobbing. Making ↵Kahrl
the tool be a child node of an empty scene node instead of the camera scene node seemingly fixed the uncontrollable tool jitter, too.
2011-09-15View bobbing is slower in the water.Kahrl
2011-09-08trying something else... also replaced M_PI by PI everywhereKahrl
2011-09-08minor view bobbing improvementsKahrl
2011-09-08make it slightly less annoying :o)Kahrl
2011-09-08Implemented view bobbing (testing simple lemniscate shape)Kahrl
2011-09-08Commented out debug statements againKahrl
2011-09-08Collected and moved existing camera infrastructure from game.cpp to ↵Kahrl
camera.cpp and camera.h. Introduced configuration settings 'fov' which chooses the camera's (vertical) field of view and 'view_bobbing' which currently does nothing. Other code refactored to not expect the FOV to be a build time constant.