Commit Graph

715 Commits

Author SHA1 Message Date
Lynix a186a66b1f Added NAZARA_DYNLIB_EXTENSION macro
Former-commit-id: bdf82a80846fd599328d2f9ff4454d9050eda091
2013-01-15 15:43:46 +01:00
Lynix f338cc3609 Added Resource::GetResourceReferenceCount()
Former-commit-id: 1e07449a9a28887f2fd6fbc211590b360ec16dc1
2013-01-12 18:53:44 +01:00
Lynix 4a28e42d4d Improved Node interface
Former-commit-id: cbc204748d8cf30771743f26270324dee6ada242
2013-01-12 01:38:58 +01:00
Lynix a00d2d4c12 Increased source code reserved size
Made ShaderBuilder slightly faster


Former-commit-id: 412b2cd6e6081d4ccf5d6497244f3fa1f9800d32
2013-01-11 23:16:17 +01:00
Lynix 507022db7c Added light class
Former-commit-id: e2969fe35720e1ea2f982a86197237a50bef1389
2013-01-11 14:40:02 +01:00
Lynix 38d2a08968 Fixed MD2 leaks
Former-commit-id: 8bf46de1995fef13889c122c38dc59655bf8311f
2013-01-11 14:39:45 +01:00
Lynix c108deb999 Fixed specular mapping
Also made code clearer


Former-commit-id: f27a9214f356218fdf7e75003317a1678079fe2a
2013-01-11 14:37:50 +01:00
Lynix f8aedb2df1 Fixed reference bug
Former-commit-id: 9340098ca4eb052dabba384e9b7cee9130667104
2013-01-11 14:33:56 +01:00
Lynix 5a40e0d373 Fixed DebugDrawer color
Former-commit-id: 08b654b1d3002c76634f8ca3b2aa57e66f33e7ae
2013-01-11 14:33:43 +01:00
Lynix 842890e12e Added optional argument to Node::SetParent
Also fixed Set[Rotation|Scale|Translation] within global coordinate
system


Former-commit-id: 7808de7c3044f7b9261b22b7db521aad00d63c9b
2013-01-11 14:28:00 +01:00
Lynix e5731bee91 Added shader support to materials
Also fixed a lot of bugs related to materials


Former-commit-id: 54086eb3aa36c1a7b31b55056967275e6c24a4c6
2013-01-09 20:15:42 +01:00
Lynix e3293c6fe1 Added normal mapping
Former-commit-id: 7e54b1f01de7d5cf99c42d08d13ba606f73c453d
2013-01-09 01:36:18 +01:00
Lynix 946754d7be Added specular mapping
Former-commit-id: 329bcfc6b3d92809538c9416578329f11c6ef56f
2013-01-09 00:34:39 +01:00
Lynix 81472079c4 Optimized lighting shader
Former-commit-id: d8fb14c7ffe7dd4ec436661dc6b698f76ab900cb
2013-01-09 00:17:16 +01:00
Lynix a6c109ca1d Reverted back default GLSL version to 140
If supported, 110 if not


Former-commit-id: 65ae51fa9fa9c437d17de2e8b3158b8c2897dc80
2013-01-09 00:08:36 +01:00
Lynix abb806f27b Updated ShaderBuilder to support lighting
Compile into 150 core GLSL (or 110 if not supported)
When the ShaderBuild fails to build a shader, it returns the default
shader


Former-commit-id: ca04a6968bb104b9a63d40025d7eeba813a588b0
2013-01-08 18:38:00 +01:00
Lynix 093d0ab0b5 Changed default material ambient color
Former-commit-id: ad2260abbe06940413ee2cdabd58176364b54365
2013-01-08 17:31:59 +01:00
Lynix e6cef2ddbf Added move constructor/operator to Shader
Former-commit-id: b947e0ac0dcddcfe64c83b63cf89df0e0850cbd2
2013-01-08 17:31:42 +01:00
Lynix e194d11374 Fixed color alpha not being sent
Former-commit-id: 0f7d355b22790aa5487ff69b325c41613a94961e
2013-01-06 02:47:46 +01:00
Lynix da341001ab Made shader uniforms less verbose
Former-commit-id: aa77b9be3f84cad30b13ebe5d47bb9febd17631e
2013-01-06 01:06:55 +01:00
Lynix d177971810 Merged changes
Former-commit-id: 3431062688bcc29574e7611391d8cd356d484e9b
2013-01-06 00:21:49 +01:00
Lynix c93e8eb585 Updated shader convention
Vertex input are now prefixed by "Vertex" (VertexPosition, VertexNormal,
..)
Same for Material input (MaterialAmbientColor, MaterialShininess, ...)


Former-commit-id: 1fbf8b8b32546a21ee23ff83714c860a9a8fce4f
2013-01-05 23:52:41 +01:00
Lynix 492d01cc09 Fixed HardwareInfo OpenGL include
Former-commit-id: d45ca9ac45a883a5378d527ef3ffe6594dcd02f1
2013-01-05 23:42:13 +01:00
Lynix f294372b72 Updated credits
Former-commit-id: 35969a749f3478f256d3379c4a4ce0f11dd602f8
2013-01-05 19:51:52 +01:00
Lynix 62d238d236 Fixed spaces
Former-commit-id: 2045fa2b37d3f0cbcd9d9d9cdcadb962ea07ecd0
2013-01-05 19:51:40 +01:00
Lynix e6198f6b3d Fixed default value of shininess
Former-commit-id: c640ed5b74cc56bf9b4acf8af4fad40be1c55e76
2013-01-05 19:51:28 +01:00
Lynix 07aa5d095c Fixed matrices not being updated in the shader
Former-commit-id: 8eb208b656bec0d63163d2a00768a4216979a8b0
2013-01-05 19:51:01 +01:00
Lynix 78b6874d08 Merge pull request #10 from danman5555/master
Fix compilation error for POSIX files.

Former-commit-id: 4b4afe42ae8b43015bedf5a9ce215358e21840bc
2013-01-04 17:02:52 -08:00
Lynix 29755989fd Fixed specular color not being applied
Former-commit-id: ab41e431e2f9ec0f9b3cd81d032f6218c7114c5b
2013-01-05 01:54:14 +01:00
Alexandre Janniaux c2e197bda5 Fix compilation errors for POSIX files and make premake4-linux executable.
Former-commit-id: bb094585a678b983e25b55c4fab00665e66f64c5
2013-01-05 01:53:54 +01:00
Alexandre Janniaux 9e0d263694 Merge from DigitalPulseSoftware.
Former-commit-id: 17a2c31780b5e9b000a953d3a21fdfc8080bd21d
2013-01-05 01:17:58 +01:00
Lynix dba9470baf Fixed POSIX DynLib implementation
Former-commit-id: 17142fc657e5f6332f980ab9180c071e9de20280
2013-01-04 23:23:32 +01:00
Lynix bedd0bc152 Added premake binaries for Linux and MacOS X
Former-commit-id: 8b58750a2b4e101cc5f3b622a1be13fa5a3b6e8b
2013-01-04 23:13:26 +01:00
Lynix 80d4159faa Added DebugDrawer::DrawTangents
Former-commit-id: 9116b5a878752ff193073ac6c156ddca54f8c501
2013-01-04 22:02:47 +01:00
Lynix e00779ebe0 [Core] Added POSIX support (Experimental)
Thanks to Danman
I don't think it actually compile although tried my best to correct
code.


Former-commit-id: c3366c2c924f7392f4d46824dafca63ecf7f1fea
2013-01-04 22:01:06 +01:00
Alexandre Janniaux aaac162d12 Fix merge conflict with DigitalPulseSoftware.
Former-commit-id: 5c7fa12d8461b1b1600cad0a657ad7f6d3932cc7
2013-01-04 20:47:48 +01:00
Alexandre Janniaux b8bc59988f Merge branch 'master' of git://github.com/DigitalPulseSoftware/NazaraEngine
Former-commit-id: 4d6ef07eaae20b252db101910a9528a9aad606da
2013-01-04 20:44:13 +01:00
Alexandre Janniaux eab132e187 Merge branch 'merging'
Former-commit-id: df8fe7c6c673848922ffa2f6ebd3b1549bd1429b
2013-01-04 19:52:38 +01:00
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