Lynix
18849e7d21
Reworked SubMesh methods
...
Former-commit-id: daff498f907bb28fdc9c7997c0ba602d640964c3
2014-07-08 11:28:01 +02:00
Lynix
5c2ae93d0b
Reworked TriangleIterator
...
Will now output vertex indices instead of vertex data (making it way
more useful)
Former-commit-id: c82d61ca0ac3f2908d57e167dade74af42282b06
2014-07-08 11:22:32 +02:00
Lynix
70e1327071
Reworked VertexMapper to make it way more generic
...
Will work with any attribute and vertex declaration
Former-commit-id: ca99734bd8a9c3e57c99b1cc338f03e79dda55f6
2014-07-08 11:21:41 +02:00
Lynix
af1d2d9146
Reworked SkeletalMesh class
...
It now uses a VertexBuffer
Former-commit-id: 81d5db90d9eb8a097342a1ae613468edcae730a6
2014-07-08 11:18:09 +02:00
Lynix
d636174c04
Added SkeletalMeshVertex struct
...
Alias of VertexStruct_XYZ_Normal_UV_Tangent_Skinning
Former-commit-id: 1bec60d399dd3293aebb7a7b84370ff33e8b85dd
2014-07-08 11:13:07 +02:00
Lynix
8ab69fa3ab
Improved VertexDeclaration class
...
Added AttributeUsage_Unused
Improved code and error handling
Former-commit-id: bd0f3755867d38e0f03b282970031fbadc10213e
2014-07-08 11:11:11 +02:00
Lynix
9de90a78e5
Disabled the use of glTexStorage* when creating a proxy texture
...
Looks like AMD drivers does not like it
Former-commit-id: 854492215bb977df39d06cf7b1beab97c0961e08
2014-07-08 11:02:27 +02:00
Lynix
0ebf993ed8
Added UTILITY_SKINNING_MAX_WEIGHTS
...
Hopefully fixing compilation errors
Former-commit-id: 503c5c53a6fff9eb62e0037253fe4b54a90b806a
2014-07-08 10:59:42 +02:00
Lynix
9969d5f5f3
Removed UTILITY_MULTITHREADED_SKINNING config
...
Useless since SkinningManager is now handling this at runtime
Former-commit-id: 4a8b2d08de2f5c367821786d2cdff5dd45daadef
2014-07-08 10:58:58 +02:00
Lynix
c4b10dddda
Big config/debug update
...
Added config checkers
Macro no longer use suffixes
Moved MemoryManager to upper directory
Renamed *_MEMORYMANAGER to *_MANAGE_MEMORY
Renamed AUDIO_STREAMEDBUFFERCOUNT to AUDIO_STREAMED_BUFFER_COUNT
Renamed CORE_REAL_PRECISION to CORE_DECIMAL_DIGITS
Renamed DEBUG_MEMORYMANAGER_DISABLE_REDEFINITION to
DEBUG_NEWREDEFINITION_DISABLE_REDEFINITION
Renamed GRAPHICS_MAX_LIGHTPERPASS to GRAPHICS_MAX_LIGHT_PER_PASS
Renamed UTILITY_FORCE_DECLARATION_STRIDE_MULTIPLE_OF_32 to
UTILITY_VERTEX_DECLARATION_FORCE_STRIDE_MULTIPLE_OF_32
Former-commit-id: 81ef836ac9f092ac471f60e544bb7c7c6370593c
2014-07-08 10:56:37 +02:00
Lynix
f819beb747
Added Nazara[Prefix|Suffix](Macro)
...
Former-commit-id: 2a6d67c5061f98b16f7107c64e9d73cf0036c9e8
2014-07-08 10:46:09 +02:00
Lynix
c882de1a6f
Made IndexIterator::operator[+|-] const
...
Former-commit-id: 5008803eaad4bb514ad85d1ae92ac2c624fa84a3
2014-07-07 12:08:45 +02:00
Gawaboumga
60d045e139
Suppressions of getters
...
Former-commit-id: db5ae144a8eb8794e7df9981805d2250bbd8b4ee
2014-07-04 11:31:51 +02:00
Gawaboumga
ba7f3606a0
Obb intersect ray
...
New method
Former-commit-id: 282a82d773f61fcec8026eb4ccb74e8b2de9784f
2014-07-04 11:22:47 +02:00
Lynix
28471925ac
Fixed possible bug in computing sampler id
...
Former-commit-id: 29c20403571218c05e3d4405482bb312adda5a35
2014-07-02 01:08:58 +02:00
Lynix
f45a9d5bf6
Added SparsePtr class
...
Which is basically a pointer with a different stride than it's type size
Former-commit-id: a025889d7f9fa70f99e9cd5944682aebbd02317e
2014-07-01 20:25:14 +02:00
Lynix
b595f703da
Added OffsetOf header and function
...
Designed to replace the old offsetof macro
Former-commit-id: faa45ebfd3c1f9cc817f6fccf5c94d2c1527349d
2014-07-01 19:26:39 +02:00
Gawaboumga
31d54d4706
UTF8
...
Former-commit-id: 3cbdbcc5dd8cc73b5efc40f62e3b6a9619f628cc
2014-07-01 11:06:16 +02:00
Gawaboumga
45fc9158e4
Add of source
...
Add of the source
Former-commit-id: f3d01ef18ccc1ae906693f388e696c0763576a3b
2014-07-01 10:57:43 +02:00
Lynix
d9c38181a5
Added (U)Int32 typedef for Box,Rect and VectorI classes
...
Former-commit-id: 20fcc8e7ccde6f5306c08058ad477e81cfb2d204
2014-06-30 10:52:25 +02:00
Gawaboumga
7ba72ef1c6
Little fail again
...
Wrong getter
Former-commit-id: 951d0a46d189c13009854f4bad43e7a243470f03
2014-06-28 11:45:10 +02:00
Gawaboumga
1aebcd83b0
Merge remote-tracking branch 'upstream/master'
...
Former-commit-id: 124b89e1c31a7b907f88d8c7a234473274d5a0f6
2014-06-28 09:05:16 +02:00
Gawaboumga
5e709001ad
Little fail
...
Plane: Forgot <T>
Former-commit-id: 46f5c4a501fcf1ed841e28474cf5bca8e7baa438
2014-06-28 09:03:56 +02:00
Lynix
53e5944b56
Fixed build error in debug mode
...
Former-commit-id: 8992ced076980cf0101eb2c62923521e1c975763
2014-06-27 21:18:51 +02:00
Lynix
6e936b6120
Fixed Image::GetPixels returning wrong pointer when level is over 0
...
Former-commit-id: c54b77b3b7aee5ee9aeff9a022e94f33f4b45453
2014-06-27 21:18:22 +02:00
Lynix
126cd75e4d
Fixed possible bug
...
Former-commit-id: cc37ef2c51011d7a679a10d5386f9bbf0241d51f
2014-06-27 21:17:23 +02:00
Lynix
76bfd0857e
Allowed asserts to throw exceptions instead of calling std::exit
...
Former-commit-id: 892db922761a0a8122c60274b344c3e62de0a65f
2014-06-27 21:16:36 +02:00
Lynix
032b2ed79b
Removed explicit VectorI::operator[]
...
Since Vector instances can be implicitely converted to T*, native
operator[] will work on them
Former-commit-id: 3f4a1822c514886dee7d9e5dab816c80e5c5ee99
2014-06-27 21:15:11 +02:00
Lynix
dcca3d03d4
Fixed warning on some compilers
...
Former-commit-id: 588acff705e80008577f4b1f46580b70dc62615a
2014-06-27 21:09:31 +02:00
Gawaboumga
f3ccd60b5f
New class ray
...
Class ray who represents a ray in space and who can be used as a line.
Support of classical intersections.
Former-commit-id: 2ea5af0cf749dbefdd841f9b02bfab2af5058cdb
2014-06-27 19:39:51 +02:00
Gawaboumga
ca595bca20
Add of some mathematical functions
...
Plane: Getters and classic planes
Sphere: Getter
Vector2: Angle between two vectors
Vector3: Same in 3D
Former-commit-id: 07e6421def813743e5fd8248fe2e9503cebbb8a8
2014-06-27 19:33:28 +02:00
Gawaboumga
f84897e47a
Merge remote-tracking branch 'upstream/master'
...
Former-commit-id: 578dd5a3b02eb5363a248c437b528a743be983ca
2014-06-27 19:21:44 +02:00
Gawaboumga
9f17722afd
Little corrections
...
HashDigest: Simultaneous use of int and short
EulerAngles: Use of the macro
Geom: cone was missing
Former-commit-id: ecc3a586732a6711b57ce3e79c5450ef7327bb5b
2014-06-27 19:11:45 +02:00
Lynix
c5b31d4f03
Replaced CreateSemaphore call by CreateSemaphoreW
...
Former-commit-id: 8f1897c846bc08d79a7298b1d95a2319c1aefffd
2014-06-25 19:35:53 +02:00
Lynix
4d27f12fec
Fixed typo
...
Former-commit-id: 746c6caea0f7f806db0e7554deb125030009e069
2014-06-25 19:34:55 +02:00
Lynix
cc01216e1c
Fixed crash in TaskScheduler Windows implementation
...
Also replaced CreateEventA calls by CreateEventW calls to avoid one
level of function call.
Thanks to bacelar
Former-commit-id: 4612e3fb0af8eef9ffd947d8edf55e4f2fa27c9b
2014-06-25 15:23:31 +02:00
Lynix
b70f693b8c
Merge remote-tracking branch 'origin/RenderTechnique-Update'
...
Former-commit-id: 85e5af81ed3381af19e87c6ca0ee14e79955e563
2014-06-24 12:56:10 +02:00
Lynix
48eb59eba8
Commited missing file (from 7dfb82)
...
Former-commit-id: 90aba1cc976830fd78efdd3d03764345b92df24d
2014-06-22 15:12:54 +02:00
Lynix
4a34c16455
Updated OpenGL headers
...
Former-commit-id: c40353c7d37fa7dcc4417689b489e539a040de48
2014-06-22 15:12:53 +02:00
Lynix
6751baaadb
Added Gawaboumga to the "Thanks to" list
...
Former-commit-id: 144487c12be17d39a7da27d6aa1ff78b28cafe2e
2014-06-22 15:12:52 +02:00
Lynix
dc3f3eb344
Fixed some of the pull request code in order to merge it
...
Former-commit-id: d8a9734fc622cb57f98b3b6abd2579922d562aa0
2014-06-22 15:12:52 +02:00
Lynix
55c205a5e5
Improved MemoryPool class
...
It's size is now dynamic (defaulted to 1024)
Added MemoryPool::GetFreeBlocks()
Added MemoryPool::GetSize()
Tried to make it thread-safe
It supports dynamics allocations (in case where it can't allocate memory
from the pool for some reasons)
Former-commit-id: d42804a47eaafbbc1c0b151f8fcaeb5ddb086ff5
2014-06-22 15:12:51 +02:00
Lynix
3f81ab4742
Alphabetical commit
...
Former-commit-id: 3f04840ed109e31cef0e6eda085320aaa17c9f2f
2014-06-22 15:12:50 +02:00
Lynix
6c1852299d
Added SkinningManager
...
Former-commit-id: ca3648dc16f5b1654cb8e3f5480d04f7fd22a3bc
2014-06-21 16:23:38 +02:00
Lynix
774df28d87
Cached skinning matrix
...
Former-commit-id: c5aeb09778f5696906eb764f600c4a152ab7ba48
2014-06-21 16:22:34 +02:00
Lynix
5310c8b0d6
Moved skinning to algorithms
...
Former-commit-id: ab31467438f55e8381daa8f238c201c46ba96f52
2014-06-21 16:21:33 +02:00
Lynix
f5833aa2d4
Improved rendertechnique fallback (will no longer loop)
...
Former-commit-id: 1aeb737432de1d2a8f205e547404b3f140967a16
2014-06-21 15:38:24 +02:00
Lynix
9ba6258478
Made context creation exception-safe
...
Former-commit-id: d55687cea712a34e905b3f2f2d85611d1d0b1b74
2014-06-18 20:34:05 +02:00
Lynix
81672a5ff6
Clarified source code
...
Former-commit-id: 669b6c52c05d87ff8e84d9c1148bc649431cc724
2014-06-18 17:39:16 +02:00
Lynix
a6d6213b9d
Commited missing file (from 7dfb82)
...
Former-commit-id: 4961498d557dea7101960beb4f2eb6b0a3060368
2014-06-17 15:53:57 +02:00