8138c506d9
Improve mouse rotation code
...
This had some quirks previously, now it works cleanly with quaternions.
2020-10-02 22:47:27 +02:00
2889a6fa8a
Make movement work with origin change
2020-10-02 22:47:10 +02:00
aef495a394
Add Quaternion interpolation
...
glm made this quite easy!
2020-10-02 22:27:12 +02:00
9125e7a3cc
Add origin vector to Transform
...
We need this in addition to the Matrix (which includes translation) - mainly for rotation, which should be around the translation, but not around the origin.
There may be some places left which need changes due to this - the line between the origin and translation isn't as clear yet as it should be.
2020-09-29 21:04:25 +02:00
0aa41b3d66
Basic structure for rotation
2020-09-29 17:56:07 +02:00
d6effd66f6
Finish basic spline movement
...
The speed isn't chosen correctly yet, but the basic movement along the spline is functional!
There are opportunities for a performance increase: Some calculations which we currently do every frame, are actually only necessary once we choose a new point for moving towards.
2020-09-28 18:14:20 +02:00
8f3d3dc7bf
First steps towards Catmul-Rom spline path movement
...
Lots of hardcoded stuff, but interpolation between two points is working and displayed.
2020-09-28 16:52:35 +02:00
d538ff64ec
Add materials for diffuse + specular shading
2020-01-15 18:25:04 +01:00
30b36bd9f8
Add basic sine animation component + system for it
2020-01-15 17:16:55 +01:00
59e3132d6e
Proper transparency via sorting + new test level
2020-01-15 17:06:58 +01:00
be9f178780
Minor cleanup in LOD system
2020-01-15 12:15:02 +01:00
c1c62a9b94
Basic LOD system
2020-01-15 12:06:20 +01:00
a043847bad
Basic (non-sorted) transparent rendering and cleanup in RenderSystem
2020-01-15 00:22:39 +01:00
cbb0dc1164
Texture!
2020-01-14 13:14:33 +01:00
1824b0c38c
Correctly render mesh from obj
2020-01-14 12:53:31 +01:00
65f0e3367b
Fix unintuitive movement (random stopping)
...
Instead of completely stopping on key release, only that specific
movement is stopped
2020-01-07 22:19:15 +01:00
8c6a1d7834
Cleanup: Moving things where they belong
2020-01-07 22:13:47 +01:00
b514cd38a7
Movement is functional!
...
There is a small bug that can occur, seems like gimbal lock or something
like that. Only rarely though (close to coordinate origin?)
2020-01-07 22:07:38 +01:00
0908a39aa5
Mouse look works properly when stationary
2020-01-07 21:38:26 +01:00
a262b60def
Mostly functional mouse look
...
Walking doesn't take it into account though...
2020-01-07 20:02:40 +01:00
02b0f6a67a
Nonfunctional new rendering
2020-01-07 15:35:12 +01:00
d99ca4c8d7
Basic camera, mesh, rendering systems
...
Not used yet!
2020-01-07 13:50:47 +01:00
7675ddc3a4
Add glm for vector math, used for position and movement
2020-01-07 13:10:23 +01:00
3529254a29
Move all ECS stuff into their own files / dirs
2020-01-04 18:25:47 +01:00