Lynix
241e8fe9d9
Optimized ForwardRenderTechnique
...
Former-commit-id: a4e035c860ed2fcaeedadd5a41fb9f6251649000
2013-08-10 22:59:02 +02:00
Lynix
13b505f91f
SceneNode::VisiblityTest now use Camera instead of Frustum
...
Former-commit-id: 71199e3e80c5fbd6116d5fedb13276480f4e4731
2013-08-09 19:04:29 +02:00
Lynix
d509fddc82
Added RenderTarget listeners
...
Moved Camera matrices assignation to RenderTechnique
Former-commit-id: c8a4ff4b35d40702f047fdfd3fdbc4e4fbbbb1a9
2013-08-09 18:25:30 +02:00
Lynix
d4cff9946e
Improved ResourceListeners
...
Former-commit-id: 8016c23cb75aab94762a1e2838dbbcac2093119b
2013-08-09 16:28:07 +02:00
Lynix
4b1a6cc09e
Fixed missing include
...
Former-commit-id: 9314ba7a7a528875038e119ddd0cbdc849e2eea5
2013-08-09 15:52:25 +02:00
Lynix
28eff9af30
Instancing will no longer be used under X instances
...
*Experimental* optimization
Former-commit-id: 4dee4905d59739b3ec062ef283d4b7561160e21d
2013-08-09 00:33:18 +02:00
Lynix
b969c24060
Disabled thread_local keyword on directory current path ( Close #14 )
...
Still buggy
Former-commit-id: 2daf33fe93dbac37ff3deccf0ff8df60ac21e9a9
2013-08-08 23:12:32 +02:00
Lynix
2a0ceb16fa
Fixed missing Renderer initialization message
...
Former-commit-id: 4e1fa706954593fc42454689072fea3a6c89668f
2013-08-08 16:31:40 +02:00
Lynix
cfc8e46a99
Fixed search and replace problem :D
...
Former-commit-id: eb57fa9bb8bee5c7b6bb1331f527049ac765c24a
2013-08-07 11:03:48 +02:00
Lynix
e246d390a7
Little optimisation
...
Former-commit-id: a2ddce1e87634a31cf6cb5617013f14e157df80d
2013-08-07 10:44:08 +02:00
Lynix
69d150272f
Remade instancing
...
Former-commit-id: b297ed84e86a714c58d42219cc1dd8337e3a732c
2013-08-07 01:17:20 +02:00
Lynix
c75887f600
Updated and fixed DebugDrawer
...
Former-commit-id: b567c3a02174dbdb68f4e2d549d37c2b2b0a942b
2013-08-07 01:16:51 +02:00
Lynix
98246d0eee
Added some missings warnings
...
Former-commit-id: e1e754d3c48b156f82450829fa2c8eb9af9ab96f
2013-08-07 01:11:06 +02:00
Lynix
6507e1ed2d
Updated buffers interface
...
Former-commit-id: 8c8d60b6b22cc844740dbc3320af65575cec4feb
2013-08-07 01:10:26 +02:00
Lynix
6de41bb9cf
Fixed rare bug
...
Former-commit-id: 057e83b27377c1a8b0d8b652b86c3a2b837c4648
2013-08-06 23:46:26 +02:00
Lynix
1ebaf4749c
Added static assertions to secure code
...
Former-commit-id: 207f1135b3b40cee74fbf8ba98e6fb7379ba8c33
2013-08-03 20:58:50 +02:00
Lynix
19e02a900b
Added Directory::Exists
...
Former-commit-id: 51e6b909b323074401b0200747db35f2e4b1c42a
2013-08-03 20:20:30 +02:00
Lynix
f47ecfe414
Added unsigned int constructor to ByteArray/String classes
...
Former-commit-id: 2b52c0dabcd6fbf4ad33b31ef3cb84e668edcd54
2013-08-03 20:18:12 +02:00
Lynix
ce028e497a
Made current file relative to engine directory
...
Former-commit-id: 7a664df265a1d1b7f9b3594e34418163cc023eda
2013-08-03 17:35:08 +02:00
Lynix
8f593d56f4
Made current directory thread local
...
Former-commit-id: 6d4f42b6ca5102404b543a5b4e6bedee1aa291f1
2013-08-03 17:32:03 +02:00
Lynix
a8ab9e2c74
Added Material::HasCustomShaderProgram
...
Former-commit-id: bdd119b41d5312a65aec2d781a78283343ef4b4c
2013-08-03 17:14:30 +02:00
Lynix
059ea21b41
Added ShaderProgram::LoadFromBinary
...
Former-commit-id: fdc6b06173954bb9c382ed73e7cd9bb0c5fd01a5
2013-08-03 17:14:10 +02:00
Lynix
ae53b01ca1
Added File::Write(ByteArray)
...
Former-commit-id: 7f064cc17d940b5d2e3229264598cb0f1c778c80
2013-08-03 17:13:34 +02:00
Lynix
ccb3adfc1c
Cleaned ByteArray class
...
Former-commit-id: a155b789634cb1e7d875be2f4d1ba6cc896b4212
2013-08-03 17:13:16 +02:00
Lynix
c358e5ab6d
Added option to disable menu keys under Windows
...
Former-commit-id: a596eb7ab2a24a7246d0bf08eeb00a3d746639d8
2013-08-03 00:20:48 +02:00
Lynix
4b783f6f6f
Renamed Shader to ShaderProgram
...
Former-commit-id: 492b12d8bb48cff46ea46c83141b6d5a1540ff8f
2013-08-02 18:39:20 +02:00
Lynix
ea6e9d7d33
Fixed white spaces
...
Former-commit-id: de5ea701a3536c37d72ef3b1fb36acabe3608588
2013-08-01 23:22:55 +02:00
Lynix
d751718a16
Added methods to retrieve shader binary
...
Added support for GL_ARB_get_program_binary
Former-commit-id: 3c23cfd237680f7832d15279af9e4248f9fa4678
2013-08-01 23:22:48 +02:00
Lynix
c276a4a623
Moved OpenGL header include
...
Former-commit-id: 655be533b7c01ae8817530fe434807ca5be62968
2013-08-01 23:21:08 +02:00
Lynix
29ee943871
Made non-filling version of ByteArray::Resize
...
Former-commit-id: 0fec6b5749a786fc1999b9fc718a481d47c52895
2013-08-01 23:14:49 +02:00
Lynix
8f9771ab8b
Updated OpenGL headers
...
Former-commit-id: 78e59741ea4e8b2109bddf6f95d0453a7c40cb5a
2013-07-31 14:22:15 +02:00
Lynix
8dba8599d2
Optimized closest lights handling
...
Former-commit-id: 9db6300cb2a48907e4d558e721a5f63d0c9e967c
2013-07-31 14:19:20 +02:00
Lynix
fc56553021
Better handling of module initialization
...
Former-commit-id: 08d4b87a9b7cc10e672c23374306081fc9259de0
2013-07-31 14:17:48 +02:00
Lynix
48e5af6373
Added NazaraDebug macro
...
Former-commit-id: 5a8cec09bd4a7283f86d030ac2d867cda23736cd
2013-07-30 21:31:28 +02:00
Lynix
f681587c63
Fixed crash if OpenGL couldn't init
...
Former-commit-id: 32feaaa180df7f9f4c02ec5f593166df15aae234
2013-07-30 20:36:18 +02:00
Lynix
4352083c4b
Added ShaderManager (Experimental)
...
Former-commit-id: 327e373f2b932e31184e88c5f29bd5bd8fa3ba46
2013-07-15 00:23:04 +02:00
Lynix
405e14d9ae
Added OpenGL::GetGLSLVersion and ImageLoadStore shader extension
...
Former-commit-id: 97afadc93465132e6a698c5bf88e4ec070aff3db
2013-07-13 17:07:16 +02:00
Lynix
afbd002234
Minor changes
...
Former-commit-id: c66ee9a05270965921c48ab7b9faf3033a59ce20
2013-07-10 21:10:53 +02:00
Lynix
380b65814a
Fixed compilation errors and bugs
...
Former-commit-id: f09f4135cafa7601b217b11b0ebda74789629b6e
2013-07-09 23:54:30 +02:00
Lynix
18cc3b16df
Fixed leaks
...
Former-commit-id: 61b219e69fb048eef08ce03dca3a9cb2741760b4
2013-07-09 01:13:14 +02:00
Lynix
87a4da40bc
Fixed compilation error
...
Former-commit-id: d7354d3ab3de1627e7a6985f4377607c4f87607a
2013-07-09 01:07:26 +02:00
Lynix
5b730f1d4c
ResourceListener no longer add a resource reference
...
Former-commit-id: b249d472b4140b85e4e286552323fde6b9b66bd7
2013-07-09 01:06:11 +02:00
Lynix
588077396c
Defaulted [Point|Spot]Light radius to 5 meters
...
Former-commit-id: 7faefa121b90dcd31c83ea6c5baaae264f1c0960
2013-07-09 00:55:18 +02:00
Lynix
291cdeddfa
Enabled Geometry Shader
...
Former-commit-id: 06e64ab9019bd8f9ad4a4902e7d2bc23070a4383
2013-07-09 00:54:52 +02:00
Lynix
b31771471a
Added automatic uniforms: (Inv)TargetSize
...
Former-commit-id: 382351590abe98dc9ef8f6ab4ecb30c8b42806a4
2013-07-09 00:54:17 +02:00
Lynix
b035852576
Optimisations
...
Former-commit-id: 81d277a49b57f061a6339678bd953054e434c613
2013-07-03 01:17:22 +02:00
Lynix
3c1c04b2aa
Fixed HUGE memory leak (Thanks to Raakz, again)
...
Former-commit-id: 5a0acd6816b95b83484b20dbbdf8c5e9b4e9f237
2013-07-02 14:57:24 +02:00
Lynix
321d4df911
Fixed potential shader bug
...
Former-commit-id: 5309ae4ab70cd7d2f8d29c8e21efacdd9e26cc06
2013-07-02 12:57:56 +02:00
Lynix
eecb0225c0
Instancing should work now
...
Former-commit-id: f1f70d19893030ee87e11e5b4d5a1a7c8a1b9a2a
2013-07-02 00:52:04 +02:00
Lynix
f7681df2eb
Fixed potential bug
...
Former-commit-id: e59fa471b79e9d07b815d69c988aaf2b4ac05768
2013-07-01 20:13:49 +02:00
Lynix
b120e14b21
Fixed compilation error
...
Former-commit-id: 8abcae77e3b62bb9ea1005a92be6bf8c88ae6cbe
2013-07-01 18:31:15 +02:00
Lynix
7d688ec8c7
Fixed some IndexBuffer generation
...
Former-commit-id: cb65a63ee0d8193004b264323941a7d1f214a3c4
2013-07-01 18:11:42 +02:00
Lynix
4abefc3e93
Reworked IndexBuffer, Vertex[Buffer|Declaration|Structs]
...
Former-commit-id: e3f637f2680afda57a444f73b8f7ad681bb1b8a5
2013-07-01 16:14:29 +02:00
Lynix
7172ceaa6b
Reworked (fixed and optimized) matrix handling
...
Former-commit-id: 6148748da07e228a746f51950231126b036b05eb
2013-06-27 19:04:22 +02:00
Lynix
30cb518c74
Added Alpha Test
...
Former-commit-id: 59dc6ef8f1dbff49bb13cf452bf75326ad7a6257
2013-06-27 19:02:31 +02:00
Lynix
9d8ce1ce4b
Fixed OBJ loader not correctly loading alpha
...
Former-commit-id: f90feace73669f4a54e1791dae23b16867bb1d8b
2013-06-27 18:57:14 +02:00
Lynix
984ade783a
Added Renderer::DrawFullscreenQuad
...
Made [Color|Texture]Background use a new shader-based algorithm
Former-commit-id: cfd319b33712c270726eb697e258d61db2ca6835
2013-06-27 12:54:20 +02:00
Lynix
1a6e55881b
Renamed Background to AbstractBackground
...
Former-commit-id: c99ed2e48c4d82fb1100f412a85468c698142815
2013-06-27 12:53:04 +02:00
Lynix
308c2cfd78
Decreased useless OpenGL calls (Optimization)
...
Former-commit-id: b07c32afa9aa98b91eb8bd146a175f693af539ed
2013-06-27 12:50:38 +02:00
Lynix
5b33a992ad
Fixed MaterialDiffuse not used without lighting
...
Former-commit-id: b60d410dcc04b1e9f4d5f55a03390c007539dcec
2013-06-26 20:15:55 +02:00
Lynix
abe56631dd
Changed default material
...
Former-commit-id: 60fe21986d8cdd22e89ea4ccfbb9c5b33ba8eed6
2013-06-26 19:59:34 +02:00
Lynix
57e12a2625
Fixed box generation
...
Former-commit-id: 99534bcd90ffb81ba362ea2c709d68b643a9bdbb
2013-06-26 18:55:09 +02:00
Lynix
245d6e105e
Experimental new algorithm to sort transparents objets
...
Former-commit-id: ad8704584598e1edcd3699d234abaa132d88e581
2013-06-26 15:20:07 +02:00
Lynix
f9c9c67076
Fixed depth buffer sometimes not cleared
...
Former-commit-id: a5bda481479a51787601549a306f3a6b809c6afb
2013-06-26 15:19:29 +02:00
Lynix
0ece160382
Fixed error messages
...
Former-commit-id: 401e78d1e3903210916abf9b7d70a858df805fe2
2013-06-26 15:19:01 +02:00
Lynix
844c6d7d3d
Potential optimization
...
Former-commit-id: 85a2f1836e459a66a29cad5f417f6839390b461b
2013-06-26 15:18:54 +02:00
Lynix
d7a66d08b6
OBJLoader now support transparency
...
Mesh::AddSubMesh no longer return bool
Former-commit-id: 71217618d179c5853683f4615901565cb7cd3ab8
2013-06-26 15:17:53 +02:00
Lynix
f3603a0b31
Fixed model using last mesh materials for new mesh
...
Former-commit-id: 91bd231b45b701b18d6e86eab74afbd141a51ded
2013-06-25 14:50:38 +02:00
Lynix
9a3616f538
Meshes have at least one material
...
Former-commit-id: c1b7fc15541e4e7f6a5eb1b25220dee2978fe9c5
2013-06-25 14:50:14 +02:00
Lynix
b7c4d607ce
Improved interface of Primitive
...
Former-commit-id: bcd4f2eb247c8f7fb59d864884e6ecda5f60afb1
2013-06-25 14:06:04 +02:00
Lynix
0bd70f8df1
Readded DebugDrawer::Draw[Binormals|Normals|Tangent]
...
Former-commit-id: 7e5f98670914da0618d40b2e5fcf49b66f0627a1
2013-06-25 00:31:31 +02:00
Lynix
3b88cd936c
Fixed bug with threads and OpenGL contexts
...
Former-commit-id: 044923d57873f4e1a1eb4001395a83dbe97aabed
2013-06-25 00:26:18 +02:00
Lynix
0e3a4fa90b
Updated physics module (Still experimental)
...
Former-commit-id: 4852b7cf6eca5ba3177397586877fe3d3c39dbd9
2013-06-24 13:33:54 +02:00
Lynix
050f9c2eb7
Fixed (?) potential bug with Shader::SendTexture
...
Former-commit-id: bd59f728396589aec5a420d675cf290019c0c042
2013-06-24 00:31:57 +02:00
Lynix
e78db0feca
Fixed MD5Anim loaders not being unregistred
...
Former-commit-id: b9414a479bdb3aff1560c606239bc1ee79c053f9
2013-06-24 00:29:59 +02:00
Lynix
44fdb48384
OpenGL's VAOs are now used the right way
...
Former-commit-id: 04a944b55d7406bc6028a2d90a5550b0d5e888f0
2013-06-24 00:24:22 +02:00
Lynix
3609f31708
Added std::hash for String, made use of unordered_map
...
Former-commit-id: 20f3d12bc3222873706949f0a7d0a131e237a247
2013-06-23 16:53:37 +02:00
Lynix
3e82794b70
Fixed warning with AMD drivers
...
Occured when deleting a shader created by a deleted context, but since
shaders are shareable, this should not be an issue (OpenGL 4.2: D.1.1)
Former-commit-id: 2427ec045bbb9d7415aaa4f8670b724601a07fe3
2013-06-23 13:17:39 +02:00
Lynix
00c2e824d1
The OpenGL wrapper now handles context change
...
Fixed some bugs
Thanks to Raakz
Former-commit-id: f156ba7aa3307cccd83c9c02987dadad02cd8185
2013-06-21 01:28:11 +02:00
Lynix
35dec6160a
Removed useless code
...
Former-commit-id: 620d12e1e2a0d5c53d9190cd096086e210b08e47
2013-06-19 14:59:11 +02:00
Lynix
17c9461610
Optimized String::GetWord (2x faster)
...
Former-commit-id: 9257614bff0d2a38d089f8073ce7f7de2fa51467
2013-06-19 14:59:02 +02:00
Lynix
3f9faa3a5a
Fixed stack corruption
...
Former-commit-id: 0ec71c8cc8f69d3dbf3b8ffda6556a9eebfeac1e
2013-06-19 14:33:06 +02:00
Lynix
b0c46b2384
Revised String class
...
Renamed String::Substr to SubString
Former-commit-id: 6aa925799e71af6916f7808368a3faa26efbe1bc
2013-06-19 02:25:19 +02:00
Lynix
c1e57c829c
Added experimental implementation of ByteArrays
...
Former-commit-id: c95729bb45059c199344471a61042d98090034c8
2013-06-18 21:07:53 +02:00
Lynix
5886238e2e
Fixed srcBlend not being updated
...
Former-commit-id: 84ae24fdc116c48b91b356810d3637b6510f971e
2013-06-18 18:31:30 +02:00
Lynix
274aa96037
Fixed condition (Thanks to Raakz)
...
Former-commit-id: 57b41719ccfea5d60ca4edb79da5b2f0548a56d5
2013-06-18 18:28:54 +02:00
Lynix
880c2aa32c
Plane primitives no longer rely on normal vector
...
Former-commit-id: 66e1e2a83799055ad773f7b145e569469f68279a
2013-06-18 16:39:46 +02:00
Lynix
433c36f176
Fixed bounding volume not being updated
...
Former-commit-id: 809faf0ed66916b1598cca11f749b31961f2e184
2013-06-18 16:38:30 +02:00
Lynix
ca758f9682
Fixed DebugDrawer drawing black lines and points
...
Former-commit-id: 800ef6a53263bb18d8ca798e421c80309e8c9315
2013-06-18 02:30:01 +02:00
Lynix
3e8ed9b1e4
Fixed conflict between VAO and OpenGL::BindBuffer
...
Former-commit-id: b1182e3b0327a73431a8e81106df9109e9a80cc2
2013-06-18 02:29:31 +02:00
Lynix
9e906c2568
Fixed gl(LineWidth/Pointsize) useless calls
...
Former-commit-id: 6636228886473d140981ed23db0d5dc9781535d4
2013-06-18 01:07:53 +02:00
Lynix
6c659410cd
Made use of RenderState
...
Former-commit-id: 500aba0d0dd60e7371dea6c219d6a5ccfdcbadf8
2013-06-18 00:38:18 +02:00
Lynix
88d3ec1ad1
Refactored Material interface
...
Former-commit-id: 9a00be1b73b2c879fc77c9fdddc0192baa241fda
2013-06-18 00:37:40 +02:00
Lynix
7a45ff4884
Added RenderStates
...
Former-commit-id: c742cf2fc1cac807b9e2bcbd88c2b3d77327c106
2013-06-17 23:58:45 +02:00
Lynix
783e609c8e
Fixed warnings and optimized noise module
...
Former-commit-id: 62840540e2938d08436a22d4e19d801466f1d6ba
2013-06-17 23:58:06 +02:00
Lynix
5e7a6b3a21
Removed thread-safety part of VertexDeclarations
...
No longer required since atomic integers
Former-commit-id: 7c08391a1feee7858eb800789d7c325d2ad0b211
2013-06-15 16:22:26 +02:00
Lynix
b44be269c1
Improved Renderer
...
Faster VAO search
Resistance against texture operation during rendering
Former-commit-id: ad9ec2f0ef81a88cb841add227d6d8fb3ee40d42
2013-06-15 16:21:57 +02:00
Lynix
8595a110a4
Fixed compilation warning (C-style cast)
...
Former-commit-id: 063414bfd23047ce05010546f3cfe5188bd8e9b7
2013-06-15 16:11:37 +02:00
Lynix
a9c53a9c2c
Fixed potential crash
...
Former-commit-id: 2fd792cef599915d9f73a176e462aa8c74b91987
2013-06-13 19:37:38 +02:00
Lynix
bb99d044bb
Nazara now use meters as units
...
Added scale mesh parameter
Added smooth camera to FirstScene demo
Former-commit-id: b3985e10d84512e3b32f2569ac034ba63ace589a
2013-06-13 19:29:59 +02:00
Lynix
3294f18608
Added Node::Get*Direction*
...
Former-commit-id: e9c4f04da7b92965dc1236313ddebf66d0eaad8d
2013-06-13 17:05:21 +02:00
Lynix
97b2e90fb9
Skyboxes now use Renderer ViewMatrix
...
instead of camera's one
Former-commit-id: ba78dd0c5a00a71f933b7f7e091d6d48f58827e9
2013-06-10 16:43:43 +02:00
Lynix
28175f3170
Camera not longer use a LookAt view matrix
...
Former-commit-id: c07e1db9f939bcfe9ef09a1fdab88176f79b61e8
2013-06-10 16:42:17 +02:00
Lynix
f3d0618ae6
Added Mesh::Transform
...
Former-commit-id: c0680b23ff81a10a580934fc24d1ae4a13780595
2013-06-09 22:05:33 +02:00
Lynix
6b2af70f1d
Cleaned interface
...
Former-commit-id: cdd284de8396d5988853c84d5db17bfa6fa0ba51
2013-06-09 22:05:05 +02:00
Lynix
0612e9bea5
Fixed 4bits pixel format conversion
...
Former-commit-id: c03823b24da431d9b85ed2aae0e88ee6045036b9
2013-06-09 22:04:25 +02:00
Lynix
ca5fb44ecf
Really fixed AABBs
...
Former-commit-id: 003979537f2ea5362849df8a65611739aea6d298
2013-06-09 22:03:42 +02:00
Lynix
0f111c149c
Added some comments
...
Former-commit-id: 35179287da54900b2f5ca5cb9213f3df3c2200ee
2013-06-09 16:26:01 +02:00
Lynix
40bf1723f5
Added Node::SetTransformMatrix
...
Former-commit-id: ca5c457f48b12b5603ee6a7629159a74388a9b42
2013-06-09 16:16:42 +02:00
Lynix
3df00608b5
Fixed warning
...
Former-commit-id: 8e4c53e92dc2e5d240aebcb58d817a2a183cb675
2013-06-09 16:15:57 +02:00
Lynix
e689f6f09f
Added Mesh::Recenter()
...
Former-commit-id: 07ef8b3296b835e207bfa904af29546f724e6dc3
2013-06-09 16:15:13 +02:00
Lynix
346415e860
Fixed AABBs being larger than mesh/skeleton
...
When mesh/skeleton was not centered
Former-commit-id: 595b234c20ae0447fe0c2263d4e000d87fea7300
2013-06-09 16:14:51 +02:00
Lynix
bb31a1666f
Added [Box|Rect]::Get[Maximum|Minimum]()
...
Former-commit-id: 5226f2dfd2beaec2bc9075543f555cc48a457e3a
2013-06-09 15:41:57 +02:00
Lynix
c940abdb75
Renamed [Box|Rect]::GetSize() to GetLengths()
...
Former-commit-id: 3c122057634a6472034b284bfe7091acbb41d004
2013-06-09 15:34:36 +02:00
Lynix
7080719287
Fixed some Renderer bugs
...
Former-commit-id: 5a9a4be7282c4b43c47056064d344d41c42cbaba
2013-06-09 11:31:00 +02:00
Lynix
8897531618
Shaders no longer warn when location is invalid
...
Former-commit-id: ca6318b765f18f7ffadcc747465fde6cc76155f4
2013-06-09 11:30:19 +02:00
Lynix
c76c419867
Cleaned interface
...
And fixed some VS warnings
Former-commit-id: 8c89fa1d4dc92a362053e4cdeabe20537fcec2a6
2013-06-09 11:25:17 +02:00
Lynix
f74f9e964e
Replaced Mesh::Build by BuildSubMesh(es)
...
Former-commit-id: c5b034aa764cdda0ea0c48182f2562968a10c226
2013-06-07 12:22:43 +02:00
Lynix
b1d7770570
Fixed compilation error when building for vista
...
Former-commit-id: e6a1948da62dd5837293a9febc706f52c93c60e4
2013-06-07 11:53:29 +02:00
Lynix
4f55f37496
Fixed IndexMapper not working in safe mode
...
Former-commit-id: d85c1336349dea314cd3f59018050c3f8029127d
2013-06-05 19:41:08 +02:00
Lynix
928c0aaaf7
Added IndexBuffer optimization to Mesh parameters
...
Former-commit-id: 073b37fa9ede92f88861110fb4fb0b84d54e26ae
2013-06-05 19:40:54 +02:00
Lynix
ccb6f5b729
Added indices optimisation algorithm
...
Former-commit-id: 89086e814ca11a048949fe0fc6e20648824bbb36
2013-06-05 19:39:48 +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
e480ec5394
Fixed comments
...
Former-commit-id: f13d1b6e7fa8ba78087172d7def6b19c7cf69973
2013-06-04 14:52:27 +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
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
e0229ab390
Cleaned Thread class code
...
Former-commit-id: d8c918c7a3c50ed3ed2f225303540d3860863d4e
2013-05-30 02:59:08 +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
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
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
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
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
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
Lynix
28f46a5c90
Added ShaderUniform (Faster GetUniformLocation)
...
Former-commit-id: c8a01eccde07fc3b2aac46c5b974f8406ad949f0
2013-05-11 14:03:22 +02:00
Lynix
991d841d57
Made String(char) explicit
...
Former-commit-id: 02f5ead8fe60b825464f956d9fc6ea4689bda44b
2013-05-11 13:51:56 +02:00
Lynix
459c7a4d07
Made use of atomic variables
...
In order to replace mutex-protected integer values (Performance
improvement)
Former-commit-id: d40ed2444111f00dab372f2371fe91cfd9cd2472
2013-05-03 23:12:58 +02:00
Lynix
aa1399b750
Updated Renderer.cpp
...
Former-commit-id: 6d87af3cf87cba6ce0192f5e08e978c48cc1de2c
2013-05-03 21:46:23 +02:00
Lynix
44f1309836
Fixed warning on 64 bits (Yep, again)
...
Former-commit-id: 303f3592124dfbd9b15fbaf04ba371cdfe20209a
2013-05-03 11:48:59 +02:00
Lynix
4f3060a40d
Greatly improved Renderer
...
Separated Viewport from Scissor rect
Improved performances
Removed Lock/Unlock system from Shader/Texture class
Former-commit-id: f54bca6de58fe9d495d9192dc0d761f92594ee86
2013-05-03 02:58:35 +02:00
Lynix
76c19624d8
Made PCX Loader exception-safe
...
Former-commit-id: aca42c27d8daa6b0c5412bd61c5fad3016bcd6d0
2013-05-03 02:56:04 +02:00
Lynix
780bcf122c
Nazara now use thread_local (GCC 4.8 is required)
...
Former-commit-id: 09c0c24ede4a6860acfc71b9532f286bd1381dda
2013-05-03 02:55:26 +02:00
Lynix
5aeb9d63b8
Fixed SHA(384|512) not resetting SHA context
...
Former-commit-id: 0bfc4e206b7203a179bf18f6fa16c64fbbfbf169
2013-05-03 02:52:07 +02:00
Lynix
f694c3be40
Fixed warning on 64bits
...
Former-commit-id: eb4c1fb88cc0aec38507c3100650d45deeb4e64a
2013-05-03 02:50:06 +02:00
Lynix
2097d3476d
Minor changes
...
Former-commit-id: 03920c74e2dc63a700d8167318d1bb14b4b68c8d
2013-05-01 01:37:18 +02:00
Lynix
7908839785
Added Window::GetStyle()
...
Useful with external windows
Former-commit-id: 62974c8cdfb6919bc1e85507cc8adc8101daba1a
2013-05-01 01:36:13 +02:00
Lynix
961c658ae1
Changed Matrix4::(Make)Transform argument pos
...
To reflect "TRS" transformation
Also removed an useless line
Former-commit-id: b60a70d04797f40f3490b26706740b375fe38421
2013-05-01 01:35:17 +02:00
Lynix
6699ce328f
ResourceLoader SteamChecker now return a ternary
...
Former-commit-id: 2ee274ebb2b61f39e93f6ff2306b5a326b158594
2013-04-27 11:51:42 +02:00
Lynix
226d291ea6
Fixed compilation
...
Former-commit-id: d676846c22d9a6c3efc168e4bb0734e103bdaddc
2013-04-24 12:18:31 +02:00
Lynix
1e256bdf35
Added Lua module
...
Former-commit-id: 3f96b9aef8afffb5e8daf460480df2f3b8c37da7
2013-04-24 11:51:06 +02:00
Lynix
3ac0338285
Fixed node not copying initial values and name
...
Former-commit-id: c6d9af9a9a3c4b0959be907634fa7db69be72709
2013-04-24 11:49:01 +02:00
Lynix
fdf0c8a71f
Added Node::To[Global|Local]*
...
Fixed Node::Interpolate when used in global coord sys
Former-commit-id: 1963a6c6d3df8b2bc8a3f7a2a7a7102611ca6493
2013-04-19 13:59:57 +02:00
Lynix
3616a126b8
Fixed HybridMultiFractalXD
...
Former-commit-id: eb44374145b7c43012ae70de7a9224154d1a2985
2013-04-17 21:31:30 +02:00
Lynix
3e916c91f0
Fixed compilation error
...
Former-commit-id: 1f0f0fd117c8a1ab2fc17c98d5065ab8bf4f4c00
2013-04-17 21:30:32 +02:00
Lynix
6660b8fd30
Removed useless white lines
...
Former-commit-id: b76756987112244247ef1b99275871dbfe03630f
2013-04-12 16:45:04 +02:00
Lynix
dd01e0bfdd
Fixed warnings
...
Former-commit-id: d4bdb639c3f2e5ebb8d1d3caa020b75ca0821736
2013-04-12 15:12:27 +02:00
Lynix
143707bc2e
Added extern libraries (Made STB one of them)
...
Former-commit-id: 0ca555e9f035600924c7c23fff06bc3810051fdf
2013-04-12 15:12:11 +02:00
Lynix
369c735596
Fixed audio module not building
...
Former-commit-id: 87276c55c56142b8d10b13f2de19ee93b8148432
2013-04-11 15:38:07 +02:00
Lynix
0b8394c6dc
Fixed skybox being affected by previous materials
...
Former-commit-id: 0e8a170c2b4088fcb5ab6c402fd3ba7323ad41fc
2013-04-11 15:37:33 +02:00
Lynix
36f8631028
Added user-friendly method for accessing materials
...
Former-commit-id: 6f254ea6e324b3467a811ba5282f67b6ea078d51
2013-04-09 14:26:14 +02:00
Lynix
38a28c26d2
Added user-friendly method for loading maps
...
Former-commit-id: 4990988256a37c55c6d07b273fd48430221235ae
2013-04-09 11:33:03 +02:00
Lynix
8ff32e2376
Improved error message
...
Former-commit-id: 8f21e6420859cac4153941cf35e34f0d4ba13c87
2013-04-09 11:32:40 +02:00
Lynix
4afe078e9d
Added cubemap helpers for Image/Texture
...
Former-commit-id: 3c0dfb9e9b78369b8a552a55f2c70b978e626ce9
2013-04-07 02:08:08 +02:00
Lynix
633b3bb7ba
Improved emissive mapping
...
Used a different way to achieve this effect, thanks to Fissal
Former-commit-id: c08b82ca1609e73f1dfcc171a515c8456dee86eb
2013-04-06 21:27:35 +02:00
Lynix
b448709836
Fixed OpenGL faces
...
Former-commit-id: 90968526c37926c56d7a569a9c2e0265028d0d86
2013-04-06 20:26:33 +02:00
Lynix
8d8a47da4c
Infallible Image methods no longer return a bool
...
Former-commit-id: 10af51caf639d010b36829bdb82afbcfc908582c
2013-04-06 17:32:55 +02:00
Lynix
c3c3d07be0
Added Skyboxes
...
Former-commit-id: f4153c047d658afb3e42302a34b0263fbac78d88
2013-04-06 17:04:56 +02:00
Lynix
f2942e2b3f
Fixed Image notified destroy when invalid
...
Former-commit-id: 5c14f5356809454d15fc3abdcea1111635f2a2cf
2013-04-06 16:31:29 +02:00
Lynix
578523b4bf
Added emissive mapping support
...
Former-commit-id: f469b1bcada16f0f2350cc10e9dc25fcf3c24abe
2013-04-06 15:07:29 +02:00
Lynix
aa6d4c5b52
Reworked Image/Texture
...
Improved performances
Fixed some bugs
It is now possible to use non-contiguous buffer
Former-commit-id: 0fa7d13a740f62dae511a1549b267e2f2011d5a6
2013-04-06 13:53:45 +02:00
Lynix
1c59676051
Fixed ShaderBuilder code with old hardware
...
Former-commit-id: b837de273f7e685c54c6133faed3a1171222b702
2013-04-06 00:13:25 +02:00
Lynix
dd7025eae2
Fixed operator+(char, NzString)
...
Former-commit-id: ccd06c224bc95e292d0d276af69354f9e5e8d803
2013-04-04 14:06:27 +02:00
Lynix
8694f71c2a
X::Initialize no longer takes arguments
...
Former-commit-id: a8233235e89112630f2d31c637723443bd0829a4
2013-04-03 16:41:57 +02:00
Lynix
d28cee3187
Fixed Noise freeing dependency before noticing
...
Former-commit-id: 8356bad9084622491cf09fd1517fdf19663aa5da
2013-04-03 14:54:38 +02:00
Lynix
98e70f21a1
Made Background::Draw receive const scene pointer
...
Former-commit-id: 2b84f8ea924714d81046f3dd29990939586e7622
2013-04-03 01:47:43 +02:00
Lynix
2c7744af41
Fixed last commit
...
Yep, forgot to test it :D
It should be okay now
Former-commit-id: 3392523240affb4151f5121decb0e458500878a3
2013-04-03 01:25:57 +02:00
Lynix
34dbd19385
Merged 2D and 3D modules into Graphics module
...
Former-commit-id: 33bf0fbe727e50e864bc52680c95a106ada508e9
2013-04-03 01:14:55 +02:00
Lynix
d989069336
Fixed music looping
...
Former-commit-id: 2484c81da5e2f0c0ef72cfbad26e53df129662e7
2013-04-02 01:40:19 +02:00
Lynix
2fb46d6317
Fixed some leaks
...
Former-commit-id: 77aca881473ddd034355248052b5d0ce627cc9bb
2013-04-01 23:23:47 +02:00
Lynix
b4c7818200
CherryPicked commit "Reworked ResourceLoader"
...
Conflicts:
src/Nazara/Utility/Loaders/MD2/Loader.cpp
Former-commit-id: 708c34c80f78cca224012149cf1d8faf37922463
2013-04-01 23:18:28 +02:00
Lynix
2f72939ad0
Added [Sub]Mesh::GetTriangleCount()
...
Former-commit-id: e365bd3aa57d487186a0be5cde1d5b0ba78d740c
2013-04-01 14:33:10 +02:00
Lynix
a951736338
Added default values to MTL materials
...
Former-commit-id: 102be4d1946047b47e05c356227a78d02e6c992b
2013-04-01 14:20:23 +02:00
Lynix
f0445b85b5
Improved Warnings
...
Former-commit-id: 2457d99efb86403c6080b08fd7ed718d40cf9ab3
2013-04-01 03:10:46 +02:00
Lynix
650e317c04
Fixed OBJ loader
...
Former-commit-id: 492b5fa542b8744021ff11de4d0e4492a28203ac
2013-04-01 03:03:02 +02:00
Lynix
8c942ef19b
Improved OBJ loader
...
Former-commit-id: 201392edba571e66d0fab14e63c5c4284494808b
2013-04-01 02:52:41 +02:00
Lynix
425f964553
Added OBJ loader
...
Former-commit-id: 1813ffeece4dbbe73e3d8ddf304c71205c670ffb
2013-03-29 23:10:04 +01:00
Lynix
ce6902d37c
Fixed String::GetWordPosition
...
Former-commit-id: df701345b94a899f91d4f67d270b2da20c23e904
2013-03-29 23:02:58 +01:00
Lynix
4ebd391e05
Disabled default material face culling
...
Former-commit-id: 015ada0b4b9bd66400a0cb4fa380f3a183d63fb6
2013-03-29 16:30:58 +01:00
Lynix
ad978dc85a
Moved normal/tangents generation to submeshes
...
Former-commit-id: d043284a1a5810b429cc76d8bc071010985a523b
2013-03-29 14:48:23 +01:00
Lynix
83b6e429f8
Fixed typo
...
Former-commit-id: c9bce4378a7540595d376a4249a45883e0111f2f
2013-03-29 14:44:53 +01:00
Lynix
3255162d3a
Fixed IndexMapper bug (with null index buffer)
...
Former-commit-id: bbec2fddc8f95cca9c62b0f07dd3d115949224c6
2013-03-29 14:44:46 +01:00
Lynix
b86332a51b
Refactored TriangleIterator/VertexMapper
...
Former-commit-id: b8d4fc79142b36519ebe1879276415fe30970d3e
2013-03-29 14:42:55 +01:00
Lynix
36cb681adc
Greatly optimized file-based streams
...
Former-commit-id: 3adef66ec27b9e423667d2d17b914a3a6c71a4ca
2013-03-26 01:01:17 +01:00
Lynix
ddc900185d
Added String::Append(str, length);
...
Former-commit-id: a1c16d5966221cffe1f28b20f099922078360818
2013-03-26 01:00:29 +01:00
Lynix
ee03ec8c6b
Fixed last commit
...
Former-commit-id: e3340822fa8772adef371e9d0395aa97ed66f081
2013-03-25 14:29:39 +01:00
Lynix
56feddb100
Added Scene::GetActiveCamera()
...
Also fixed a warning when instancing is used without lighting
Former-commit-id: 5326e95f99a58ffcc91d7942ec2991482d7e58bd
2013-03-25 13:27:18 +01:00
Lynix
5dd2d0d6a7
Changed Resource::SetPersistent default argument
...
Former-commit-id: 803534a0216d85f96e6f6f7810e5e76ebcc8bb44
2013-03-24 01:07:01 +01:00
Lynix
b5d73ce389
Added ModelLoader
...
Changed Model::SetMesh behavior
Former-commit-id: b1c937b22bcebeef8b8fc42ff061dbf8ece8d2f1
2013-03-24 01:03:21 +01:00
Lynix
be894c5555
Fixed material texture loader leaks
...
Also made it exception-safe
Former-commit-id: db2b96d11fd6d604861911b2f4ea268b7fd3d5ad
2013-03-24 01:01:53 +01:00
Lynix
5464b3e184
Optimized some format conversions
...
Thanks to kristofjé
Former-commit-id: f7c0e5da41b7b7b4c967d7ae812b6da517761823
2013-03-23 22:50:13 +01:00
Lynix
7ddff94a30
Added (move) assignement operator to Model
...
Former-commit-id: eee1b92633656e47454218583f8e8bdabcddc157
2013-03-23 22:49:24 +01:00
Lynix
8f21a75c43
Reworked ResourceLoader
...
Former-commit-id: 9809e7fcd3657dfe90a0795986d0918f4ae1823c
2013-03-23 22:49:06 +01:00
Lynix
a3a1538d9b
Fixed RenderTexture
...
Former-commit-id: b67e9e5f49eb6339cf01cb4fa147ad9ed989d873
2013-03-22 17:44:26 +01:00
Lynix
ea2cc97169
Added Texture backgrounds
...
Former-commit-id: 8aa98a9b8bee5fbf1b5eefa958a7b9095b784cf5
2013-03-22 11:15:17 +01:00
Lynix
aecc5919d3
Slightly changed scene background behavior
...
Former-commit-id: c005ff83e6251d62e3471e6a7a07d3d1a8acdd88
2013-03-22 11:14:55 +01:00
Lynix
5390bd49f0
Fixed pixel flipping (ex:horizontal was vertical)
...
Former-commit-id: 8fb8e6949ae1d2c3d53e42b979f1716e25d3bba9
2013-03-22 11:14:11 +01:00
Lynix
ccea00b12e
Added backgrounds
...
Former-commit-id: e3959b04a124978c473bd6330047b5fd6ac27b19
2013-03-21 23:02:11 +01:00
Lynix
ce63985b0e
Fixed Drawable destructor
...
Former-commit-id: 01ff3c3c86dc0bd3f25b51384b0751d3767aa9ba
2013-03-21 22:55:16 +01:00
Lynix
a65a6f14b5
Fixed and improved String::IsNumber
...
Former-commit-id: 5b3dbfb349b64d227670cb891e2c7ef43606a56a
2013-03-21 17:32:13 +01:00
Lynix
5ac36d99ef
Fixed scene visible updatables
...
Former-commit-id: 9633d7049bbe9d5f6b304ab8e9702fae93540018
2013-03-20 17:07:07 +01:00
Lynix
29d66892b7
Fixed RenderQueue not clearing generic drawables
...
Former-commit-id: d510f8c0e817a42e2ca4db755ca68b3a6d99ab9a
2013-03-20 17:05:29 +01:00
Lynix
6999a60c3d
Fixed crash with NzShader::SendTexture
...
Former-commit-id: 6851bb0842f32f5b34a3e8075cfeac6501d18914
2013-03-20 15:42:22 +01:00
Lynix
35ea331357
Fixed Material::Get[Height|Normal]Map
...
Former-commit-id: be0f6df3d5ec5bf0c6a45969b433442e7a8af521
2013-03-20 15:41:24 +01:00
Lynix
929c0db82d
Added glDrawTexture (NVidia extension)
...
Former-commit-id: 51d43d7423adeef0f0f0c0de5c633ee3d3b6ce2a
2013-03-20 15:41:06 +01:00
Lynix
6a7eb137d7
[Index|Vertex]Buffer::Fill now takes discard arg
...
Former-commit-id: 384ffdb12d82c1e960249abcaf407ccbfe0939cf
2013-03-20 15:40:37 +01:00
Lynix
c280457196
Fixed some shader flags not compiling
...
Former-commit-id: 4ae22cf904044b453247b78179083483efebdaf5
2013-03-18 21:09:07 +01:00
Lynix
086408f95f
Renamed FillInstancingData to SetInstancingData
...
Former-commit-id: 081209d333fc8884a453e9052acfaac653d3133b
2013-03-16 01:08:28 +01:00
Lynix
200f46b442
Reworked texture samplers internal
...
Former-commit-id: d26f8f12ccc1730519c6fa7d4bec725a0396d9f1
2013-03-16 01:07:00 +01:00
Lynix
d969e2ea3e
Fixed resource reference bug
...
Former-commit-id: ee523acdc69ee00580644290b05e72b75ab6513d
2013-03-15 03:12:28 +01:00
Lynix
4ec2b7a120
Fixed possible bug with old hardware
...
Former-commit-id: 96cc4312570bd6b16fe6c5b4f9dee41bc2769580
2013-03-15 03:10:38 +01:00
Lynix
6c2fb1eb89
Added ResourceRef (Automatic resource reference)
...
Former-commit-id: 97a0b2732f4dc443b8e1676e68b33b1b53ddf4fb
2013-03-15 03:09:58 +01:00
Lynix
4ee6ca05ed
Minor prevent fix
...
Former-commit-id: b07c861f348d0f232c365b63c46f2d41ee476b0e
2013-03-14 16:01:56 +01:00
Lynix
73c1b9508b
Improved ShaderBuilder
...
Former-commit-id: 345b6389f3da460a6c4d6959a7fe808542f5f609
2013-03-14 16:01:46 +01:00
Lynix
677536c4b2
Updated some error messages
...
Thanks to Shade "Hawk eye" Master
Former-commit-id: fb18a5aaa9d368ebec271c9016d4058089cefcf5
2013-03-14 00:19:05 +01:00
Lynix
6b2690ef30
Fixed files encoding not being UTF-8
...
Also updated copyright texts for some files forgotten in the last commit
Former-commit-id: 79f158a7943c32f76a9a1e80fba109f15a3b7346
2013-03-14 00:14:16 +01:00
Lynix
32b1d02cec
Updated copyright texts
...
Former-commit-id: 81483f7a94935c925e53b7f450e42635b1357833
2013-03-13 23:23:41 +01:00
Lynix
9ee273f550
Added ignoreEvent boolean to Mouse::SetPosition
...
Former-commit-id: 6dcb701a51c7bc58b105dd42f7ad44371fd0c92b
2013-03-13 22:41:47 +01:00
Lynix
b2318b5261
Tried to fix Windows unicode messages
...
Former-commit-id: bf4680a4507545d7d91171efd86e6265c07e7343
2013-03-13 17:49:13 +01:00
Lynix
593fec134d
Added lights bounding box
...
Former-commit-id: 9ab45181c8b0586e9d4040d48d756683e88dd8fe
2013-03-13 17:10:58 +01:00
Lynix
efd0f5eaf6
Fixed FBO extension not loading on old hardware
...
Former-commit-id: 5353ce64e5c2508f7cbc624139e4c823c86bf0fc
2013-03-13 00:31:59 +01:00
Lynix
c67b0d709f
Added protection
...
Former-commit-id: 1e5f0c1421fda868a3a1ef59a92cc0a2ca2e5c47
2013-03-12 23:35:59 +01:00
Lynix
5cc0ce4758
Fixed shader bug with old hardware
...
Former-commit-id: c1d70b72de7a469b6cf29268d4351ee257dbae5b
2013-03-12 23:32:14 +01:00
Lynix
e2da6627d4
Fixed possible compile error (Thanks to MrFraggy)
...
Former-commit-id: cc58636d84925229808da26436e41331e6ee8482
2013-03-09 14:16:24 +01:00
Lynix
c55a222324
Improved comments
...
Former-commit-id: b387e7eb487de22cc06a9a526ad974fc0625879d
2013-03-08 12:17:42 +01:00
Lynix
dca6b6d41f
Added comment
...
Former-commit-id: 081cceccdcfeb491606c8d7f36810a7374e50ec9
2013-03-08 01:20:50 +01:00
Lynix
5890f26291
Removed useless header
...
Former-commit-id: 2672f3b9f7df3bb21973868e384d3f2d77b36d3b
2013-03-08 01:20:35 +01:00
Lynix
39e54474dd
Added Window::Close (soft way to close window)
...
Former-commit-id: 9d47ed3ed38d62928f3cb6356fed07501b5e92d5
2013-03-08 01:20:26 +01:00
Lynix
9f780ef2bd
Optimized Buffer locking/filling
...
Former-commit-id: 41cb66257f3eeef375086bf51f26230a06ca9eb8
2013-03-06 22:40:15 +01:00
Lynix
aa67a52e9c
Added glInvalidateBufferData loading
...
Former-commit-id: faf3a0848548107302ab64f15808212da71d3e64
2013-03-06 22:39:39 +01:00
Lynix
11564191bc
Added missing Leaks.cpp in Audio module
...
Former-commit-id: 08ca6828bd1161295c951b2afdf8e44cfae66f74
2013-03-06 13:42:09 +01:00
Lynix
2fe693f24d
Made scene propagation works with Node class
...
Former-commit-id: b587ea907f70dc08cd741f64e4e6f3201cd1783e
2013-03-06 13:34:22 +01:00
Lynix
62afc9d5dc
Fixed missing Leaks.cpp in 2D/3D modules
...
Former-commit-id: 2e059122d2ef7500638037ecec45af8fd66c5f3a
2013-03-06 12:57:15 +01:00
Lynix
619dd3e894
Added TODOs
...
Former-commit-id: 6f8c5810232a204d9a00c66436d342a2cd126202
2013-03-06 00:57:05 +01:00
Lynix
f4a5ddc26b
Added reference of Camera::SetTarget
...
Former-commit-id: 5a3d1f28de326325093d358e32991ce2c404ec84
2013-03-05 15:08:46 +01:00
Lynix
7e60bc2d81
Fixed missing RenderWindow::IsValid code
...
Former-commit-id: bb2b8ae50755198fd0af9db1764eb01935ff1ee7
2013-03-05 13:34:30 +01:00
Lynix
0e49132cd9
Added visibility state to SceneNode
...
Former-commit-id: 5325e268a4276d6e2e3e72648641ca03225ab4da
2013-03-05 12:09:51 +01:00
Lynix
e26728c424
Removed Keyframe animation type
...
Former-commit-id: 807c81e9b738dbb443c3101026f7b5bdff32a931
2013-03-05 10:54:58 +01:00
Lynix
a97da928a2
Merged MeshParameters into ModelParameters
...
Former-commit-id: 187541bd30255f64758d96b80e6280842699124d
2013-03-05 10:42:18 +01:00
Lynix
078e590f9b
Little optimisation to scenes
...
Former-commit-id: 10401f5ef4a0233ef503747fb2422406245dd296
2013-03-05 10:40:50 +01:00
Lynix
cdda9706c3
Added target parameter to Camera
...
Former-commit-id: a0f27d4a37aba8cfc9a2feba23866e95e7e90ea1
2013-03-02 19:09:46 +01:00
Lynix
cd48d70844
Made Context/RenderTarget usage constant
...
Former-commit-id: 07a2655ea642664bc49ca335cf5147ebf9fb9f26
2013-03-02 19:09:13 +01:00
Lynix
2f85b258e9
Fixed normal lighting rotation
...
Former-commit-id: 06c71dd9d5ee90fa9d3fbce8e87dcff6b8a455d9
2013-03-02 19:06:24 +01:00
Lynix
636b9d3f50
(Node) Added name getter/setter
...
Former-commit-id: 56ec0721abfba836a12c8a2de7f7c909f58a6c37
2013-03-02 01:33:58 +01:00
Lynix
ab1fc99fcd
Big 3D update (WIP)
...
Former-commit-id: 9f55dae0521bded91640a7ea2d223a49a378c97c
2013-03-02 01:29:44 +01:00
Lynix
8fa54c85a4
Optimized conversion
...
Former-commit-id: f4c463c1dd42a5f8e90bc7796c88a175ceb2bbef
2013-03-02 00:28:39 +01:00
Lynix
eda1f5ebab
Added 2D module
...
Former-commit-id: 4e1ad41928e04e9de4b4288b973f37b6eb0755db
2013-03-02 00:28:22 +01:00
Lynix
eca2ec3115
Stabilized TaskScheduler (Still buggy)
...
Former-commit-id: a604c6616065342b21d2c11c27974ec11935a852
2013-03-02 00:26:48 +01:00
Lynix
b4d7e16749
Updated Renderer
...
Former-commit-id: 74ad349814a5624cdf1c61bfb9e0123b82be06f2
2013-03-02 00:22:49 +01:00
Lynix
c3b2a0a03f
Fixed RenderTexture bug
...
Former-commit-id: daedd6e95b7825389438585cbaff60ae07a07eef
2013-03-02 00:21:10 +01:00
Lynix
0df64e03ae
New mesh policy
...
Former-commit-id: cc5854d55e1e4bb83e5e081434b87ec22fcb8bff
2013-03-02 00:17:40 +01:00
Lynix
347b267d43
Added shader flags
...
Renamed ShaderBuilder enum to ShaderFlags
Former-commit-id: b3440bac5491f0a0a90cbd7f9ed8e396c16c0864
2013-03-01 21:54:41 +01:00
Lynix
d0a6a75f14
Fixed Skeleton AABB
...
Former-commit-id: ac29bc9fd1bdf3d7c0d937460a7d12d61e242f65
2013-03-01 21:28:45 +01:00
Lynix
bb4c747e0b
Buffer::CopyContent takes now an const buffer
...
Former-commit-id: c7a44c3198a24a60a26ab3cc04f75f4cea159979
2013-03-01 16:11:39 +01:00
Lynix
3b0751fb88
Added support for Instancing
...
Former-commit-id: 62f5f3186423b01f7a0ac2762969dca12bea1327
2013-02-26 01:40:57 +01:00
Lynix
1b5215d4c2
Removed AxisAlignedBox (Replaced by BoundingBox)
...
Former-commit-id: 931dd6710caf49aeaede51efe209d714f080c44b
2013-02-21 18:28:32 +01:00
Lynix
2828ced694
Fixed tangents/binormal not being normalized
...
Former-commit-id: 1d2d90bc76ddc590cde07607ac4cf3189d4e365e
2013-02-21 02:43:10 +01:00
Lynix
add363a290
Moved AxisAlignedBox to mathematic module
...
Former-commit-id: 2cb5b151941a431b5c12457f0decf7b39195052d
2013-02-19 12:32:11 +01:00
Lynix
d56900fe01
Added DebugDrawer::Draw(Frustum)
...
Former-commit-id: 595204759c54ccc1e7cec38fe3e26b6b3400e723
2013-02-19 01:24:46 +01:00
Lynix
8fff32e145
Changed comment
...
Former-commit-id: 5d7f268bd8f49402f98c426c561d38a50ce4fa34
2013-02-18 04:03:05 +01:00
Lynix
8b192a8cae
Fixed AxisAlignedBox::ExtendTo warning
...
Former-commit-id: 696ce9e1625df33857425e0d758ee135d53c5064
2013-02-18 04:02:54 +01:00
Lynix
857d2dd9ed
Replaced std::map with std::unordered_map
...
Not possible yet with NzString-key map
Former-commit-id: faa628a1c9c10e7bc009bf5a67e112ad5f873bd8
2013-02-17 14:08:12 +01:00
Lynix
60d41f3c4b
Moved AxisAlignedBox::GetCorner to Cube
...
Former-commit-id: 59509594e6cda19089b93efd8dc77ab7bd20250c
2013-02-17 00:51:16 +01:00
Lynix
f14a68fc04
Fixed ShaderBuilder bug
...
Fixed: When GLSL 140 is supported and MRT is not (As reported by
Renderer), then the ShaderBuilder will write incorrect code
Former-commit-id: 38080a5685634b2da21eadbb1939a21e00cc48de
2013-02-17 00:36:00 +01:00
Lynix
3a4fb198e8
Fixed TaskScheduler leak
...
Former-commit-id: 3c8a5217fdd89f4ad7acad86a184420a6abf9e2f
2013-02-15 13:41:52 +01:00
Lynix
f5cc6ba8fc
Added FIXME comments
...
Former-commit-id: a26466fef726879d1e73f09aa1448711ffdcc0b0
2013-02-15 13:40:58 +01:00
Lynix
43b5e493f6
Added face culling boolean to materials
...
Former-commit-id: ed651beb3545b85d5496bb5739c4caa9c81df8a3
2013-02-13 01:35:01 +01:00
Lynix
8134704d88
Refactored HardwareInfo code
...
Former-commit-id: feafd33838718cc37843a599049af419e554951a
2013-02-13 01:34:20 +01:00
Lynix
9ce7903b63
Fixed core not initialized
...
Former-commit-id: 8eaaeae007e92d419fa9ee4e84bcf94c2aa30492
2013-02-09 17:12:03 +01:00