Commit Graph

146 Commits

Author SHA1 Message Date
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