Commit Graph

4429 Commits

Author SHA1 Message Date
Alexandre Janniaux 9ea7817502 Little fixes for git.
Former-commit-id: 3fac0c3a4402184bfca89fd7e0b954ccbb6bc1da
2013-01-04 19:47:16 +01:00
Alexandre Janniaux 58e0071626 Fix prepocessor condition in File.cpp again (patch problem).
Former-commit-id: c4fcc1265917ef17b78a7ed1a315c41dea6d0dc0
2013-01-04 19:18:04 +01:00
Lynix 7785516f85 Fixed POSIX build
Former-commit-id: 51c9eec6b1bff341d0e80971da26c05f4224ac60
2013-01-04 18:35:24 +01:00
Alexandre Janniaux 77a87ce2c9 Add Posix hardware infos support.
Former-commit-id: adbdeb13349dfea4d962f0df6668f51937803fc4
2013-01-04 18:30:10 +01:00
Alexandre Janniaux cf85e22c30 Add Posix directory support.
Former-commit-id: 308d7ce06c694cb869064ab2d2a5628475febf88
2013-01-04 18:22:13 +01:00
Alexandre Janniaux 1b9a86d993 Add Posix semaphore support.
Former-commit-id: 1148708ccb60bf385a8b21da4c5ed1b9a0108441
2013-01-04 18:21:45 +01:00
Alexandre Janniaux 1d224d23f6 Add Posix clock support.
Former-commit-id: 1631e1028e94a88f7d19d7c217d83b8ae17936d7
2013-01-04 18:21:19 +01:00
Alexandre Janniaux 50870b9a2d Add Posix condition variable support.
Former-commit-id: 2af214aa206f2f9486c96750ccd412ac672ef62d
2013-01-04 18:20:42 +01:00
Alexandre Janniaux 3677401319 Add posix thread support.
Former-commit-id: fcab7f0b38965e4435abe683d9edc7de27df2621
2013-01-04 18:19:44 +01:00
Alexandre Janniaux cb5c8d7bdc Fixes.
Former-commit-id: 85f7bb85e33acdd84d19191c845a1cc59bbb2138
2013-01-04 18:19:13 +01:00
Lynix 45bf5f1f43 Renamed VertexMapper::GetTotalVertexCount
To GetVertexCount


Former-commit-id: fa876c5499664bce31d438ef596373d908c6977c
2013-01-04 16:33:26 +01:00
Lynix 5eac4de406 Added TriangleIterator::Unmap()
Former-commit-id: 8ef858c5374c6701c087d0f4b1644bb6704e1131
2013-01-04 16:32:14 +01:00
Lynix be7afed144 Fixed BufferMapper::Unmap crash when called twice
Former-commit-id: aaf7ead6e93c74c79d6d3e6c3cb743030634eacd
2013-01-04 16:29:53 +01:00
Lynix d4030f666b Added TriangleIterator (experimental)
Former-commit-id: b94f4d4a26a92f4acecf4c53291db80756feb289
2013-01-04 16:27:22 +01:00
Alexandre Janniaux 22d9e98422 Add posix DynLibImpl support.
Former-commit-id: c80dcc31c0935916082d5f19a7cf2dbe15da7b2f
2013-01-04 16:02:21 +01:00
Alexandre Janniaux ce6a63647f Forgot to close files after copy or error.
Former-commit-id: 157ea611926a5d70d1b469714b6b27b78d513f4b
2013-01-04 15:54:39 +01:00
Alexandre Janniaux 9415096975 Add Posix file support.
Former-commit-id: 7bff867c4e43f3755455217887e77c7634d82ca5
2013-01-04 15:52:15 +01:00
Alexandre Janniaux 82b8b2cbf1 Add Posix pthread mutex support.
Former-commit-id: 1a6c8002e3fc70e557f0798a1cc78c3d430b853a
2013-01-04 13:20:12 +01:00
Lynix 1f6cac042b Updated global headers
Former-commit-id: 6d87916542e3ae90e49b326c81a1efdc99eea3fd
2013-01-04 11:50:38 +01:00
Lynix cd80905c0f Removed resolved Fixme comment
Former-commit-id: f65bcdeb368f3b3de6fef0f1d378945c108860aa
2013-01-04 02:38:53 +01:00
Lynix be70e48118 Fixed Model::SetMesh bug with static meshs
Former-commit-id: 5fcccf6ac485528bcdd4f1250a2ba948a50ca456
2013-01-04 02:36:03 +01:00
Lynix 24af375694 Fixed static MD2 mesh loader (Close #4)
Former-commit-id: a894211c7222f64b47efc3d31cb90fc86f944683
2013-01-04 02:34:16 +01:00
Lynix ef5f4617c8 Added IndexMapper::GetBuffer()
Former-commit-id: 5b203ea56f2201f5ff3c6bbdbc7a6573ed59f136
2013-01-03 23:28:41 +01:00
Lynix 23edd637dd Fixed IndexMapper const constructor
Former-commit-id: c8f46bc8b29ff6bcfdbc7fa9b0a01eef68d07a7e
2013-01-03 22:21:15 +01:00
Lynix ab93fb802b Added support to sequential index buffers
Former-commit-id: 68a566ab9bfe0490ba25aeb1c7486722b4a4ed01
2013-01-03 22:08:22 +01:00
Lynix ef0dd580f5 Fixed (Index|Vertex)Mapper header guards
Former-commit-id: e304886a8b439007ded9dc5af2542910f742ec39
2013-01-03 22:04:06 +01:00
Lynix 837f0b52a3 Fixed BufferMapper crash when buffer is nullptr
Former-commit-id: 4f77a158cf93a4d7acbce50ac0454c38ea6cf412
2013-01-03 22:03:46 +01:00
Lynix f43137dc4e Made use of IndexMapper
Former-commit-id: 6496ac4a5a5393363212ee6d452b2ba488aa3354
2013-01-03 21:28:54 +01:00
Lynix 9c76c78c0c Added IndexMapper
Former-commit-id: 994b30f41161855827d920b6c128a5bbd480929b
2013-01-03 21:26:51 +01:00
Lynix 6fb221b479 Added VertexMapper::Unmap
Former-commit-id: b4210cfd864a527fb63ac0b1976acf2c3c198274
2013-01-03 21:25:29 +01:00
Lynix 16cec38f9c Made use of BufferMapper
Former-commit-id: 2b24f9d6cabf9fbf639b2c5e9319aaa304fe809a
2013-01-03 19:42:25 +01:00
Lynix 182c667603 Added DebugDrawer::DrawNormals(submesh)
Former-commit-id: 9a2100f8df288b63d3b64c05871ae42c1fad97f6
2013-01-03 19:41:23 +01:00
Lynix 438d509130 Added VertexMapper
Former-commit-id: 26765f92782b61443544744ac145ccd02a8ed2b0
2013-01-03 19:39:52 +01:00
Lynix 962c330390 (Rect|Cube) Fixed ExtendTo method (Close #6)
Former-commit-id: 066d87f52361d1c30ec6521b637308ee4541bba1
2013-01-03 19:17:04 +01:00
Lynix db86cc4dc3 Added BufferMapper class
Used to map/unmap a buffer automatically and provide a RAII
exception-safe class


Former-commit-id: 2a4fd2e19ce3531639a86520876a3615846b27f4
2013-01-03 16:24:59 +01:00
Lynix 81e95ecddf Improved KeyframeMesh AABB support
When you use KeyframeMesh::SetPosition(frame, vertex, pos), it will now
invalidate the frame AABB.
Finish() method will now generate automatically invalid AABBs before
interpolating


Former-commit-id: aa4695cee635da73e4a3b70ce22e83b1c3f443f9
2013-01-03 15:10:06 +01:00
Lynix 41fb7f7ae5 Removed todo comment
Former-commit-id: da05f6ee8aeb04e3b88c225b9cfded0cb2e70aa1
2013-01-03 12:31:27 +01:00
Lynix c10a4eb94c Fixed keyframe normal/tangent interpolation
Former-commit-id: d4ee3e508945ff3ca85e435a24e520ccce1ebeb3
2013-01-03 12:31:01 +01:00
Lynix 844ab809d3 Fixed warning
Former-commit-id: 93cbeb5f38e5663a0d8960b139c6cd5fc530e695
2013-01-03 03:50:30 +01:00
Lynix 1e5c34d53a Constant buffer mapping returns non-const pointer
Former-commit-id: 37438d554d8733350fcecbbfc4ba0dad46256f73
2013-01-03 03:50:18 +01:00
Lynix 27dcd15d26 Fixed ShaderBuilder requirement
Former-commit-id: 39ddf1db5bec377afd478dcf557925d70925401c
2013-01-02 21:51:37 +01:00
Lynix c998a5c457 Added KeyframeMesh::Get/Set vertex components
Former-commit-id: ff51b02dfd5f0675c33c01f39418312834c5d8a9
2013-01-02 21:51:03 +01:00
Lynix 520643140c Fixed last commit
Former-commit-id: 5034392dbdab232be71f8537638ed75c1c81eab8
2013-01-02 13:41:26 +01:00
Lynix 02f5385eaf Buffer::Unmap no longer return boolean
Made no sense: What do you want to do when your buffer doesn't unmap ?
Tt now throw a warning by itself in case of failure


Former-commit-id: f776af16787316bbe1d55686a1db2c2e0f79d210
2012-12-31 11:30:19 +01:00
Lynix c65f0e9f7e Removed Keyframe mesh lock system (useless)
Former-commit-id: b7e661274510836cb46eb98b6b9e7135d21a4820
2012-12-31 11:20:14 +01:00
Lynix c73d10ab29 Added non-constant access to vertex buffer
Former-commit-id: c0fea611caf6fb48bd0b2ed56897c173f7acad41
2012-12-31 11:14:40 +01:00
Lynix 6fefa3fdd2 Added read-only const access to buffers
Former-commit-id: 555f079e277869bc8f32732f24dfee704e17f324
2012-12-31 11:12:45 +01:00
Lynix e32e012c5a Updated OpenGL headers
Former-commit-id: c2d12f99a4cf2b031c0c7328f6dcf2c511d3406b
2012-12-29 15:58:54 +01:00
Lynix 89c44330b3 Context not longer require NAZARA_RENDERER_OPENGL
Former-commit-id: c0455ca6b74ac29b1b2a25eceaa0b12bc9681b1e
2012-12-29 15:01:34 +01:00
Lynix 0671154f29 Added HardwareInfo demo
Former-commit-id: 8b7bc7f4d45d11702bf28c1aa76fa2c2b47f0918
2012-12-29 14:59:32 +01:00