Commit Graph

737 Commits

Author SHA1 Message Date
Lynix 68c6aa664a Replaced OpenGL namespace with static class
Fixed OpenGL functions not being exported
It is also more consistent


Former-commit-id: 3eddcb6f72412443eb56580180d0b9544ae4a9df
2012-12-13 15:47:29 +01:00
Lynix 73fdb9baaf Added TextureWrap enum<->OpenGL association
Also made array syntax consistent


Former-commit-id: 65794e3eec2ea326da0ee71bcd7b8c31632ab71c
2012-12-13 11:39:15 +01:00
Lynix feda7eec4d Changed default debug line width to 1.5f
Former-commit-id: 15b1858aa40eb5d7b562f5ea8562b69f7aecf3cf
2012-12-13 11:38:19 +01:00
Lynix 8ba40360e3 Fixed 3D module not being exported
Former-commit-id: 32ab8810b4079d042338272a3931af6c09eafd0b
2012-12-10 02:30:41 +01:00
Lynix e606f9d1e3 Added antialasing to experimental demo
Former-commit-id: 22fd6f692893b16d1e015e669b286b7044e12ef5
2012-12-09 21:36:05 +01:00
Lynix 30d6f36922 Removed useless line
Former-commit-id: 316289647d6b0130b19b45fd72cd0cf2dc860bb0
2012-12-09 20:23:36 +01:00
Lynix d5dc07f3ef Fixed possible bug with MD5 bind-pose translation
Former-commit-id: 3ef6eba4944db249a8cbb3d6fb5dad2abe87fd6a
2012-12-09 20:23:24 +01:00
Lynix ec50ab9fd4 Fixed Mesh Infos demo
Former-commit-id: 8fb5a452ea0dee650aaa37ed7ed4278ef6ba54b8
2012-12-09 18:39:44 +01:00
Lynix 70b1047f72 Used smart pointers to handle new-allocated array
Former-commit-id: b346e191c56655dd1f3d7fd46208d879bccfcf9d
2012-12-09 18:39:29 +01:00
Lynix 8c37c92c16 Fixed MD5 loader with animated parameter to false
Former-commit-id: f8d80e0f3f70f92be2898c29f00dd4abcaeb18a1
2012-12-09 18:37:57 +01:00
Lynix 18d3b67364 Fixed error message missing right parenthese
Former-commit-id: a054d8e328dbe3a43c2f8615a52eeb79a1fe2031
2012-12-09 18:36:37 +01:00
Lynix 273c0b1a36 Made skinning vertex access clearer
Former-commit-id: 682cb547b3492f0cb9e446721c69b7c5acb748b5
2012-12-09 18:35:54 +01:00
Lynix 5bce3e26a2 Fixed StaticMesh not correctly referencing buffer
Former-commit-id: a63de7e4ec46d8237761a58ffcc7e6cafc30d6b5
2012-12-09 18:35:18 +01:00
Lynix 37d6b71036 Fixed mesh animating modifying template skeleton
Former-commit-id: d70bd2ed7c8a38f879641a4b22be4876f6825edb
2012-12-09 01:45:34 +01:00
Lynix b652bada13 Fixed copying a skeleton not copying hierarchy
Former-commit-id: 54a556f1c6c336ba2397b60dfaa2b316df11d59b
2012-12-09 01:44:40 +01:00
Lynix 883c5fa0da Fixed node derived formula
Former-commit-id: da4c46e3086640147b3503928ef05e03f3c8e4cb
2012-12-09 01:44:18 +01:00
Lynix a15a54494f Fixed the second last commit
Former-commit-id: 46d94a0b3c9e85d9b4dacaa6c360102e8a4448a4
2012-12-08 22:59:40 +01:00
Lynix ad86c4d6fb Fixed SetTranslation not invalidating node
Former-commit-id: f4f8f39e5c3d919d016b15b276b38c20b5e84205
2012-12-08 22:57:25 +01:00
Lynix 7e533209dc Added initial states to node
Former-commit-id: 2127584e3432c16841817632522ea3bb82c7a786
2012-12-08 22:56:22 +01:00
Lynix 8376fb38cf Module can now initialize optionnal classes
Former-commit-id: 899007b7879451d15d0808a03b8dfea0cd3413a4
2012-12-08 22:21:20 +01:00
Lynix e8842f1ba8 Revert "Optimized NzNormalizeAngle"
This reverts commit 1ed4af0b903b3fae59c633567b49ebda61797cc2 [formerly 683c7e913ee2f293d299c1d0a4abaf6c65116598].


Former-commit-id: 1c687a7d018e277408b0e390d37bec13c454d4a1
2012-12-08 22:20:16 +01:00
Lynix 4dc1d88f7b Fixed TaskScheduler not resetting impl pointer
Former-commit-id: fdd46cdbce5b876fbb286439ccfc96f1f98ac4fe
2012-12-08 21:52:50 +01:00
Lynix dc9f202155 Fixed calling Uninitialize when not Initialized
Former-commit-id: 1d0bb01f881be76e163a5ac27c91d7fb6a873bb7
2012-12-08 21:51:43 +01:00
Lynix cc132e271b Fixed typo
Former-commit-id: 1d4624f89201cb8ece46a699aabe1746ae42ec6a
2012-12-08 21:42:54 +01:00
Lynix eb585116b1 Shader::SendTexture can now return texture unit
Former-commit-id: 38d5e5dedf94113933bb2090040feec602a4716c
2012-12-08 11:49:07 +01:00
Lynix 119a1420d1 Fixed OpenGL 4 not loading sampler objets
Also fixed file encoding


Former-commit-id: 51683c2d9dff8a56c96ad972c8b6d6006004f1f2
2012-12-08 11:48:30 +01:00
Lynix dc3af6ae69 Fixed typo
Former-commit-id: 3cd820fe6778c6731b051ff707ef576c3344451e
2012-12-06 12:05:56 +01:00
Lynix 783c1d5584 Optimized NzNormalizeAngle
Former-commit-id: cbdc09b7dc89c03c178a7b0a22571e810598c6fb
2012-12-06 01:05:40 +01:00
Lynix f72210e728 Removed useless code
Former-commit-id: bcd32832d5a3a9fc91a28dd4a76643f391c5ad2d
2012-12-06 01:02:04 +01:00
Lynix 6f495c654a Added TaskScheduler::GetWorkerCount()
Former-commit-id: db4bf747441a13f2d824410aa5be264b300e95d4
2012-12-06 01:01:26 +01:00
Lynix e699969b64 Added OpenGL support for sampler objects
Also prevented an exception launch by the SeparateShaderObjects code to
escape.


Former-commit-id: ae594e16a85c02f0c649ef573189b4b722f713c3
2012-12-04 13:50:08 +01:00
Lynix 9839e36171 Removed blanks
Former-commit-id: e3bcf84a1fcb36e52f953c5f18ca51aa9499ed61
2012-12-04 10:35:34 +01:00
Lynix 700a09b9c9 Fixed typo
Former-commit-id: a2a050220608320d0b13c7bb69b0752a36a253ae
2012-12-03 23:50:18 +01:00
Lynix 86c4899100 Fixed debug drawer not setting line width
Former-commit-id: 2fd8f6e6c4b3e42183955e047aaaf4c95e12841a
2012-12-03 23:50:11 +01:00
Lynix 865c8d97a3 Updated experimental demo to use node parents
Former-commit-id: f99d90c6242886cce8973b666adb28a242d1e17d
2012-12-03 23:41:14 +01:00
Lynix 9e24a6b7b2 Added warning to an unusable option
Former-commit-id: a4d45b29970085996f417313d4c7df84f0ca100b
2012-12-03 23:39:49 +01:00
Lynix 635616459a Updated experimental demo to draw hellknight AABB
Former-commit-id: b28dd7bdde909088ff2671def77cef9809894b08
2012-12-03 16:25:23 +01:00
Lynix 551ca4fc92 Updated global includes
Former-commit-id: 0407aab09007e10ec394bf9b15ec0f21421305ad
2012-12-03 16:25:02 +01:00
Lynix 2e40ad832e SubMeshs are now valid even when not animated
Former-commit-id: 5bd6289d30f4f6ffa1fcaf8d946aa9aba9cf7131
2012-12-03 16:24:47 +01:00
Lynix 817119933c Fixed SkeletalMesh AABB
Former-commit-id: 2b23660f80f3069581246af99c73fda45ee4d3d4
2012-12-03 15:06:10 +01:00
Lynix cc45746799 Improved keyframe mesh interface
Also improved animation performance by using a discard-and-write lock
when interpoling.


Former-commit-id: 277b5ad8f148ab73b99edf83cf8c6e5d0e6dfc82
2012-12-03 14:49:56 +01:00
Lynix 82d6438ec3 Removed unused file
Former-commit-id: c52361f0ae454048e62507996beff70cf857210e
2012-12-03 01:34:16 +01:00
Lynix ef567bd223 Added Task Scheduler
Former-commit-id: ac37f749ae78f364db3d3edfabc8221802579989
2012-12-03 01:30:04 +01:00
Lynix 023e497777 Revert "Simplified Thread interface"
This reverts commit 49927a03e4a9bfd4681691bb859b08374cd309c6 [formerly f3cfc12d8c18eef8a8aa21c164ad994fff4a33b7].


Former-commit-id: 8315c5f18d29aff59749c2efe98208ee3f5e1a42
2012-12-03 00:25:39 +01:00
Lynix b4282e6a6e Fixed Vector4 >(=) comparison
Former-commit-id: d3c5d233bb565dbfa0535487fe21bd00ad0281b4
2012-12-02 23:50:32 +01:00
Lynix b775542e4d Simplified Thread interface
Former-commit-id: 5cc7c51be1bf8fe8f13e3b4d25b051ff024f4ebf
2012-12-02 23:43:08 +01:00
Lynix 3d8549740e Moved constructor prototype
Former-commit-id: a399ce2633c20bf41c7ba56cb346ced607043fc1
2012-12-02 23:05:28 +01:00
Lynix 780da2cfa5 Resolved conflicts
Former-commit-id: 4bd4e4f8435d701d16d3864dd030a6c1cff48c47
2012-12-02 21:49:14 +01:00
Lynix 6a3087cc26 Optimized Vector <= comparison
Former-commit-id: 8668b8ff78387262f0e21f038b6ca0240c513476
2012-12-02 20:39:49 +01:00
Lynix 0a88b6531c Added Texture::HasMipmaps()
Former-commit-id: 4d21c32579e26e95a9376a4352fd50edd4ba0ed3
2012-12-02 17:01:57 +01:00