Commit Graph

272 Commits

Author SHA1 Message Date
Lynix 645e4aed17 Examples/Particles: Disable compatibility profile by default 2016-12-28 18:11:19 +01:00
Lynix b4db169312 Try to fix branch 2016-12-03 00:58:01 +01:00
Lynix e6e4a437bd Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-11-30 13:08:08 +01:00
Lynix 89aca11913 Example/FirstScene: Fix typo 2016-11-27 12:39:34 +01:00
Lynix fd605ade12 Add new particles demo (Space battle) 2016-11-24 12:14:58 +01:00
Lynix 0fa50ade91 Example/FirstScene: Fix compilation 2016-11-24 10:15:27 +01:00
Lynix df24519230 Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-10-27 18:36:47 +02:00
Lynix 22ff8c488d Example/Build: Fix Tut00 build 2016-10-17 13:25:51 +02:00
Jérôme Leclercq f309cee8d6 Example: Fix compilation of Tut00 after Physics change
Had some trouble with spaces
2016-10-14 20:12:21 +02:00
Jérôme Leclercq ed3f98ceeb Example: Fix compilation of Tut00 after Physics change 2016-10-14 18:33:53 +02:00
Lynix d59fd12824 UnitTests: Try to fix AcceptClient error
Former-commit-id: 2545ccc482b0726c23b85e12a3aaa294837676c1 [formerly eda50f108c9d8a4991b59346f47be1850b690f26] [formerly 8b467d645f61cc8b2fcb20318f5c8d792d3fe247 [formerly 287e1abaacb666890183535fc62fa33499f96e83]]
Former-commit-id: 40325f685aa612016580d887e8fec111a0845594 [formerly 37695b3f6793e947d79c37b023b9f388b6d888d3]
Former-commit-id: 7c6a7d60223733a253d05b52592146ddb51705b8
2016-10-09 14:05:07 +02:00
Lynix 42db00a52c Example/Tut01: Improve background color
Former-commit-id: 883a1115cb7fee2581c8a00db0e194482cf6561e [formerly 29bf1560e1953cf52b5c78ccff06cd4505412da3] [formerly a455d8601a37dff40f7f19b3298a7bab86f721ac [formerly 845a30ade4c32adba2d3b031c5bdf85ebbefb7bf]]
Former-commit-id: cda183f3e044cf0798db4e356fc053286e22613d [formerly 17e2ff120bc690719ae5f9eb466afb8fb7728270]
Former-commit-id: e1cd50d13b37cfc293a0405093e0fb57f3990c58
2016-08-29 13:32:16 +02:00
Lynix b91eac9935 Example/Tut01: Improve background color
Former-commit-id: 68e17a9e3537eb9fdcbb2598a135f79d64d63358 [formerly 31e48638ffe15d3736b5f7031a1ee694943e9dda] [formerly b66e37c14d914da006d9430b2ac970c0bdb8b926 [formerly 18438817c43953af720614a1c5f719d77ae6db0c]]
Former-commit-id: 55e1b25146184f89cba9b1ff1ee7519db6fbd9e6 [formerly a23adc4f2e2973e6623ffec4c08ab3039ae11e20]
Former-commit-id: e0c98071bf64cd3ef4d9f6c335606368626ae74e
2016-08-29 13:32:16 +02:00
Lynix f0787cb505 Sdk/Application: Add command-line arguments handling
Former-commit-id: 9f98c2fea531e23540c213d3c1e4c85391fc9e1a [formerly b3cb8fff86ac0a754b72baf9e6278f20b407ef17] [formerly 8665dec44d98961698bdeaa63e670e2e15de7d1d [formerly d8dfeaae490b2efd430599f2b1fa02c531aa4de6]]
Former-commit-id: 51c00f9263c4c7e193bf2ca8de860e03e9d0f402 [formerly d09b90f14e62f85c0056bf4ba872d9975efde1eb]
Former-commit-id: f82b2332083d6d6099ebece01e239c99d15f3b5f
2016-08-28 21:47:29 +02:00
Lynix d9d2347688 Sdk/Application: Add command-line arguments handling
Former-commit-id: efe6c5a1d911bb78314f8819575699874f5101e8 [formerly a9b33eea0b4b261d3e3a63d8949512f737dbe1e1] [formerly bd00d4e8009ff0efa74e6a27d78960f6d3d72c17 [formerly 17b26899d0c158c77ea0ab4cfa243e92c2145b6b]]
Former-commit-id: 4caea7e656e3718e1d462c5ed280aa6353368166 [formerly b82d884df55141a10251e84e54e0a40f84db2a5e]
Former-commit-id: 3798d603338416b18a4d427cf8b3cb87bac12ff6
2016-08-28 21:47:29 +02:00
Lynix c1835575c6 Example/FirstScene: Setup Spaceship and World lua variables
Former-commit-id: c113b91b5b13018cecab3e54fd74a92f728745eb [formerly ee0a0b6d6bfe0a1b66a85bf00700bbd2665a71b1] [formerly 626c1b3e83cf5c1d6fb381c75a93da461c2fcdbc [formerly 70589bc22f397ac5e3e3981e1e6963dafaf498f6]]
Former-commit-id: 86c08c93a0f18ef60d9cc2d73f229ce6988c81c9 [formerly e9a73b6e5d65a109fe92e13c81625d9a3e54b2a1]
Former-commit-id: 567a523fd81ac349eb7268299e928396d20dedca
2016-08-28 18:26:35 +02:00
Lynix 65740ac8ae Example/FirstScene: Setup Spaceship and World lua variables
Former-commit-id: 7d37419cc0636bc1271660cf4518a0c08332f364 [formerly cd5984e732b464c9d31ed34ec072b9039b07163d] [formerly 43de557c346987fa965b60a88eb5a08c7a73e5e5 [formerly 671d1bde65cf2ee3dcb69711d59bd3c8ebde6a1a]]
Former-commit-id: d52eed5ca2f7b4a12139b560278051349d4c5947 [formerly 322c6e78f8a487fb5dcef586d74d792d27065d6a]
Former-commit-id: 3c7b7d706d45ea2731708b502364bb1dad7b3a56
2016-08-28 18:26:35 +02:00
Lynix 07fe2f560e Sdk/Application: Add Console and FPSCounter overlays
This allows any Nazara-powered application to enable a ready-to-use
console or a working FPS counter


Former-commit-id: 2b1c7ae5a7c72ea1c102734841f4e25742c2b42b [formerly f1fece5295a0a43147396752b3c61d84e0d7fc74] [formerly 40eff1e79a68fb5e0b7e1d4d6528fec318fed74c [formerly b17ee1558babcd4ed89525e447fb9c4e58b67033]]
Former-commit-id: 1e1297789e402d25e7b5324dceebbbe8021a2217 [formerly 1c62735c3ff7f53efbef3e45c2284739fc22ec32]
Former-commit-id: 3d331aae0e7db884e36d07b095a9d25a1dbe7926
2016-08-28 18:10:09 +02:00
Lynix 6872616ca4 Sdk/Application: Add Console and FPSCounter overlays
This allows any Nazara-powered application to enable a ready-to-use
console or a working FPS counter


Former-commit-id: 274b276313b530ff8c99f3e0fb43c8b78689d787 [formerly 36e3a7e9d0d050af4b217311bde4496597e37c37] [formerly 69146c2fc6887f86b9c39d0265a95a4ba003f41e [formerly 72a66d7a31ceb87197b800813c90d43f73fc26b4]]
Former-commit-id: 3fda987313648101b8a423e5e3aa8b0cd67a1c72 [formerly 5f9d42cdc5ed5443846531bad26059f66670df63]
Former-commit-id: 2ef1496fb4a379e14f9c11c788da306eff465719
2016-08-28 18:10:09 +02:00
Lynix 1a7ac46893 Example/FirstScene: Fix event handling
Former-commit-id: a3d33e15303aee7de339f1bc6ba84866fcaea524 [formerly 391d9095d6b64cf1409f12ab62f1b95a721e8489] [formerly a609374620028cae9cc3f3ba66efda909bb33479 [formerly 2f3dbf79330334123da1e6ff0edd74ec9c8f53b4]]
Former-commit-id: 69d9719acc6ba619e60b8580f4ba49bb543cbe9f [formerly bb65e744b18ef7e185c2960c5f07223a057a5496]
Former-commit-id: 08a99a0241402466ac4463807b1127060095f827
2016-08-28 01:22:47 +02:00
Lynix 6c031d7bed Example/FirstScene: Fix event handling
Former-commit-id: 3df87a66a47ed6c920ada5e82382c08fc43f74ac [formerly ac9e4cec56ddf7d6ab52683b8bb46bf93693ebd2] [formerly 9929ba33dde25afe7d6610bf7194c6e4fcf65b08 [formerly 50ebcce013b250739688ead06e428e56a59d2fbd]]
Former-commit-id: b30b4d96c2d4203705224511e99536cabd21bbb9 [formerly 48a867c50010f962f8a7609fab094290d274414c]
Former-commit-id: aea00b4a975d02a16fe3c10e2a67a0bf8bbf2ac4
2016-08-28 01:22:47 +02:00
Lynix 618449c13a Utility/Window: Add new event system, based on signals
Old pooling-based system remains for now but is now deprecated


Former-commit-id: 803c6f51e8287613610ede8433bef8112bc70352 [formerly 9f60f0fabea7fa0d0d62feba217e28c421522e36] [formerly f05d3dededee17402669ec9e4060c95d77c74bb4 [formerly 5b96073b92c3a10a5c485abcc7c33ecedb819fca]]
Former-commit-id: 4280c668fb5ec67c0b765a80516b9b4fe466135d [formerly c8ce15aa230bf2f1040b00153ec81aa1f39ef48d]
Former-commit-id: 71893d639b5e1628776d8a4577b0309437865c16
2016-08-28 01:08:38 +02:00
Lynix 9fa65db6b9 Utility/Window: Add new event system, based on signals
Old pooling-based system remains for now but is now deprecated


Former-commit-id: d72e76bab0887baa03286aed78f7ded0a2e31928 [formerly ec70c388b12fb2b91017e54f4a6d67bac1c62335] [formerly 1a6692f78aedb5328b223c04c566d32467db6c92 [formerly 64b8d386ff07df682760ec632d753545ecff7856]]
Former-commit-id: aba6a64e2a31336ae1835bc9954d22488fda2000 [formerly a42eceabc84044a258926385db3944ada398f4fa]
Former-commit-id: 07a208c5693749b325e8574b52e7affa298bb147
2016-08-28 01:08:38 +02:00
Jérôme Leclercq 40763370b9 Example/HardwareInfo: Fix generated file
Former-commit-id: 52bf3fe6fae3381602479acc4c3eff893ce1bd2f [formerly 6ee9d195ce38bf504de0c9b56be4efe0878c2fa4] [formerly c5b7e5223a061866b3dbaa5ba90a4f22b8af66dd [formerly a8ebb981b3161b7610b1f62dbeaace151cc92d54]]
Former-commit-id: 8a13ef79c41673716f8ddce6b9085f69e38ee429 [formerly a6b9c3201bc80717308147b42b082b5a4d0260cf]
Former-commit-id: 8f4ca3784b3ce027eea7a6b69e2418aef02824ee
2016-08-20 17:12:20 +02:00
Jérôme Leclercq 1018daa1e5 Example/HardwareInfo: Fix generated file
Former-commit-id: 630e7c09a608ae3442d7f75ca7957938db505cb5 [formerly 886fb7052439151c752641117daa78a8d2f8d2ef] [formerly 2ad36b2270b027ecb31330a021229d60aad6e94e [formerly c641ef9008276b7891b2509cc78281c52f22a1e3]]
Former-commit-id: 7f3ec7800d291c3ac45ed2ed69b51b96564ada4f [formerly 3df9d6ce614593a2b3dfaa28dc88ef50a432def5]
Former-commit-id: e4fff6791544525cbeb0e9b2de43c8845475fad6
2016-08-20 17:12:20 +02:00
Lynix af01e7242c Utility/MaterialData: Remove CustomDefined
Former-commit-id: 4c3c2012ae06bdc4679fed40ee6ad50027664a8f [formerly d0454f47bbecdbb2513d7afc629b00b53543f671] [formerly 07f50ad9e366215fc51280232c26cc8cdbf8236d [formerly 27fbbc6106dc22f72d3ddb382049672e82833cd8]]
Former-commit-id: e45fd2e87fcadbdf0a56c410d6c1ff36d9ea4b4a [formerly 0453e3ba57d326859fc78105b741cd7f1cb97bd6]
Former-commit-id: 9f7082ef9da8e8baefaef5c141e630ba99b32a83
2016-08-04 01:12:06 +02:00
Lynix 00fb383f70 Utility/MaterialData: Remove CustomDefined
Former-commit-id: a3051df8a12d596901043b142ee1fa55a2481644 [formerly 97b1364fc5ba7f22bb28479f0edb351db8e7cfff] [formerly 49730b561eda3f1350e87b2c99c48c04f45c849a [formerly e20bc09b46ea5a6555ef887b1db3a6f7f2b7cb3a]]
Former-commit-id: 78f2eff516042ec38f0f61ab9b4263d968c0488a [formerly c6e7d6d63628402d8a58cf8e95dbb0509d07ff03]
Former-commit-id: b269a6e53c5205aa27ef921f348367f1affde02e
2016-08-04 01:12:06 +02:00
Lynix e0e0b448b1 Build/Examples: Fix HardwareInfo console
Former-commit-id: 125fd04e48974f979ee277462f1b4deba95a480c [formerly c7fd2400cbbd0bacdbbf63a48b292f3860dd87c8]
Former-commit-id: 559e8f5501ee847ad5f405d105750153d90db4fa
2016-07-12 08:14:05 +02:00
Lynix 58b014eb95 Build/Examples: Fix HardwareInfo console
Former-commit-id: 0e23e60d138e896aa162ddfadda25ef16b2330fe [formerly 87731440d2a891659f6ebcbeaef220ee8a542739]
Former-commit-id: 8b7aa329f80c332e5f3c5174942607ebc2b6de27
2016-07-12 08:14:05 +02:00
Lynix 53517ff634 Examples/FirstScene: Add console and Ndk::Application
Former-commit-id: 3eeb8a0cfdb26b0f9f27713cea85b006ecaeafab [formerly d406ae7f2f01bf6cdf2bf1b4c4e620276acb6433]
Former-commit-id: 9415e852e0b001c843bfa4cc862a7f061bf0c456
2016-06-20 09:05:22 +02:00
Lynix df4f11681a Examples/FirstScene: Add console and Ndk::Application
Former-commit-id: b30ca2913565a794178eb9776861ec08de96d68a [formerly ebcbf5f3c8196e2023312be7e24ccbeb06c272c8]
Former-commit-id: 0ea97849de843faee78c5702f273a911f08c115f
2016-06-20 09:05:22 +02:00
Jérôme Leclercq 752fd3d4d2 Examples: Fix compilation of FirstScene
Former-commit-id: 8534eca8f43c4d3f6114dadd0400d8a4620bbc07 [formerly 1c1c6961b43355862474e8c8c9de3b25d3376931]
Former-commit-id: 4b6bb56832f2d5088ebb8614a4e8720a8f5a3112
2016-06-18 07:04:15 +02:00
Jérôme Leclercq a66db53057 Examples: Fix compilation of FirstScene
Former-commit-id: ee50f2617a3e35ea5355f4b5b9615cfcb512a539 [formerly 14d411c4eb64a9dd2cac24da6365fbfbab34e021]
Former-commit-id: 393cb9925049b92f084d4a7eb5a20fc86956f185
2016-06-18 07:04:15 +02:00
Lynix 7cca8401db Build: Remake install system
Former-commit-id: deb30606621cac3e2142a797158f5472e219d573 [formerly 834b361d6ad2f3cb3626985874996b13b98d5985]
Former-commit-id: c56755b94f8f35bbcfae36528fd41aa8db77c7e9
2016-06-12 11:39:31 +02:00
Lynix 49650a94f3 Build: Remake install system
Former-commit-id: 5103cd29d3959802747d7d06bc9b90bc272215d4 [formerly 7c3ea867b6439d721f255306d812b5d10a3efe1a]
Former-commit-id: 5b5ab11770402db34a14df80b9ad6c1ce3fecaca
2016-06-12 11:39:31 +02:00
Lynix a8439756d8 Examples: Add empty project for testing purposes
Former-commit-id: aacd1ad6385b7d3a190343473b822160eeadc5f9
2016-05-30 13:50:52 +02:00
Lynix dc4510d5cf Examples: Add empty project for testing purposes
Former-commit-id: bdecb65da518637c42e608e77ac49fedeb24ef00
2016-05-30 13:50:52 +02:00
Lynix 044882bb31 Build: Improve build
- Help linux default to 64bits build in case of 64bits OS
- Fix linux linking with tools


Former-commit-id: 31ea427401fd4fb12b453e8517b2cb4f24ded094
2016-05-30 08:48:22 +02:00
Lynix 6959e0bde6 Build: Improve build
- Help linux default to 64bits build in case of 64bits OS
- Fix linux linking with tools


Former-commit-id: c6444a691a8b0be6e85b284c60cc3f43056eee01
2016-05-30 08:48:22 +02:00
Lynix acdabbc432 Examples: Fix MeshInfos since material update
Former-commit-id: fc8768a889c59e761983e20d9633dd0dee720a6a
2016-05-05 21:50:44 +02:00
Lynix ed3b9f9a21 Examples: Fix MeshInfos since material update
Former-commit-id: 1d019a7c6659f2ca0f173711c03e3eb89ed1659b
2016-05-05 21:50:44 +02:00
Lynix bb8ad9369f Merge pull request #61 from TaoSc/master
Updated features page and assets' optimization

Former-commit-id: dfb0009b0da61831de41d03ed48d7b17e0787d2a
2016-04-30 00:46:32 +02:00
Lynix d558ef6edc Merge pull request #61 from TaoSc/master
Updated features page and assets' optimization

Former-commit-id: e54a4ef6ccb784f6a606fbeb4474edc20b9e9076
2016-04-30 00:46:32 +02:00
Lynix ec15f1ddc7 Build/Tut01: Fix linking error
Former-commit-id: 487c7613bc0f85efb9f5df75391760eafb801637
2016-04-29 20:40:34 +02:00
Tao Schreiner 17e7f1c1ee Example's PNGs optimization
Former-commit-id: 4c288d16a41451ab1b4def7e61cdc14e25e7863c
2016-04-27 02:16:16 +02:00
Lynix 0f135232da Examples: Add Tut01
https://github.com/DigitalPulseSoftware/NazaraEngine/wiki/(FR)-Tutoriel-01---Hello-World

Former-commit-id: 114b03afccb253cbaa05caa3c990359a1b2125b2
2016-04-04 13:47:52 +02:00
Gawaboumga 3247435e08 Fix for Linux
Former-commit-id: 8cddb6d53f658144f8659adbd7ecab67eb5a41a2
2015-12-30 15:59:08 +01:00
Lynix 1db673f9be Example: Update FirstScene for NDK
Former-commit-id: d14aad9f6a616796b92b78934e413b588a8e3185
2015-09-28 13:56:33 +02:00
Lynix f54eb0402f Examples: Fix MeshInfos
Former-commit-id: b6c5ea953f60d2b22eaa6aae06d1618efdb09bc1
2015-09-28 12:41:41 +02:00
Lynix eaf1bb3601 Merge branch 'NDK-Refactor' into NDK
Conflicts:
	examples/HardwareInfo/main.cpp
	include/Nazara/Renderer/Enums.hpp
	include/Nazara/Renderer/GpuQuery.hpp
	include/Nazara/Renderer/OpenGL.hpp
	include/Nazara/Renderer/RenderBuffer.hpp
	include/Nazara/Renderer/RenderTexture.hpp
	include/Nazara/Renderer/Texture.hpp
	src/Nazara/Graphics/AbstractRenderTechnique.cpp
	src/Nazara/Graphics/DeferredRenderTechnique.cpp
	src/Nazara/Graphics/Material.cpp
	src/Nazara/Graphics/SkyboxBackground.cpp
	src/Nazara/Renderer/GpuQuery.cpp
	src/Nazara/Renderer/OpenGL.cpp
	src/Nazara/Renderer/RenderBuffer.cpp
	src/Nazara/Renderer/RenderTexture.cpp
	src/Nazara/Renderer/Renderer.cpp
	src/Nazara/Renderer/Shader.cpp
	src/Nazara/Renderer/ShaderStage.cpp
	src/Nazara/Renderer/Texture.cpp

Former-commit-id: 2f1c7e9f9766f59ab83d9405856a1898ac4ab48f
2015-09-25 23:16:58 +02:00
Lynix df8da275c4 Switch from Nz prefix to namespace Nz
What a huge commit


Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
2015-09-25 19:20:05 +02:00
Lynix c183102784 Examples: Fix HardwareInfo
Former-commit-id: f11e0b1f012fedd2be903cc3da91af72ca036e10
2015-09-24 21:36:59 +02:00
Lynix 505f1dbb03 Merge branch 'master' into NDK
Conflicts:
	include/Nazara/Core/Algorithm.inl
	include/Nazara/Core/ByteArray.hpp
	include/Nazara/Math/Algorithm.inl
	src/Nazara/Graphics/SkyboxBackground.cpp

Former-commit-id: 42f52f71989fa805f69527fd07edb8405df06566
2015-08-21 18:55:58 +02:00
Gawaboumga 3dbcb25384 Transfert enumeration from file to enums
Former-commit-id: 0d9e191373affda50d0eb6c2376c7a23720e591b
2015-08-21 11:22:35 +02:00
Lynix f4c3ec51ed Final VS fixes
Former-commit-id: 6da44f94127f61de39710a52b8b3b73ce19c1269
2015-06-14 16:18:37 +02:00
Lynix b2a248d6f5 Merge remote-tracking branch 'origin/BuildSystem-Update' into NDK
Conflicts:
	build/scripts/common.lua
	build/scripts/module/audio.lua
	build/scripts/module/core.lua
	build/scripts/module/graphics.lua
	build/scripts/module/lua.lua
	build/scripts/module/noise.lua
	build/scripts/module/physics.lua
	build/scripts/module/renderer.lua
	build/scripts/module/utility.lua

Former-commit-id: 8374b17a214e0efbdc7d35e81ed809f8dc9d3b79
2015-06-13 23:26:34 +02:00
Lynix 0a7711d85b (Scene) Added CreateNode and Clear methods
Former-commit-id: de92f4a4be45e5cbd1d2d83191300e0b46764f0e
2015-01-23 22:35:41 +01:00
Lynix b37ec10760 Oops.
Former-commit-id: 81a0e9f5e6cf26ed18633cabbd916881ef6559f3
2015-01-22 23:45:32 +01:00
Lynix debe39501e Added experimental new build system
Former-commit-id: ab7fb35db6be4b975d0558680c840d72e38562f9
2015-01-20 23:37:49 +01:00
Lynix 8a3c410d60 Made bounding volume handing part of SceneNodes
Former-commit-id: d09d06ac4515ce09aa16fd92dd045c2a06730a99
2015-01-20 20:35:16 +01:00
Lynix 98aa804de5 Flipped texture coordinates
Nazara now use a top-left corner origin for UVs (DirectX-like)


Former-commit-id: 550dd76cf15bc731d1e23060d1af15c3cd5cb4fd
2014-08-25 22:37:36 +02:00
Lynix eceabcd241 Fixed some of the pull request code in order to merge it
Former-commit-id: 76d71f15b335535e7dfcaf986440a00e85e45c1b
2014-06-15 01:55:07 +02:00
Gawaboumga 676ed6c9d8 Correction of mathematical functions.
BoundingVolume: Add of constructor and setter OrientedBox. Extend is now
up to date.
Box: Use of <T>. Return this
Frustrum: Use of <T>
Matrix: Use of <T>
OrientedBox: m_corners is up to date
Rect: Add of operators /= and /. Return this
Sphere: Add of Intersect and Contains with box. Little corrections.
Vector2: Return

TaskSchedulerImpl: Add of include header cstdlib to compile because of
std::div
HardwareInfo/main: use of accentAigu

Former-commit-id: a5a7f8e8c45448e5683eb13bff453d6f67478d03
2014-06-14 22:10:37 +02:00
Lynix 1dd25f4e73 Fixed MeshInfos not compiling
Former-commit-id: 3e3c840402eca5eb1e3fa5104a91e41d5d669139
2013-09-06 23:27:10 +02:00
Lynix f69d2f13e5 Changed light model
Former-commit-id: bdf192bd83dbb5ae3ce8c46d6414e5b4fbc0047a
2013-08-28 02:52:09 +02:00
Lynix 1493da0466 Increased user-friendlyness
Former-commit-id: 9611bb08f0be314d65453b88d84c36299d9a22af
2013-08-23 22:05:17 +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 43b455bacd Removed 16bits rendering demo
Former-commit-id: a1dffd557b64e868597420852e37338eed329c87
2013-07-02 01:23:31 +02:00
Lynix a5fb0c804f Small improvements to FirstScene's camera
Former-commit-id: 80545964ee9ab8693f43992b4c4a2610e93e78c9
2013-06-18 16:56:49 +02:00
Lynix e9fe3440e5 Added header to demos
Former-commit-id: fd9b0ddd666a99ba67e519b41186828fb4272cc4
2013-06-13 20:37:42 +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 9870a2249b Added Lua extern library
Former-commit-id: 597a37211727803de7c8816a23154d71b8446cea
2013-04-12 16:51:04 +02:00
Lynix 793a3388c7 Fixed FirstScene model not having normal map
Former-commit-id: b8ee4ff55625de707590986cd8dd06e560d0e793
2013-04-09 21:04:10 +02:00
Lynix 978e6bba26 Improved FirstScene
Former-commit-id: bd84c63fee10cb603212fe89b59057bcb27c5aeb
2013-04-09 19:46:10 +02:00
Lynix ac1b69c62b Fixed missing skybox
Oops


Former-commit-id: f2c6f5e7e3e76bceed7d5f1b523d31758240cbb6
2013-04-09 14:38:21 +02:00
Lynix 98fa4abc40 Improved FirstScene demo
Former-commit-id: d252c37835d130d83ced925980f8329e1e771e65
2013-04-09 14:31:02 +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 c56c1b10dd Updated MeshInfos code
Former-commit-id: c0162cdec26d2dbc4a2ebe8e4595e3c6974c755d
2013-03-30 18:04:50 +01:00
Lynix 60e9d14a92 Improved comment
Former-commit-id: d9a47456146b8812f73beb58d1e5f94b2c88f668
2013-03-29 23:13:17 +01:00
Lynix 0603590549 Added 16bits demo
Former-commit-id: 2ee4535da2d068366f00be9aeff93d2205b40dcb
2013-03-22 18:16:01 +01:00
Lynix ccea00b12e Added backgrounds
Former-commit-id: e3959b04a124978c473bd6330047b5fd6ac27b19
2013-03-21 23:02:11 +01:00
Lynix 23b760139e Completed Vector3 vectors
Former-commit-id: 73c16102c22fe1d01b9b9411aa3e1bf82949542c
2013-03-21 22:52:19 +01:00
Lynix 90f056739d Improved some comments
Former-commit-id: f9d3267677196952d17c52d5f31ebacdb50eb899
2013-03-13 16:54:25 +01:00
Lynix 278963973a Improved FirstScene comments
Former-commit-id: 7506db9b0a64714533c51a2eda6d8eac41a81356
2013-03-08 12:17:32 +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 9b7a0ff4d7 Fixed MeshInfos
Former-commit-id: 1eeec63c065b2faf44703a500149e9c0dd58f10a
2013-03-06 01:06:36 +01:00
Lynix 16a6a78299 Added new scene demo
Removed bugged demo AnimatedMesh


Former-commit-id: 312e27e65ebff620e03733b317c52b3857d1faf9
2013-03-06 01:01:22 +01:00
Lynix f53f556e58 Fixed HardwareInfo
Former-commit-id: 49ac30c152913f6ace3732c394fc4a38cccd87c4
2013-03-02 00:32:55 +01:00
Lynix 668288265e Removed useless braces
Former-commit-id: f43934e0a2a0c125820f3bcea0a923165ca0ade3
2013-02-16 20:07:10 +01:00
Lynix be12026a30 Fixed HardwareInfo not compiling
Former-commit-id: 70f193cc041f431970c4dd6a0d9993ff5fedc659
2013-02-13 01:33:40 +01:00
Lynix 692c578673 Fixed comment
Former-commit-id: cc18a8a6fa5b7e58cca26910a83c42e81aead576
2013-01-30 01:35:47 +01:00
Lynix 0671154f29 Added HardwareInfo demo
Former-commit-id: 8b7bc7f4d45d11702bf28c1aa76fa2c2b47f0918
2012-12-29 14:59:32 +01:00
Lynix 3b5cf9c60b Fixed MeshInfos
Former-commit-id: 85ad82b3d70a3239cb76c6d7ff70f6c56942e952
2012-12-29 01:37:58 +01:00
Lynix 49f37e17ae AxisAlignedBox::Transform now apply translation
Added an optionnal argument to prevent translation from being applied
Updated demo


Former-commit-id: c56cb04733379eb6dda98b150931fb0e496ef889
2012-12-28 22:57:40 +01:00
Lynix 21b60809ad Updated global headers
Former-commit-id: 024667d27905a561eebd9e38e8b141bcb0323339
2012-12-27 02:36:26 +01:00
Lynix d6ef4e3547 Made demo use ShaderBuilder
Former-commit-id: 8b915f244c95ff7d0d20a980feed6998c7f2e441
2012-12-25 12:33:42 +01:00
Lynix 0a11e82432 DebugDrawer now use ShaderBuilder
Fixed demo not initializing debug drawer


Former-commit-id: a14612a374507501496f895ef6ba94886db98ec9
2012-12-25 12:29:19 +01:00
Lynix a9e82f6014 Changed Shader conventions
Uniform variable are now CamelCase


Former-commit-id: 7b08fb6b7d32f0f9a92b5086719f3e9981483e16
2012-12-25 12:14:32 +01:00
Lynix 10730de74e Refactored materials
(Renderer) Removed Apply function
(Renderer) Renamed SetTextureSampling to SetTextureSampler
Updated demo


Former-commit-id: d40a9ce05df35b078e645927451093da44eec314
2012-12-18 16:17:31 +01:00
Lynix 8b67d17e38 Added texture samplers
I hate Git branchs


Former-commit-id: 6978f1489cdc841d36fbcd6f1a8e01a4adbfcb8a
2012-12-17 14:56:29 +01:00
Lynix e606f9d1e3 Added antialasing to experimental demo
Former-commit-id: 22fd6f692893b16d1e015e669b286b7044e12ef5
2012-12-09 21:36:05 +01:00
Lynix 30d6f36922 Removed useless line
Former-commit-id: 316289647d6b0130b19b45fd72cd0cf2dc860bb0
2012-12-09 20:23:36 +01:00
Lynix ec50ab9fd4 Fixed Mesh Infos demo
Former-commit-id: 8fb5a452ea0dee650aaa37ed7ed4278ef6ba54b8
2012-12-09 18:39:44 +01:00
Lynix 865c8d97a3 Updated experimental demo to use node parents
Former-commit-id: f99d90c6242886cce8973b666adb28a242d1e17d
2012-12-03 23:41:14 +01:00
Lynix 635616459a Updated experimental demo to draw hellknight AABB
Former-commit-id: b28dd7bdde909088ff2671def77cef9809894b08
2012-12-03 16:25:23 +01:00
Lynix 780da2cfa5 Resolved conflicts
Former-commit-id: 4bd4e4f8435d701d16d3864dd030a6c1cff48c47
2012-12-02 21:49:14 +01:00
Lynix 4fbe508960 Removed debug error when copying a matrix
Former-commit-id: 60c57643b5a520abe96fdca83f2d0c28f3bc1f11
2012-11-27 20:25:14 +01:00
Lynix 70ef422950 Big skeletal animation update
Added MeshInfos demo
Added MD5Mesh/MD5Anim loader support
Added Node class
Fixed ResourceParams not being exported
Added support for skeletal animation
(Animation/Mesh/Joint/SkeletalMesh/Skeleton)
Meshes are now only stored with VertexStruct_XYZ_Normal_UV_Tangent type
Moved Sequence declaration to Sequence.hpp

-Animation:
Renamed Create to Create[Keyframe|Skeletal]

-AxisAlignedBox:
Added Contains method
Added GetCorner method
Added GetCube method
Added Transform method

-Cube/Rect:
Added GetPosition method
Added GetSize method
(Almost) Fixed ExtendTo method
Fixed GetCenter method

-File:
Added GetDirectory static function
Added GetPath method
Renamed GetDirectoryPath method to GetDirectory

-Math module:
Fixed constructor/methods taking a non-const array
GetNormal/Normalize methods now takes an optionnal integer pointer
(returning length)
Made all classes default constructor trivial
Inverse, MakeIdentity, MakeZero, Normalize, Set methods now returns
reference to object

-Matrix4:
Modified methods to avoid copies
Removed COW (Too much overhead)
Removed Concatenate[Affine] static function

-Mesh:
Renamed Create to Create[Keyframe|Skeletal|Static]
Renamed Skin to Material

-MeshParams:
No longer takes declaration argument
Renamed loadAnimations to animated
Storage default to BufferStorage_Hardware if supported and
BufferStorage_Software otherwise

-OpenGL:
Added glGetBooleanv function
Added glIsEnabled function

-Quaternion:
Added ComputeW method
Added Conjugate method

-Renderer:
Added IsEnabled static function
Fixed GetLineWidth function not being static
Removed SetVertexDeclaration

-RenderWindow:
Made CopyTo[Image|Texture] method constant

-Resource
Fixed RemoveResourceListener crash

-ResourceLoader:
Loaders are now used in a LIFO context

-Stream:
Renamed GetLine method to ReadLine

-String:
Fixed Simplified

-Utility module
Added configuration define for strict resource parsing

-VertexBuffer
Now takes a VertexDeclaration pointer

-VertexDeclaration
No longer throw an error when getting a non-existing element


Former-commit-id: f7358c1231d6af48b799d2f24f077a001e16785b
2012-11-21 19:20:32 +01:00
Lynix 889a18b8be Fixed typo
Former-commit-id: 6695febce4d2d5d59d578c3219a5848b13b554f1
2012-10-24 17:59:22 +02:00
Lynix bb003885bf Fixed premake file of examples and template
Former-commit-id: 9fb60b867d80450a6afb97dbc65904bfee89b377
2012-10-24 17:59:14 +02:00
Lynix defbb0f1a6 Updated examples
It is now possible to pause the animation in AnimatedMesh demo with the
P key


Former-commit-id: 98d1b5196007dd524e2257157d6e7fd3171fb070
2012-10-04 09:36:56 +02:00
Lynix a73cd1374a Normalized line ending
Former-commit-id: bd061c48bdc8f0d26159dac3b41017defef5ae1e
2012-09-21 14:24:48 +02:00
Jérôme Leclercq f9443e37d4 Fixed DopplerEffect comments
Former-commit-id: 26b6f08b6bbc54b0e96d708feda4229e182cb918
2012-09-21 12:06:28 +02:00
Jérôme Leclercq cd5a1b7a5e Added RenderTextures (And many others things)
-Added Forward, left and up vector (Vector3)
-Added Matrix4::ConcatenateAffine shortcut
-Added Quaternion::GetInverse() and Quaternion::Inverse()
-Added Resource listeners
-Added Depth and stencil pixel formats
-All enums now have an ending "max" entry
-Animation/Mesh::Add[Sequence/Skin/SubMesh] now returns a boolean
-Contexts are now resources
-Enhanced AnimatedMesh demo
-Fixed MD2 facing
-Fixed Vector3::CrossProduct
-Made Resource thread-safe
-Made OpenGL translation table global
-Many bugfixes
-MLT will now write malloc failure to the log
-Most of the strcpy were replaced with faster memcpy
-Occlusion queries availability is now always tested
-OpenGL-related includes now requires NAZARA_RENDERER_OPENGL to be
defined to have any effect
-Pixel formats now have a type
-Renamed RenderTarget::IsValid to IsRenderable
-Renamed Quaternion::GetNormalized() to GetNormal()
-Renamed Texture::Bind() to Prepare()
-Renamed VectorX::Make[Ceil|Floor] to Maximize/Minimize
-Removed MATH_MATRIX_COLUMN_MAJOR option (all matrices are column-major)
-Removed RENDERER_ACTIVATE_RENDERWINDOW_ON_CREATION option (Render
windows are active upon their creation)


Former-commit-id: 0d1da1e32c156a958221edf04a5315c75b354450
2012-09-20 22:07:30 +02:00
Lynix 40ec2003b4 Added Audio module
Fixed examples resources not being commited
Temporary removed static build configurations
2012-08-21 15:04:00 +02:00
Lynix 71b777e732 Fixed examples linking 2012-08-18 15:12:04 +02:00
Lynix cd6b2c447a Fixed modules target names 2012-08-18 14:08:14 +02:00
Lynix 15afde86c8 Rewritted ResourceLoader and moved it to core
Added creation constructor to NzImage
Added member function functor
Added option to build Nazara as one library (instead of many)
Fixed some 2011 copyrights
Made use of "using def = T" C++11 feature instead of some illigible
typedefs
Removed unused premake file
2012-08-18 01:46:01 +02:00
Lynix f8a0cdad39 Added Windows shortcut to generate CodeLite project
Changed two submesh's error message
Fixed OpenGL.hpp/.cpp spaces for some displayers
OpenGL loads GL_kdr_debug if possible instead of GL_ARB_debug_output
Refactored external includes
2012-08-10 02:03:25 +02:00
Lynix b559932d63 Changed readme and examples encoding to UTF-8 2012-08-10 01:41:37 +02:00
Lynix b442ab0bd2 Refactored mathematics module
Added AABBs
Added code examples
Added experimental support for texture arrays (1D/2D)
Added initialisers (new way of initialising modules)
Added global headers (Plus a global header generator script)
Added pattern support for directory
Added support for spinlocks critical section on Windows
Added NzRenderWindow::SetFramerateLimit
Core project now includes Mathematics files
Fixed color implementation using double
Fixed declaration needing renderer include
Fixed MLT not clearing nextFree(File/Line) after Free
Fixed move operators not being noexcept
Fixed thread-safety (Now working correctly - If I'm lucky)
Moved Resource to core
New interface for modules
New interface for the renderer
Put some global functions to anonymous namespace
Removed empty modules
Renamed ThreadCondition to ConditionVariable
Replaced redirect to cerr log option by duplicate to cout
Setting mouse position relative to a window will make this window ignore
the event
Shaders sending methods no longer takes the uniform variable name (it's
using ID instead)
Using new OpenGL 4.3 header
2012-08-08 04:44:17 +02:00