Lynix
0e99205046
Fixed rendering
...
Resource encoder now store unsigned char instead of signed char
Former-commit-id: 648dd1d55facd40bc37075291782a54cbbc4811f
2013-11-26 15:25:43 +01:00
Lynix
a8a0bcf005
Made SSAO load its noise texture from memory
...
Former-commit-id: 69d5cd81c728e49be846c2be89d65ca2cd3e1e9b
2013-11-07 00:00:15 +01:00
Lynix
05f8b88b4d
Disabled SSAO
...
Results were just terrible
Former-commit-id: 294b8729f876fe1b7af79520a4616b3f79c2ed3c
2013-11-06 23:59:10 +01:00
Lynix
c647b61904
Fixed MemoryStream::Read crash when just skipping (null buffer)
...
Former-commit-id: 46072c0ebd093bcfa1e7f54d11deb034cbc55dae
2013-11-06 23:56:20 +01:00
Lynix
f722d83955
PluginLoad now return an int instead of a bool
...
Since it's C-exported
Former-commit-id: 77ac90bd7151b086c555ffed50066991910e3cd8
2013-11-06 23:55:44 +01:00
Lynix
2489f46fb7
Changed default plugin directory
...
Former-commit-id: e730d1bfcdc339f8279084f3305488bf0aff5d3c
2013-11-06 23:55:10 +01:00
Lynix
7f7e8d8567
Fixed ErrorFlag not being exported
...
Former-commit-id: 0b24f1beb68333806bb6b29786e1ea05a0802638
2013-11-06 23:53:55 +01:00
Lynix
b7b65d7119
Added Deferred Shading
...
Former-commit-id: 926022d6306144e2f87cd293291928bda44c7a87
2013-10-22 12:54:05 +02:00
Lynix
37c45153af
Fixed whitespaces
...
Former-commit-id: 56787f5a0cf0093ad63b33a8b4746968215e2a11
2013-10-19 18:28:15 +02:00
Lynix
cb007b48fd
Fixed compilation error on POSIX
...
Former-commit-id: 92c425519f250d15f4fe71d2e08e987b965dac70
2013-10-19 18:28:05 +02:00
Lynix
d97d4b62e4
Fixed missing files
...
Former-commit-id: e1f774f034503628ae7fbaa292142f5b6d1082ab
2013-10-09 10:55:37 +02:00
Lynix
3cbcc527cd
Added Sprite::SetTexture
...
Former-commit-id: 275e689110fe7b86159b895a3016a64f1103effb
2013-10-09 10:14:17 +02:00
Lynix
0f382fd1ad
Added new RenderTechnique system
...
Former-commit-id: 6d65a4537232bc705333c696f2478d47f16e074a
2013-10-09 10:14:17 +02:00
Lynix
a88fe446bd
Made use of lambda functions
...
Former-commit-id: d7d81da2a9fc73c9b3e44d292bda9fd47ac561f3
2013-10-09 10:14:15 +02:00
Lynix
14eda38cac
Made static_assert useful
...
Former-commit-id: 135783fe3ee3f5304309dd6948f0a83a349e62b2
2013-10-09 10:14:14 +02:00
Lynix
eefd0ddd35
Fixed Texture::Update behavior
...
Former-commit-id: 8d1de49226b72b3f1e063b9da87c3391bce9ea95
2013-10-09 10:14:13 +02:00
Lynix
282291ffad
Fixed error message
...
Former-commit-id: e75016a246fdc912575cd82e3ac93b9e4e952e20
2013-10-09 10:14:13 +02:00
Lynix
239ce4e323
Fixed Render[Texture|Window] crash when released while on use
...
Former-commit-id: 30b4bd5b7eb7b665cecfe6366117b7a3b4290202
2013-10-09 10:14:12 +02:00
Lynix
185b450c64
Improved Lighting
...
Former-commit-id: 6ac2d8ec9a3b283a8179e5f0bb5d5896ec57a14b
2013-10-09 10:14:11 +02:00
Lynix
b01fad269e
Improved Texture mipmap support
...
Former-commit-id: 0fc3e003a6524e5c026712a3dc695cf80817ea88
2013-10-09 10:14:10 +02:00
Lynix
8ce5f879a8
Improved RenderTexture class
...
Former-commit-id: 0126eeefce5512a504024e1c0ef2e5f1345003b3
2013-10-09 10:14:09 +02:00
Lynix
a410e8856a
Improved Error system
...
Former-commit-id: ddd08841d30575713f4a28ac02566f92791e5539
2013-10-09 10:14:09 +02:00
Lynix
672cbaed1d
Optimized OBJ loader
...
No longer loading same material twice
Former-commit-id: 21e1842600722f4ba3c02816fbfc016a6e5175c5
2013-10-09 10:14:08 +02:00
Lynix
dbbc931df1
Fixed MTL keyword "tr"
...
Former-commit-id: e5e4ff0a9f7adcc7ba01f9e1586794a9357f3218
2013-10-09 10:14:07 +02:00
Lynix
14a939d785
char -> const char
...
Former-commit-id: 2ffdcff37f29286517fb33c1b56151405f84bc53
2013-09-23 09:54:13 +02:00
Lynix
1a561e42ff
Added Light::SetLightType
...
Former-commit-id: 8f55cd7b3941496e97795ca920c7a657e555eeab
2013-09-23 09:49:03 +02:00
Lynix
96974a9d2b
Fixed Light copy constructor/assignment operator
...
Former-commit-id: dadf40b2e3a58ed32d9f38b8fea8d60d2297b767
2013-09-23 09:44:43 +02:00
Lynix
05712da240
Fixed MD2 translation
...
Former-commit-id: dfae1a1d0588c41fb647580623af7a69d367a01e
2013-09-23 00:25:11 +02:00
Lynix
06cda62c9a
Fixed Model "Mesh" loader not using mesh parameters
...
Former-commit-id: 5fd20c30c3d9afa2651ddd17ca74dabf025ec826
2013-09-23 00:24:31 +02:00
Lynix
cd46555acc
Fixed Spotlights
...
Former-commit-id: c802da26d010dcf7df6f234be204690e718634a6
2013-09-23 00:23:28 +02:00
Lynix
aa4d5f5ab8
Fixed typo
...
Former-commit-id: 291aec9c9969efdadd90017ea6cb81466c2d06e2
2013-09-23 00:22:46 +02:00
Lynix
2fd86dc406
Added texture rect parameter to primitive generator
...
Former-commit-id: 5efc0fd1bcc2aad9cd4b75ff9fb8b29d84bfd363
2013-09-21 09:05:37 +02:00
Lynix
3167531b39
Fixed some VS warnings
...
Thanks to Fraggy again !
Former-commit-id: bd0eea66714701b065892d8b69d576e7b3615dd2
2013-09-21 00:10:10 +02:00
Lynix
cfa282bcca
Fixed missing file from commit b373633
...
Former-commit-id: 1e9fc525f0d72e6c80028d0d456518a4c290e0c7
2013-09-20 21:47:35 +02:00
Lynix
8073e70090
DebugDrawer will now auto-initialize
...
Former-commit-id: 62756d6aa2e4cc25be93cb27c4698cfb3fc0e6d8
2013-09-20 16:21:50 +02:00
Lynix
197bddb6ba
Transformed "Encoded shaders" into "Encoded Resources"
...
Former-commit-id: ead4cc9bb162d2f9e5c08756575e84f3a9056679
2013-09-20 16:20:51 +02:00
Lynix
15fa8378c9
Added a lot of methods to send uniforms
...
including arrays and integers vectors
Former-commit-id: c365cccdbad7eab1a1212e78759d7fda857012f9
2013-09-16 01:01:59 +02:00
Lynix
ffb993c864
Fixed [Color|Texture]Background not rendering
...
Former-commit-id: a3bb4bd62176fea7ba88993b445b55e72c2c1835
2013-09-07 22:06:50 +02:00
Lynix
7d2981d9a2
Fixed Skybox not rendering
...
Former-commit-id: e2b40de7b096853edca855df6824f4c832d78bcc
2013-09-06 23:29:48 +02:00
Lynix
b2dd572cfd
Fixed warnings
...
Former-commit-id: ad7f020dde35087ed4c4fa81b531d5b9e74fc134
2013-09-06 18:38:13 +02:00
Lynix
19a5a3e433
Updated Deferred shaders
...
Former-commit-id: 8f8f7529f952a65bfe1a34a06e3fdd5bd900f138
2013-09-06 18:35:41 +02:00
Lynix
a7e0ec5984
Shared ShaderProgramManager flags to both fragment and vertex shaders
...
Former-commit-id: 10a5b3493df9c1e756702f572c90fbbd6e697039
2013-09-06 18:32:28 +02:00
Lynix
c1dc2884b0
Forced Backgrounds fragments depth to maximum (1)
...
Former-commit-id: 98af132b7cc61469af752d1210dfb03e0c9b63ec
2013-09-06 18:31:04 +02:00
Lynix
fee15472d4
Fixed RenderTexture warnings
...
Former-commit-id: 0d9b7c6f27727f7e9d08fab00c18f55d6278c02b
2013-09-06 18:25:14 +02:00
Lynix
6732761108
Texture are no longer associated with a RenderTexture
...
Former-commit-id: 4430c36afd081f20b89322ca1e0c2b8c4ef73ce5
2013-09-06 18:23:24 +02:00
Lynix
d4abb8fc49
Made stencil per face side
...
Former-commit-id: 093f2125886d47ebc79f97aaecfad3a5216f399a
2013-09-06 18:17:58 +02:00
Lynix
1ed8ea8ad5
Fixed missing files from previous commit
...
Former-commit-id: 0a757b5cfda97dd6f88d5a17b8dc41329c139d32
2013-09-06 18:05:39 +02:00
Lynix
e92f388c65
Renamed FaceCulling enum to FaceSide
...
Former-commit-id: 7847dcd64e0b23d261a9ec07f3bc1a3c162985e5
2013-09-06 17:59:48 +02:00
Lynix
52b0ed7e72
Fixed compilation error
...
Former-commit-id: 32c37e6af9fcdb3409b32e84e8765657c2201a68
2013-09-06 17:50:54 +02:00
Lynix
0dd56560e2
Renamed StencilOperation_[Decrement|Increment]ToSaturation
...
Replaced incorrect "ToSaturation" part by "NoClamp"
Former-commit-id: a0bb122a332bdae291a8a7d46474980574ae168e
2013-09-06 17:43:34 +02:00
Lynix
9d4f7250aa
Added RendererComparison_NotEqual
...
Can't figure out why it was missing
Former-commit-id: cf243f8a081208cc97924d802611d0e3376d8135
2013-09-06 17:41:14 +02:00
Lynix
10f7d185a6
Added conditional rendering
...
Former-commit-id: 30c062a469ad5f534b95a33c07c92c89036aacf7
2013-09-06 17:38:34 +02:00
Lynix
e60b1c010e
Added OpenGL functions
...
glBlendFuncSeparate
glStencilFuncSeparate
glStencilOpSeparate
Former-commit-id: 61d1a9fb2fe92232bee4421d8a4770a03f33d7ef
2013-09-06 17:23:32 +02:00
Lynix
66a64fb71c
Fixed GpuQuery bug
...
Also added GpuQuery::GetOpenGLID()
Former-commit-id: 2a5d01a945ffeb576b5dce6756dbffcc511c237c
2013-09-06 17:17:47 +02:00
Lynix
cbd7b1c36e
Fixed crash
...
Former-commit-id: c4c873820026dfb348da515fa7bb0d4e6f97aba9
2013-09-06 17:17:20 +02:00
Lynix
0fd535a9e8
Added a lot more texture formats
...
Former-commit-id: b3a553ea39a174d84c5cd6fcca853ee83c1e6670
2013-09-06 12:07:38 +02:00
Lynix
ae7c54a9fc
Fixed LightManager crash
...
Former-commit-id: c9be4c0ee3343818c8b50b6fef29f64c198795e0
2013-09-04 00:19:33 +02:00
Lynix
bed20692a6
Fixed OnResourceDestroy callback not called by the destructor
...
Former-commit-id: 8b961101f88343ddd3bb382d2c333052efb03164
2013-09-03 13:57:32 +02:00
Lynix
76abb5bf16
OcclusionQuery renamed to GpuQuery, and added query modes
...
Former-commit-id: b36a9b623653ac9b1eb422b09b3781ef46b81aca
2013-09-03 13:49:17 +02:00
Lynix
00fe872f27
Added matrices inverse to Renderer uniforms
...
Former-commit-id: 06333817aa0537e6dae80f8c72061f206023256a
2013-08-28 03:07:17 +02:00
Lynix
b1cd99a08b
No more useless shaders will be generated
...
Former-commit-id: 9bc30fc69aac0c3c531b9fc56dd204ee70bfdf3f
2013-08-28 03:06:25 +02:00
Lynix
df8449c13e
Added HDR texture formats
...
Former-commit-id: affa3c0842d3918977c48483bf485ac17e218448
2013-08-28 03:05:46 +02:00
Lynix
866ff64548
Added Texture::GetSize()
...
Former-commit-id: da4b31cf95f605f83da17f63bc9a6dbd1d8b35c6
2013-08-28 02:52:47 +02:00
Lynix
f69d2f13e5
Changed light model
...
Former-commit-id: bdf192bd83dbb5ae3ce8c46d6414e5b4fbc0047a
2013-08-28 02:52:09 +02:00
Lynix
f679f323c2
Made scissor rect/viewport Recti instead of Rectui
...
Also greatly optimized Renderer::Get[ScissorRect|Viewport]
Former-commit-id: 87945543144216715520a4c3ab30629636995afd
2013-08-26 13:37:33 +02:00
Lynix
7d9eac7660
Refactored code
...
Former-commit-id: 95c723425cc2ac626b5ddd6d77f69e0a4b0a630a
2013-08-26 13:36:41 +02:00
Lynix
75de88066b
Fixed crash
...
Former-commit-id: 4388600646138181546d59d6602b1e1cacaf59ec
2013-08-26 12:27:27 +02:00
Lynix
7f2888a346
Remade shader encoder
...
Former-commit-id: f96b33ed36650931c78b58fae6d7fc7f68efab20
2013-08-26 10:46:58 +02:00
Lynix
aafcd6bd03
Fixed crash
...
Plus fixed transparency comparison
Plus optimized material comparison
Former-commit-id: d812adc54e8ae529cd1a1fd29202f6aaae97544a
2013-08-26 01:01:26 +02:00
Lynix
cb6563775a
Fixed sprites vertex shaders
...
Former-commit-id: a4e69ceee77e91749853911038d624b74ceaa049
2013-08-26 01:01:02 +02:00
Lynix
72a57fbf4c
Fixed crash when resources in use by the Renderer are released
...
Former-commit-id: 98eedb556f0387f0a5c1cafde2fc74645d1d0457
2013-08-26 00:40:45 +02:00
Lynix
f1dc7b98e5
Separated Shaders from Manager
...
Former-commit-id: 7faddbd38bd729b2778f09be3f98105ef5219740
2013-08-25 19:55:03 +02:00
Lynix
881d6eb3e2
Fixed Camera/View not activating RenderTarget
...
Former-commit-id: 69b332f3e0b7e4ddb296fa5c32804b84af557e0c
2013-08-25 01:35:01 +02:00
Lynix
6aa401b0fb
Fixed GLSL error with OpenGL 2
...
Former-commit-id: 4d7b1d56b793742c58129dd900b23202ffa4e41a
2013-08-24 22:24:25 +02:00
Lynix
bf4b762a5d
Renamed CORE_DUPLICATE_TO_COUT to CORE_DUPLICATE_LOG_TO_COUT
...
Former-commit-id: fc877ab4467261e052f167e39471bc8b3b0b6c5e
2013-08-24 21:59:21 +02:00
Lynix
3e132cb445
Fixed crash with RenderTexture
...
Former-commit-id: d084da6fed345fa8a03023898578be75e10d8ab9
2013-08-24 21:58:58 +02:00
Lynix
24e56790cc
Fixed transparent model rendering
...
Former-commit-id: da363be3b19951ae49996fe9d05998420e80911f
2013-08-24 16:22:55 +02:00
Lynix
1493da0466
Increased user-friendlyness
...
Former-commit-id: 9611bb08f0be314d65453b88d84c36299d9a22af
2013-08-23 22:05:17 +02:00
Lynix
3bca9803ca
Fixed order of rotation
...
Former-commit-id: 1b7b714192fdd4a4ad54fbd6e79f4570b0f584e0
2013-08-23 22:04:18 +02:00
Lynix
57df82a82f
Made skyboxes not using Depth Buffer
...
Former-commit-id: 1370ab047a750f5f52bc905d26f4fc9892fbb69c
2013-08-23 13:17:12 +02:00
Lynix
7fa8f3dafd
Moved Model::EnableDraw to SceneNode::EnableDrawing
...
Same goes for Model::IsDrawEnabled() => SceneNode::IsDrawingEnabled()
Is Drawable is now a pure virtual method from SceneNode
Former-commit-id: 217c6a21a98206ee0b283aaa216d419696a70faf
2013-08-23 13:16:42 +02:00
Lynix
fe6816b089
Fixed buffer corruption bugs ! (Yeah !)
...
Former-commit-id: 3e2c82a786810a160d324f8ccf284f8e505613a0
2013-08-23 12:52:52 +02:00
Lynix
198d13be20
Enabled Frustum culling for Sprites
...
Former-commit-id: 5c5bf7da97f10b43c204bb336c2e979899f506d0
2013-08-21 21:17:39 +02:00
Lynix
6556acfa32
Merge branch 'Graphics-Update'
...
Former-commit-id: 9855f235dd21d47d1cd9da8c3c0b4ede41e74472
2013-08-21 20:05:50 +02:00
Lynix
c8414a39d8
Big Graphics update
...
Separated LightManager
Added Sprite class
Added View class
Camera is no longer a SceneNode
Fixed Material not invalidating programs
Renamed CameraPosition uniform to EyePosition
Renamed VisibilityTest to FrustumCull
Former-commit-id: ff7fbe4d9b31a3c269baab0b48c6faa347a12161
2013-08-21 20:05:33 +02:00
Lynix
a6f26ff336
Added Window::OnWindowResized event
...
Former-commit-id: 61262182892d2dae3defb239e751cd4b996a5ad6
2013-08-21 18:48:15 +02:00
Lynix
2bc30f4638
Improved error message
...
Former-commit-id: 5d40418cbadf107929c1a359a4415bd9aedf978a
2013-08-21 18:47:45 +02:00
Lynix
1e6fe40707
Optimized WindowImpl::Get[Height|Position|Size|Width]
...
Former-commit-id: e482fc04a632e5338601627f7dd7c6f0fe18d135
2013-08-21 18:46:29 +02:00
Lynix
f73c99d502
Renderer::Clear now takes UInt32 instead of unsigned long
...
Former-commit-id: ea276bb13e4d5334422eb685ec1a9d908d6f9895
2013-08-18 21:00:04 +02:00
Lynix
e31a670041
Minor changes
...
Former-commit-id: 5954ff863d8f51d7ed47a1b84ae9ff0a5348ecce
2013-08-16 00:27:42 +02:00
Lynix
699328aa1f
Fixed rare bug when creating VAO
...
Former-commit-id: 79ee6055feeb683ffc762d581fbe834a68d0bcef
2013-08-16 00:27:00 +02:00
Lynix
42a1b9cbe6
It is now possible to initialize VertexBuffer without VertexDeclaration
...
Former-commit-id: 3f8e82925dea8644384b4ceb962a06101bccc1a3
2013-08-16 00:26:35 +02:00
Lynix
3569ef531f
Added error detection
...
Former-commit-id: f105f9bb1a31769844076a1053968a047cff89fc
2013-08-16 00:24:16 +02:00
Lynix
dc2762aade
Fixed Node::OnParenting callback not called
...
Former-commit-id: a6a88b0edf40910e80fa1c4e23637cd9a42c851e
2013-08-16 00:23:53 +02:00
Lynix
cbc92364f4
Fixed rare crash within OpenGL::[GetRendererName|GetVendorName]
...
Former-commit-id: a5b12a391178eef87129c9c8c9a58e7016a6279b
2013-08-12 22:03:46 +02:00
Lynix
5bc3d3b46e
Fixed OpenGL Renderer and Vendor names
...
Former-commit-id: ce962b69924f6e78e51b6f2e86f1b6cccf7dc13e
2013-08-12 01:09:01 +02:00
Lynix
09e3027129
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
...
Former-commit-id: ea9e193d2cd3a4dca31c570037ea7b6c12edb826
2013-08-12 00:54:21 +02:00
Lynix
5085e0b43f
Fixed crash caused by String class
...
Former-commit-id: 642c9f06e81e00dbd65a149e4fd72d2d90848f77
2013-08-12 00:53:27 +02:00
=
244c4d96e9
[POSIX] Fix ConditionVariableImpl.cpp compilation errors.
...
Former-commit-id: d6cd13392acfa62329bf0efe9957d553bbc5657a
2013-08-11 19:44:26 +02:00
Lynix
dbbbde0575
Fixed POSIX support for NazaraCore ( Close #15 )
...
Former-commit-id: 7fee4f65f1306698a8e399a7d4b0593b68929d33
2013-08-11 15:53:53 +02:00
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