54fe8937
input: support Xbox input system for gamepads. by
2012-05-09 16:40:56 +0000
c0141deb
input: allow to remap gamepad axes in the generic input layer. by
2012-05-09 16:40:38 +0000
2723dabf
orbital: play with the camera. by
2012-05-08 23:35:04 +0000
f30105e6
math: implement all Euler conversions for 3×3 matrices. by
2012-05-08 22:03:04 +0000
552dfee5
math: implement quaternion creation from true Euler angles (as opposed to the Tait-Bryan angles we had for now). Also, change quaternion storage order to wxyz in order to match the constructors. by
2012-05-08 22:03:01 +0000
da6062de
core: add methods to set the camera's view matrix. by
2012-05-08 20:04:00 +0000
e1d0beae
math: support all Tait-Bryan angle combinations in quaternions. by
2012-05-08 11:56:39 +0000
4934e9db
orbital: move ship with arrows. by
2012-05-06 23:39:15 +0000
102d007c
input: blacklist HDAPS as a joystick, it's not really a joystick. by
2012-05-06 20:52:44 +0000
d0dbbde1
core: allow to concatenate arrays, and add unit tests for that. by
2012-05-06 20:52:40 +0000
95fccabc
orbital: create a Player class with joystick support. by
2012-05-06 12:23:24 +0000
45bab951
input: do not let the joystick override the keyboard. by
2012-05-06 02:11:19 +0000
58b3c20b
input: add core joystick support and bind the SDL input to that. by
2012-05-06 00:49:16 +0000
c276dbb1
math: allow to write 1.f / q to take a quaternion's inverse. by
2012-05-05 15:16:29 +0000
d4521943
gpu: activate backface culling on OpenGL to remain consistent with the Direct3D backend. by
2012-05-03 23:00:26 +0000
8f7d28c1
orbital: play with the tanks. by
2012-05-03 11:54:17 +0000
032b7ed4
core: make WorldEntity rotation a quaternion. by
2012-05-02 18:10:33 +0000
75021144
orbital: put the tanks in a separate class. by
2012-05-02 12:02:07 +0000
8954a123
core: add Last() and Pop() methods to the Array class. by
2012-05-01 21:19:58 +0000
6467a06e
core: convert some realloc() calls to our nice dynamic Array class. by
2012-05-01 18:33:23 +0000
82aaaae6
core: the Array class now properly works with non-POD types. by
2012-05-01 18:33:19 +0000
38332c5f
Added CommandParser parent class to Mesh to prepare other Parser implementation. by
2012-05-01 18:01:42 +0000
03154132
core: rename Array::Append() to Array::Push() for brevity and arbitrary personal taste. by
2012-05-01 14:11:32 +0000
bfada5d9
core: move some of the camera view logic from the Video class to the Scene and Camera classes. by
2012-05-01 13:40:56 +0000
64b37d88
gpu: fix a memory leak in the VertexBuffer and IndexBuffer classes. by
2012-05-01 13:40:52 +0000
2d34fd83
core: reduce compilation time by about 30% by playing with namespaces and avoid cluttering the compiler's symbol table. by
2012-04-30 21:30:57 +0000
fad3e434
math: fix a bug in mat3::fromeuler(). by
2012-04-30 18:41:00 +0000
bbdd5903
test: add matrix determinant and quaternion norm checks in the unit tests. by
2012-04-30 18:40:56 +0000
ecda7cd5
math: replace mat3::rotate(quat) with an explicit constructor, and add more unit tests for the quaternion to 3×3 matrix conversion. by
2012-04-30 18:40:52 +0000
032b3227
math: fix a bug in the rotation matrix to quaternion conversion, found with the unit tests. by
2012-04-30 13:40:57 +0000
9e9c18d3
test: add several unit tests for rotations with matrices and quaternions. by
2012-04-30 13:40:54 +0000
5ff96967
math: add Quat::transform() to directly apply a quaternion to a vector. by
2012-04-30 13:40:51 +0000
90c8a589
build: add gcov files to the Git ignore list. by
2012-04-30 13:40:48 +0000
e91c326f
math: add methods to convert from a quaternion to Euler angles and from Euler angles to a rotation matrix. Also fix quat::rotate() which was not building the correct quaternion. by
2012-04-30 11:36:23 +0000
fceeaf1c
math: add quat::fromeuler static constructor for quaternions. by
2012-04-30 10:23:11 +0000
1bc2a7d7
build: fix compilation on Windows by undefining the min and max macros that WinDef.h insists on shoving down our throats. by
2012-04-30 09:48:55 +0000
ade0514b
math: add min(), max() and clamp() for half, real and vector types. by
2012-04-30 01:12:44 +0000
90bfc79b
core: tick methods now use seconds, like any sane system. by
2012-04-29 21:55:32 +0000
fbaf32f1
core: make timers second-based rather than millisecond-based. by
2012-04-29 20:02:20 +0000
9c279155
Added GetButtonState() in Input class. Added Escape button in to quit Orbital. Added Camera control with some little damping sweetness in Camera logic in main Tick. First Commit \o/ by
2012-04-29 18:41:43 +0000
08fc4606
core: move the Camera class from Orbital to the engine core. by
2012-04-29 16:43:49 +0000
aa1e17d9
build: fix for a fucking batch file limitation that won't let me iterate through a list of files containing spaces or parens. by
2012-04-29 15:32:02 +0000
8325d888
math: chage quaternion constructor to wxyz order because it matches the mathematical writing, and add static constructors to create quaternions from a rotation. by
2012-04-29 14:01:00 +0000
cbf13dac
gpu: temporarily enable alpha blending in the vertex buffer code. by
2012-04-28 13:38:32 +0000
7b1e9abd
orbital: create a Camera class where we will hide the complexity. by
2012-04-26 18:20:53 +0000
b49ba4ef
core: prefix some member variables with m_ for clarity. by
2012-04-26 18:20:48 +0000
dc94fce5
gpu: activate alpha blending on the Direct3D backend. by
2012-04-25 17:47:42 +0000
6cd8c0ec
core: fix a bug in the Array class copy constructor, found thanks to the unit tests. by
2012-04-24 23:05:15 +0000
c9520d2a
test: add unit tests for the Array class. by
2012-04-24 23:05:12 +0000
cf85ee13
core: dynamic arrays can now have up to 8 typed members. by
2012-04-24 23:05:09 +0000
f23b47a8
ps3: start fixing the vertex buffer logic in there. by
2012-04-24 18:17:58 +0000
50fefd05
build: fix the PS3 cross-build; variable name expansion was causing trouble. by
2012-04-24 18:17:52 +0000
e1070c3b
debug: do not use std::abort() on the PS3. by
2012-04-24 18:17:48 +0000
28b3a4f6
gpu: implement a few CG calls. by
2012-04-24 18:17:43 +0000
b6971719
ps3: disable -Wsign-compare on the PS3, because it's really too verbose with old GCC versions. by
2012-04-24 18:17:37 +0000
0081d04e
orbital: first try at a particle system. by
2012-04-23 23:07:39 +0000
9f7993d2
core: add copy constructor and assignment operator to Array. by
2012-04-23 23:07:35 +0000
bed2d554
math: new mat3::scale() and mat4::scale() methods. by
2012-04-22 13:04:00 +0000
3e3b2544
math: implement rotate() for mat3 in addition to mat4. by
2012-04-22 13:03:54 +0000
9262efba
core: use operator<< instead of operator+= to append stuff to arrays, it's a bit less confusing. by
2012-04-22 00:31:55 +0000
9960f733
gpu: normalize 8-bit integer data in 0..1 by default. by
2012-04-21 22:32:24 +0000
a3273024
gpu: fix Direct3D handling of float3x3 uniforms; they need padding. by
2012-04-21 19:45:15 +0000
9dad69c6
math: allow to easily create a 4x4 matrix from a 3x3 matrix, and so on. by
2012-04-21 19:45:09 +0000
56d7f24a
core: Append() was missing for arrays of single element structs. by
2012-04-21 18:23:48 +0000
f1c0e3ba
gpu: add methods to send mat2 and mat3 matrices to the shader. by
2012-04-21 16:58:33 +0000
be4935c1
math: add code to build the normal matrix from a transformation matrix. by
2012-04-21 16:58:30 +0000
eb519284
math: add inversion code for 2×2 and 3×3 matrices, and transposition code for all matrices. by
2012-04-21 16:58:26 +0000
ad0e3f8b
tutorial: fix the inconsistent vertex counting. by
2012-04-21 15:08:37 +0000
bc5bf628
gpu: assume 8-bit unsigned vertex data is expected to be normalised on 0-1. by
2012-04-21 15:01:17 +0000
b979030f
core: fix a bug in the Array class where we would corrupt the data when trying to realloc the array and insert a reference to a member of our own. by
2012-04-21 15:01:10 +0000
8894958f
gpu: fix a stupid signed/unsigned inconsistency causing vertex declaration creation failures. by
2012-04-21 15:01:04 +0000
f0d83bcf
win32: add missing files to the Visual Studio vcxproj. by
2012-04-21 15:00:57 +0000
9b0958e6
tutorial: get rid of a hardcoded value. by
2012-04-21 12:31:01 +0000
578368f4
gpu: abstraction class for index buffers; the cube tutorial no longer needs to know about Direct3D headers etc. by
2012-04-21 08:18:24 +0000
b6c330f3
gpu: remove old code in VertexBuffer that caused a memory leak. by
2012-04-21 08:18:21 +0000
2c49c7bc
orbital: start implementing the mesh builder features found in the original. by
2012-04-21 08:18:18 +0000
18cd98fe
core: add a dynamic Array class. by
2012-04-21 08:18:14 +0000
02e31f5c
core: add a simple Array template class. by
2012-04-21 08:18:11 +0000
24626c67
tutorial: some refactoring in the tutorials. by
2012-04-20 20:01:16 +0000
fe9bab81
gpu: fix a great lot of Direct3D problems, spotted using PIX. by
2012-04-20 16:33:09 +0000
8da2f504
debug: use std::abort() instead of a custom idiocy. by
2012-04-20 16:33:04 +0000
5112ce83
build: disable building the Deus Hax editor on the Xbox 360. by
2012-04-20 16:32:58 +0000
bfb0ad1e
tutorial: use an interleaved vertex/color buffer. by
2012-04-18 21:15:15 +0000
4e4d5a8e
build: fix GCC build; it doesn't like to have a local file called debug/debug.h. by
2012-04-18 21:15:12 +0000
48c70702
gpu: replace exit(0) in D3D error checks with lol::Abort(). by
2012-04-18 18:20:30 +0000
7ff4151a
orbital: add a skeleton project for Orbital. by
2012-04-18 12:01:03 +0000
0d498916
gpu: fix a nasty bug in the D3D9 vertex declaration code that caused wrong offset computations. by
2012-04-17 23:20:55 +0000
f7770f73
gpu: add an Unbind() method for textures for clean up. Unfortunately the Scene code still breaks Direct3D rendering. by
2012-04-16 18:25:05 +0000
b34088e5
math: add mat2 and mat3 types; they'll be useful. by
2012-04-16 18:25:00 +0000
169a16b6
gpu: move the platform-specific triangle drawing call to the VertexDeclaration class, so that the calling code does not need to know what the backend is. by
2012-04-15 21:20:05 +0000
560d5cc6
gpu: fix the core scene renderer. by
2012-04-15 00:23:20 +0000
a54bb70d
build: minor Windows compilation fixes. by
2012-04-14 23:27:45 +0000
6169c874
gpu: port the vertex buffer abstraction layer to OpenGL. by
2012-04-14 21:33:08 +0000
f7e202a7
gpu: implement vertex buffer streams for Direct3D. OpenGL is missing for now. by
2012-04-14 18:28:15 +0000
2601c970
gpu: refactor the vertex declaration code to allow several vertex streams. by
2012-04-14 13:35:55 +0000
3ab2f621
gpu: fix compilation errors and warnings in the vertex declaration code. by
2012-04-14 10:03:12 +0000
5218c59a
gpu: start working on a template-based vertex buffer class. by
2012-04-13 16:34:22 +0000
f048a0a5
build: add some ignored files to .gitignore. by
2012-04-13 16:34:17 +0000
5014b90b
build: compilation fixes for errors introduced in the recent Direct3D and Android changes. by
2012-04-13 06:31:49 +0000
57f393d0
gpu: port the texture and scene handling code to Direct3D. Not functional. by
2012-04-12 17:38:54 +0000