Lasse Öörni 6be531d66f Set frustum size shader parameter as Vector3. 11 年之前
..
Direct3D9 f7b99ecdee Added Matrix types to Variant. Added ToString() to Matrix types. Added Matrix getters/setters to XMLElement. Added ToMatrix string conversion functions. Added possibility to assign shader parameters from Matrix variants. Fixed missing setting of Color variant shader parameter on Direct3D9. 11 年之前
OpenGL f7b99ecdee Added Matrix types to Variant. Added ToString() to Matrix types. Added Matrix getters/setters to XMLElement. Added ToMatrix string conversion functions. Added possibility to assign shader parameters from Matrix variants. Fixed missing setting of Color variant shader parameter on Direct3D9. 11 年之前
AnimatedModel.cpp 233b7d8926 Partially reverted the AnimatedModel LOD determination change: use the animated bounding box center to calculate distance from camera. This is to ensure ragdolls will LOD correctly even if their bones move far from the root node. 11 年之前
AnimatedModel.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Animation.cpp ffe7a7699f Minor enhancement on getting optional resources and error handling. 12 年之前
Animation.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
AnimationController.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
AnimationController.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
AnimationState.cpp 47836474e2 Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant. 12 年之前
AnimationState.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Batch.cpp ee9868e29e Refactor setting global & camera shader parameters to functions. Used both by Batch & View. Ensure that same parameters are set in both scene and quad (postprocess) rendering. Note that quad rendering still does not use the camera's real projection matrix to ensure stability. 11 年之前
Batch.h bfd968f9d7 Removed the base batch / non-base batch separation from BatchGroup. This is only needed for light queues, so rather have LightBatchQueue have separate queues for base & non-base. 11 年之前
BillboardSet.cpp 3491baafd0 Added more accurate but more expensive raycast for BillboardSet, which approximates the individual billboards as spheres and gives the billboard index as the subobject. RAY_TRIANGLE level raycast must be used to enable it. Removed the RAY_AABB_NOSUBOBJECTS raycast level, as it was not used anywhere. 12 年之前
BillboardSet.h 3491baafd0 Added more accurate but more expensive raycast for BillboardSet, which approximates the individual billboards as spheres and gives the billboard index as the subobject. RAY_TRIANGLE level raycast must be used to enable it. Removed the RAY_AABB_NOSUBOBJECTS raycast level, as it was not used anywhere. 12 年之前
CMakeLists.txt caf080ecbb Initial refactoring of Direct3D9 shaders. ShaderCompiler removed. Bytecode not cached into files yet. 12 年之前
Camera.cpp 6833f858dc If a view's renderpath has no scene passes, allow rendering it also when no scene, camera & octree are provided. Closes #267. 11 年之前
Camera.h 6833f858dc If a view's renderpath has no scene passes, allow rendering it also when no scene, camera & octree are provided. Closes #267. 11 年之前
CustomGeometry.cpp 3491baafd0 Added more accurate but more expensive raycast for BillboardSet, which approximates the individual billboards as spheres and gives the billboard index as the subobject. RAY_TRIANGLE level raycast must be used to enable it. Removed the RAY_AABB_NOSUBOBJECTS raycast level, as it was not used anywhere. 12 年之前
CustomGeometry.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
DebugRenderer.cpp 176a9b7009 Minor fix to vertex buffer resize logic. [ci skip] 11 年之前
DebugRenderer.h 176a9b7009 Minor fix to vertex buffer resize logic. [ci skip] 11 年之前
DecalSet.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
DecalSet.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Drawable.cpp 2082c026c2 Handle zone search better to avoid erroneous lower-priority zone assignment. Added OnRemoveFromOctree() virtual function to Drawable. Zone code simplified. Remove zone reference from drawables within its bounding box when the zone is being destroyed. 11 年之前
Drawable.h 60ef5aa6bf Add DRAWABLE_2D. 11 年之前
DrawableEvents.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
GPUObject.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Geometry.cpp 31ce69b490 DrawableProxy2D operation fixes. Should fix crashes with worker threads and sprite flickering. Note that there is no frustum culling for Drawable2D's, as the vertex buffer for all of them is generated at once, and culling would be problematic for multiple views. Closes #252. 11 年之前
Geometry.h 31ce69b490 DrawableProxy2D operation fixes. Should fix crashes with worker threads and sprite flickering. Note that there is no frustum culling for Drawable2D's, as the vertex buffer for all of them is generated at once, and culling would be problematic for multiple views. Closes #252. 11 年之前
Graphics.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
GraphicsDefs.cpp c3425334a3 Switch forward light calculations back to world space instead of tangent space to avoid light attenuation bugs when TBN matrix is not orthogonal. Shader code becomes simpler and more similar between forward and deferred, and number of vertex shader variations is reduced, but disadvantage is a more complex pixel shader which requires disabling expensive features on SM2.0 to avoid exceeding the arithmetic instruction limit. Fix cube mapped point light displaying the cube map upside down. Closes #276. 11 年之前
GraphicsDefs.h c3425334a3 Switch forward light calculations back to world space instead of tangent space to avoid light attenuation bugs when TBN matrix is not orthogonal. Shader code becomes simpler and more similar between forward and deferred, and number of vertex shader variations is reduced, but disadvantage is a more complex pixel shader which requires disabling expensive features on SM2.0 to avoid exceeding the arithmetic instruction limit. Fix cube mapped point light displaying the cube map upside down. Closes #276. 11 年之前
GraphicsEvents.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
GraphicsImpl.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
IndexBuffer.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Light.cpp c3425334a3 Switch forward light calculations back to world space instead of tangent space to avoid light attenuation bugs when TBN matrix is not orthogonal. Shader code becomes simpler and more similar between forward and deferred, and number of vertex shader variations is reduced, but disadvantage is a more complex pixel shader which requires disabling expensive features on SM2.0 to avoid exceeding the arithmetic instruction limit. Fix cube mapped point light displaying the cube map upside down. Closes #276. 11 年之前
Light.h c3425334a3 Switch forward light calculations back to world space instead of tangent space to avoid light attenuation bugs when TBN matrix is not orthogonal. Shader code becomes simpler and more similar between forward and deferred, and number of vertex shader variations is reduced, but disadvantage is a more complex pixel shader which requires disabling expensive features on SM2.0 to avoid exceeding the arithmetic instruction limit. Fix cube mapped point light displaying the cube map upside down. Closes #276. 11 年之前
Material.cpp 1838e604f3 Do more work in the ParseTextureUnitName() function to reduce duplicated code. 11 年之前
Material.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Model.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Model.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
OcclusionBuffer.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
OcclusionBuffer.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Octree.cpp 47836474e2 Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant. 12 年之前
Octree.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
OctreeQuery.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
OctreeQuery.h 3491baafd0 Added more accurate but more expensive raycast for BillboardSet, which approximates the individual billboards as spheres and gives the billboard index as the subobject. RAY_TRIANGLE level raycast must be used to enable it. Removed the RAY_AABB_NOSUBOBJECTS raycast level, as it was not used anywhere. 12 年之前
ParticleEmitter.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
ParticleEmitter.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
RenderPath.cpp 1838e604f3 Do more work in the ParseTextureUnitName() function to reduce duplicated code. 11 年之前
RenderPath.h bfd968f9d7 Removed the base batch / non-base batch separation from BatchGroup. This is only needed for light queues, so rather have LightBatchQueue have separate queues for base & non-base. 11 年之前
RenderSurface.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Renderer.cpp 2bedd953ce Fixes to sceneless renderpath on OpenGL. 11 年之前
Renderer.h c3425334a3 Switch forward light calculations back to world space instead of tangent space to avoid light attenuation bugs when TBN matrix is not orthogonal. Shader code becomes simpler and more similar between forward and deferred, and number of vertex shader variations is reduced, but disadvantage is a more complex pixel shader which requires disabling expensive features on SM2.0 to avoid exceeding the arithmetic instruction limit. Fix cube mapped point light displaying the cube map upside down. Closes #276. 11 年之前
Shader.cpp 9b31d29a54 Add GetFullName in ShaderVariation, make code more clear. 12 年之前
Shader.h 1f91776233 Removed the Shader::SanitateDefines() function. Instead the Shader resource normalizes defines and creates aliases if necessary to ensure fast queries but to prevent duplicates. 12 年之前
ShaderPrecache.cpp e8fdf7a7d8 Fix DrawableProxy2D check for large indices: vertex count needs to be over 0xffff. Do not attempt to precache instanced or shadowed pointlight shaders on OpenGL ES. 11 年之前
ShaderPrecache.h 92611f1249 Avoid string based duplicate detection in ShaderPrecache when possible. 12 年之前
ShaderProgram.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
ShaderVariation.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Skeleton.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Skeleton.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Skybox.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Skybox.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
StaticModel.cpp ffe7a7699f Minor enhancement on getting optional resources and error handling. 12 年之前
StaticModel.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
StaticModelGroup.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
StaticModelGroup.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Tangent.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Tangent.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Technique.cpp 6bfcc28010 Allow a pass to be marked as SM3-only, so that rendering limitations can be defined as data-driven instead of hardcoding in the engine. Moved specular disable for SM2 shadowed pointlight from code to shaders. Mention in the documentation that some materials may be too complex for SM2 and dynamic shadows. 11 年之前
Technique.h 6bfcc28010 Allow a pass to be marked as SM3-only, so that rendering limitations can be defined as data-driven instead of hardcoding in the engine. Moved specular disable for SM2 shadowed pointlight from code to shaders. Mention in the documentation that some materials may be too complex for SM2 and dynamic shadows. 11 年之前
Terrain.cpp 47836474e2 Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant. 12 年之前
Terrain.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
TerrainPatch.cpp 3491baafd0 Added more accurate but more expensive raycast for BillboardSet, which approximates the individual billboards as spheres and gives the billboard index as the subobject. RAY_TRIANGLE level raycast must be used to enable it. Removed the RAY_AABB_NOSUBOBJECTS raycast level, as it was not used anywhere. 12 年之前
TerrainPatch.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Texture.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Texture2D.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Texture3D.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
TextureCube.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
VertexBuffer.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
VertexDeclaration.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
View.cpp 6be531d66f Set frustum size shader parameter as Vector3. 11 年之前
View.h ee9868e29e Refactor setting global & camera shader parameters to functions. Used both by Batch & View. Ensure that same parameters are set in both scene and quad (postprocess) rendering. Note that quad rendering still does not use the camera's real projection matrix to ensure stability. 11 年之前
Viewport.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Viewport.h 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
Zone.cpp 0eb0a5d7a5 When a Zone moves or is removed from octree, clear zone from all drawables within the bounding box, not just from those that belong to the zone. This allows zone search in View to perform more optimally. 11 年之前
Zone.h 2082c026c2 Handle zone search better to avoid erroneous lower-priority zone assignment. Added OnRemoveFromOctree() virtual function to Drawable. Zone code simplified. Remove zone reference from drawables within its bounding box when the zone is being destroyed. 11 年之前