Martin Felis
29431abde7
Added Mesh::Transform and bounding box calculation
2017-02-26 14:26:12 +01:00
Martin Felis
6573a36c90
Split up MeshHierarchy into Skeleton and SkeletonMeshes, minor code style cleanup
2017-02-23 15:19:26 +01:00
Martin Felis
d1ada7f3a4
Loading visuals data from LuaModel, added stub for capsule mesh creation, added sample model rig
2017-02-22 23:19:38 +01:00
Martin Felis
caf00bc3ac
Added loading of model rig via LuaTables, minor code style cleanups
2017-02-22 22:44:05 +01:00
Martin Felis
aee0a433e8
Added RBDL to 3rdparty, added empty rig model, used better coding style in CharacterModule
2017-02-22 21:35:14 +01:00
Martin Felis
fcd44dc3b9
Properly re-initializing entity on module reload, fixed mesh merging
2017-02-22 14:50:41 +01:00
Martin Felis
28c45e05f6
Merge branch 'mesh_refactor'
2017-02-22 14:14:23 +01:00
Martin Felis
91172e2429
fixed lights. Diffuse, shadows, work, specular a bit off
2017-02-22 14:13:02 +01:00
Martin Felis
59522a9560
diffuse and specular better, but shadow maps off
2017-02-22 13:49:43 +01:00
Martin Felis
3c6752ed34
snowman now rotates around
2017-02-20 10:49:39 +01:00
Martin Felis
a49290885e
Tweaked debug lines (thinner, darker when occluded)
2017-02-20 10:48:59 +01:00
Martin Felis
d994949b02
Refactored meshes. Now we can merge them
2017-02-18 17:38:21 +01:00
Martin Felis
e0e57a2b4f
Imgui updates now controlled from main.cc instead of render module
2017-02-05 14:37:58 +01:00
Martin Felis
19f3ddb901
Refactored reload heuristic of modified modules
...
Previously I used a fixed time offset when a file change was detected.
Now I trigger a reload no module file size has changed over the last
5 updates.
2017-02-05 10:37:49 +01:00
Martin Felis
748299c155
uncommented serializer output
2017-02-05 10:36:54 +01:00
Martin Felis
f25654f153
Added global logging function gLog
2017-02-05 10:36:37 +01:00
Martin Felis
b47aa4426c
Added timer struct, added support for pausing
2017-01-30 22:42:31 +01:00
Martin Felis
7ce0b3c000
Added debugDrawCircle and refactored debugDrawSphere
2017-01-22 20:51:12 +01:00
Martin Felis
3e7c7d3acd
Refactored line rendering, occluded lines are now dotted, added debug spheres
2017-01-21 23:22:32 +01:00
Martin Felis
dc6bc60dd9
Refactored character into separate module
2017-01-14 17:17:01 +01:00
Martin Felis
a942ff9ea9
Fixed compilation on older clang (3.6)
2017-01-14 16:22:46 +01:00
Martin Felis
c76f0959ff
Added nanosecond info of last module modification
2017-01-14 16:21:47 +01:00
Martin Felis
4deba61a09
Fixed shadow maps for MeshHierarchies, radius can be specfied when creating sphere meshes
2017-01-14 14:40:21 +01:00
Martin Felis
2365fe04ff
Added commented code that can be used for depth-independent line width
2017-01-14 14:31:43 +01:00
Martin Felis
546fe64c6f
Simplified module state serialization: uses now a templated function for both reading and writing
2017-01-09 21:24:20 +01:00
Martin Felis
84efe9b9aa
Drawing little snowman and smaller goodies
...
- Character properties window
- Normalized ImGui::DragFloat4 that can be used for Quaternions
- Fixed issue of skymap movement
The snowman has unfortunately some shadow mapping issues...
2017-01-08 22:47:54 +01:00
Martin Felis
b5141c3b6a
Added Google Test, a Transform struct with tests, and a basic mesh hierarchy
2017-01-03 22:47:17 +01:00
Martin Felis
8f4c3830c3
Updated SimpleMath
2016-12-27 23:21:56 +01:00
Martin Felis
728a0116db
fixed freeze when debug no lines are being rendered
2016-12-22 23:24:07 +01:00
Martin Felis
ccf8ae71ef
Drawing of debug lines using new line rendering seems to work
2016-12-22 23:20:03 +01:00
Martin Felis
d7e1048b06
Using right handed coordinate systems instead of left handed
2016-12-20 23:06:18 +01:00
Martin Felis
0844762eaa
First prototype of new line rendering
2016-12-19 22:15:29 +01:00
Martin Felis
e88ea62139
Added live reloading of shaders
2016-12-17 23:04:50 +01:00
Martin Felis
273a8e010f
fixed lighting. The ball is be-au-ti-ful
2016-11-30 22:11:08 +01:00
Martin Felis
507b475539
Added generation of boxes and cylinders (needs tweaking, though)
2016-11-28 22:19:09 +01:00
Martin Felis
ef89ac43fc
properly freeing debug draw buffers, added drawing of axes
2016-11-28 21:29:19 +01:00
Martin Felis
61d82c26c3
Added drawing of debug lines
2016-11-27 22:02:17 +01:00
Martin Felis
48e51bb3cb
handle non existant serialized state better
2016-11-25 22:32:42 +01:00
Martin Felis
6f44e81987
Using new serializer with a tad nicer API and without any dependencies
2016-11-25 22:27:37 +01:00
Martin Felis
5be914a99e
Added somewhat tedious (but fun) serialization
2016-11-20 21:50:53 +01:00
Martin Felis
d053912aee
Updated bgfx to latest (f7e2c6b291d)
2016-11-10 21:53:08 +01:00
Martin Felis
f01edbea34
Tweaked shadow mapping params
2016-11-10 21:29:47 +01:00
Martin Felis
05df324bab
Added primitive character controller - wooohooo!
2016-11-07 21:34:18 +01:00
Martin Felis
466e94a939
Added generation of sphere mesh and initial character state
2016-11-06 22:30:09 +01:00
Martin Felis
34ade062a4
Added RuntimeModule debug window
2016-11-06 11:34:51 +01:00
Martin Felis
a8e06dc63b
added ln for the data directory
2016-10-21 22:23:04 +02:00
Martin Felis
da4a5847e2
Fixed include directory
2016-10-21 22:22:19 +02:00
Martin Felis
198ee89cb2
instruction fix
2016-10-21 22:19:29 +02:00
Martin Felis
5d5b7257a3
instruction fix
2016-10-21 22:16:45 +02:00
Martin Felis
dba9f63746
Added very basic instructions
2016-10-21 22:12:06 +02:00