Commit Graph

654 Commits

Author SHA1 Message Date
Lynix 910a79fc84 Cleaned interface
Former-commit-id: b5f1871c164dd72098e389b76edf0994fb1fb124
2013-06-05 15:56:51 +02:00
Lynix 146ca80a63 Added index iterators
Former-commit-id: de3ed77ba9e3c48aa68020e23ded679066b9878f
2013-06-05 15:33:43 +02:00
Lynix fbc0d7404e Improved code
Former-commit-id: 33082b8f9d55c7a3b9550c788eb27fc613c08032
2013-06-05 13:24:33 +02:00
Lynix a1da3395cd Updated utfcpp
Former-commit-id: 4b0a41b304daf3317687e5a58ba565c58232f783
2013-06-05 13:23:32 +02:00
Lynix e480ec5394 Fixed comments
Former-commit-id: f13d1b6e7fa8ba78087172d7def6b19c7cf69973
2013-06-04 14:52:27 +02:00
Lynix 573b4ebf79 Fixed forgotten file in last commit
Former-commit-id: ac75cc7dacda565f0a12ac0afa58cf939b2b2e5d
2013-06-04 14:52:12 +02:00
Lynix 9239ff8881 Box primitives now uses vec3 lengths parameter
Instead of a Box parameter


Former-commit-id: 6c433e883252c6db8eba3b791d1e9364ce5d3b1e
2013-06-03 17:14:09 +02:00
Lynix fb839de33e Renamed (Oriented)Cube to (Oriented)Box
Also renamed BoundingBox to BoundingVolume


Former-commit-id: 795c70c265ba17f6b96fc30799e89f140c52852b
2013-06-03 14:18:31 +02:00
Lynix 7e9dd26991 Fixed Mesh::Build error message
Former-commit-id: 5c5be9325cf4e6c7c180cfdd4a2ff2a03743adb8
2013-06-03 12:57:59 +02:00
Lynix a3f1417abd Added Matrix4::Apply[Rotation|Translation]
Former-commit-id: 1c59aa48f057d4bdc4b4413e349d2b4290dec055
2013-06-03 12:57:20 +02:00
Lynix f712ed1c73 Merge remote-tracking branch 'origin/Physics-module'
Former-commit-id: d4e2c3b0633ac7916b646e6fe33c75ed94e68bf1
2013-06-01 12:06:09 +02:00
Lynix 714e3e01bc Added mesh generator functions
Added Mesh::Build


Former-commit-id: dcfc6587b67ab4ec350ab7ca04ae7f45475f6b1b
2013-05-30 13:25:45 +02:00
Lynix 65c08442ce Added Primitive(List)
Former-commit-id: 3080a1846616fb2dac25e6d341c8a9220f406de4
2013-05-30 13:22:10 +02:00
Lynix ac9e200e83 Merge remote-tracking branch 'origin/Graphics-update'
Former-commit-id: 6050b694c2c97ec65e7573d729985e5b7aacec84
2013-05-30 13:17:23 +02:00
Lynix c99ab36ebe Made Cube/Rect more user-friendly
Former-commit-id: 13ac0b9f6428059596c98f636caf61afd2a436b7
2013-05-30 03:02:43 +02:00
Lynix e0229ab390 Cleaned Thread class code
Former-commit-id: d8c918c7a3c50ed3ed2f225303540d3860863d4e
2013-05-30 02:59:08 +02:00
Lynix 465a7c246d Added Identity Matrix optimization
Former-commit-id: c426c3098659f9cf74fd7da33cadabe38a158358
2013-05-30 02:58:20 +02:00
Lynix b3f60e90fd Fixed Quaternion::(Make)RotationBetween
Could not handle parallel vectors


Former-commit-id: 3fed3a46d443b208dc95a5bcd29dd43fb7960114
2013-05-30 02:56:58 +02:00
Lynix 355d52324a Fixed licence text
Former-commit-id: c4f7c3c0fffc0449ebf0a405632877d902c3da62
2013-05-29 01:35:21 +02:00
Lynix 1fba4eaddb Added build file
Former-commit-id: cdf061966451f28f5785692232340aeadf6192f4
2013-05-26 23:07:24 +02:00
Lynix 90bc3c342c Fixed STB loader artefacts
Former-commit-id: df4b7cef68efc9e67b968daaa71f578cea68e061
2013-05-25 10:08:13 +02:00
Lynix 810b45fbb7 New emission-map algorithm
Former-commit-id: a45adb79b885d41a2d461a1d672fc8f63dedff65
2013-05-25 10:07:55 +02:00
Lynix 5f36817209 Rewritted rendersystem
Former-commit-id: 9cbc601413e057047b94b8b872ee2316a86638c4
2013-05-25 10:07:36 +02:00
Lynix cf6e2be0b0 Renamed PrimitiveType to PrimitiveMode
Also renamed RENDERER_INSTANCING_MAX to RENDERER_MAX_INSTANCES
Added RENDERER_SHADER_MAX_LIGHTCOUNT


Former-commit-id: bc26e087dd1b55c424836e6e2fa6e1dc0f17effa
2013-05-24 20:12:40 +02:00
Lynix 8014f67eb8 Added Physics module
Former-commit-id: acc3ffe119ebfae9c0199eb878a621325c28844a
2013-05-23 23:16:36 +02:00
Lynix 50e8ce3658 Fixed delete after new[] (induced by last commit)
Former-commit-id: 44a4af07d5c1e6b28b6351318f3ca919f940f2a9
2013-05-23 02:22:23 +02:00
Lynix 738788b4c3 Made use of smart pointers :)
Former-commit-id: 5380752e0da3f4b958a944e41fcde38722e3c4c2
2013-05-23 02:14:41 +02:00
Lynix c934d8ed6b Added NazaraStringify(Macro)
Former-commit-id: 1b4b3165153013e9d2ff5e78c54c4a214deb7ac4
2013-05-23 02:12:22 +02:00
Lynix a33960c2aa Added static assertions to check on MD2 structs
Former-commit-id: 6318bb363b69bd2e872143fda9eee76e6e1ff995
2013-05-22 01:03:51 +02:00
Lynix 0717823b0e Renamed depth test to depth buffer
Because disabling depth test also disable depth write


Former-commit-id: 0e0b3353c309fb1d702d030accc4349f1f0c6d96
2013-05-21 16:16:36 +02:00
Lynix 3ff5761703 Fixed missing headers
Former-commit-id: 85c27f12d393c087a455433b2bf7298a25f13b44
2013-05-21 14:00:23 +02:00
Lynix 3b8072c921 Regenerated Core and Utility global header
Following d46df4f changes


Former-commit-id: e1475d9f72469e0c4a3541265f23d292f6947fc0
2013-05-21 13:59:51 +02:00
Lynix f232c82d1c Improved comment
Former-commit-id: 1e8b4bb77ccf710bbc4ee688905bf02e42899938
2013-05-21 13:55:00 +02:00
Lynix d3986d40cd Improved emission map effect
Former-commit-id: 44b8332a05d87175edd5e2e5f831c4b7f6b33f25
2013-05-21 13:54:50 +02:00
Lynix 864fcc639c Fixed missing include
Former-commit-id: fac04e2c5524993a0499cb65d44a79d926d22452
2013-05-21 13:54:29 +02:00
Lynix 8f09eea340 Renamed XImpl to AbstractX (More consistent)
Where * is Buffer, Hash and Shader


Former-commit-id: a99681ab1d515c9b39e6ba5f447c9000ef1092b8
2013-05-21 13:54:10 +02:00
Lynix 4b68ff0118 Added alpha-mapping support
Former-commit-id: ba4598e9e5efc47e04e72dc709d64d214d77e9a1
2013-05-16 22:48:16 +02:00
Lynix 0b66452e33 Fixed textures updated twice per state update
Former-commit-id: fb4d79e920899e6761225d72928ea62878f2c485
2013-05-16 22:45:40 +02:00
Lynix f7fb7e10fb Improved unsupported texture format error
Former-commit-id: 63c12416baadd82f6b6f3fa9442034a9a18d0704
2013-05-16 22:22:23 +02:00
Lynix c05c22c97a Fixed Frustum::GetPlane not compiling in debug
Former-commit-id: efe801b21f50803368aea4c5442a43c1621545f6
2013-05-16 22:21:33 +02:00
Lynix 6d2a1118bc Implemented Matrix4::GetRotation
Former-commit-id: 90e0b6942497c1337ac3873d3990515284df4aa6
2013-05-16 22:21:16 +02:00
Lynix f434266a88 Fixed IndexMapper with constant sequential buffer
Former-commit-id: 195d03c1db72edfdfa4d407f7c1adb983bd266c6
2013-05-13 12:53:56 +02:00
Lynix 2b00ee9c04 Cleaned SubMesh code
Former-commit-id: 26be5a2fd205428f10316f899ee36b8fc3c3d46e
2013-05-13 12:52:56 +02:00
Lynix 6c743a89b9 Added Quaternion::(Make)RotationBetween
Former-commit-id: e28517580bd17970e77a38f54e7c114cdaf402d5
2013-05-13 12:52:39 +02:00
Lynix 16004fd41c Added IntegralPow function
Former-commit-id: c04d3bf6365f3ced475405a85285b3956a066c47
2013-05-13 12:52:12 +02:00
Lynix a6cbc5c872 Fixed missing debug tools include
Former-commit-id: b9a53f96e603c057f08e11e17a38d5a8322820c9
2013-05-11 20:15:08 +02:00
Lynix 4d9ba84d03 Added safety range-check to VertexMapper methods
Former-commit-id: 63424008656619b44237f640b2f2bc7a67d70040
2013-05-11 19:08:38 +02:00
Lynix b69963e93f Made uniform caching less error-prone
Former-commit-id: 0512daf3c54ed1e546ff7b12a6c9e82675504d5f
2013-05-11 14:30:39 +02:00
Lynix c484bd38c9 Added OpenGL::BindTexture(unit, type, id)
+ Fixed OpenGL::DeleteTexture


Former-commit-id: 124ac3316f604e436378aed8d663f0d2b5889cd3
2013-05-11 14:04:41 +02:00
Lynix ad2c66bbb3 Improved Windows ClockGetMicroseconds precision
Former-commit-id: 601157e2116bc4f3ecd22ec89a285f62e4b36c11
2013-05-11 14:04:08 +02:00