Perttu Ahola
|
9a7471b740
|
Rotate wielded tool the right way and modify axe graphics accordingly
|
2011-09-26 16:10:54 +03:00 |
|
Perttu Ahola
|
2ecd53ce09
|
Fix single-frame lag in camera yaw/pitch, tune view bobbing and add wielded tool movement when walking and tweak stuff a bit
|
2011-09-26 15:09:04 +03:00 |
|
Kahrl
|
3e012122d1
|
Simplistic wielded tool lighting, added setMeshVerticesColor to utility.h and refactored some other code into calls of that
|
2011-09-21 18:37:29 +02:00 |
|
Kahrl
|
a4a2c34831
|
reduce view bobbing slightly
|
2011-09-21 15:54:06 +02:00 |
|
Kahrl
|
36af9bb027
|
Create a separate scene manager for the wielded tool. This fixes the 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-21 01:42:52 +02:00 |
|
Kahrl
|
6599002149
|
fix a numerical problem, but tool is still jittery
|
2011-09-20 18:25:29 +02:00 |
|
Kahrl
|
cbd2bcf102
|
Fix jittery view bobbing at large map coordinates again. Wielded tool still has problems there
|
2011-09-20 18:19:26 +02:00 |
|
Kahrl
|
01f3ae1c50
|
Digging animation
|
2011-09-20 11:06:16 +02:00 |
|
Kahrl
|
eaff4616ad
|
fix some normals
|
2011-09-19 17:11:53 +02:00 |
|
Kahrl
|
ab42549b1e
|
Wielded tool updates, leaves and glass work now
|
2011-09-19 17:08:42 +02:00 |
|
Kahrl
|
02726f0003
|
Convert any inventory item into a mesh, bring back InventoryItem::getImageRay(), some const-correctness fixes
|
2011-09-19 06:37:24 +02:00 |
|
Kahrl
|
36bcbca9ac
|
Added sprite extruder
|
2011-09-19 03:01:11 +02:00 |
|
Kahrl
|
4ed837bcfa
|
trying some view bobbing changes
|
2011-09-18 17:02:30 +02:00 |
|
Kahrl
|
54f3796f91
|
Oops, up vector is needed.
|
2011-09-18 02:24:43 +02:00 |
|
Kahrl
|
ae66d611f2
|
This looks more like MC view bobbing, but still not even close
|
2011-09-18 02:17:39 +02:00 |
|
Kahrl
|
63266928a5
|
Made wielded tool move slightly (and smoothly) during view bobbing. Making 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-15 01:53:42 +02:00 |
|
Kahrl
|
fc92da4324
|
View bobbing is slower in the water.
|
2011-09-15 01:53:42 +02:00 |
|
Kahrl
|
e4cb004460
|
trying something else... also replaced M_PI by PI everywhere
|
2011-09-08 16:10:44 +02:00 |
|
Kahrl
|
f2ec226521
|
minor view bobbing improvements
|
2011-09-08 13:34:28 +02:00 |
|
Kahrl
|
0931d4b7ff
|
make it slightly less annoying :o)
|
2011-09-08 13:14:59 +02:00 |
|
Kahrl
|
ccadebabba
|
Implemented view bobbing (testing simple lemniscate shape)
|
2011-09-08 13:03:55 +02:00 |
|
Kahrl
|
18771a39cf
|
Commented out debug statements again
|
2011-09-08 01:24:47 +02:00 |
|
Kahrl
|
baf7da9d4a
|
Collected and moved existing camera infrastructure from game.cpp to 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.
|
2011-09-08 01:08:47 +02:00 |
|