Lasse Öörni 914dc798d4 Fix missing update of octree in headless mode, so that graphics raycasts work properly and animations are updated. 11 tahun lalu
..
Direct3D9 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
OpenGL 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
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. 12 tahun lalu
AnimatedModel.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Animation.cpp ffe7a7699f Minor enhancement on getting optional resources and error handling. 12 tahun lalu
Animation.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
AnimationController.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
AnimationController.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
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 tahun lalu
AnimationState.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Batch.cpp 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
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. 12 tahun lalu
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 tahun lalu
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 tahun lalu
CMakeLists.txt 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
Camera.cpp 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
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 tahun lalu
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 tahun lalu
CustomGeometry.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
DebugRenderer.cpp 176a9b7009 Minor fix to vertex buffer resize logic. [ci skip] 12 tahun lalu
DebugRenderer.h 176a9b7009 Minor fix to vertex buffer resize logic. [ci skip] 12 tahun lalu
DecalSet.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
DecalSet.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
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. 12 tahun lalu
Drawable.h 60ef5aa6bf Add DRAWABLE_2D. 11 tahun lalu
DrawableEvents.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
GPUObject.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
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 tahun lalu
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 tahun lalu
Graphics.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
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 tahun lalu
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 tahun lalu
GraphicsEvents.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
GraphicsImpl.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
IndexBuffer.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
Light.cpp 42265071a3 Added a multiplier+addition for depth bias on OpenGL ES platforms. Increased default constant depth bias of lights. 11 tahun lalu
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 tahun lalu
Material.cpp 1838e604f3 Do more work in the ParseTextureUnitName() function to reduce duplicated code. 11 tahun lalu
Material.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Model.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Model.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
OcclusionBuffer.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
OcclusionBuffer.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Octree.cpp 914dc798d4 Fix missing update of octree in headless mode, so that graphics raycasts work properly and animations are updated. 11 tahun lalu
Octree.h 914dc798d4 Fix missing update of octree in headless mode, so that graphics raycasts work properly and animations are updated. 11 tahun lalu
OctreeQuery.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
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 tahun lalu
ParticleEmitter.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
ParticleEmitter.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
RenderPath.cpp 1838e604f3 Do more work in the ParseTextureUnitName() function to reduce duplicated code. 11 tahun lalu
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. 12 tahun lalu
RenderSurface.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
Renderer.cpp c8fe21f06a Revert "Fixes to sceneless renderpath on OpenGL." to fix crash on minimize on Android. 11 tahun lalu
Renderer.h 42265071a3 Added a multiplier+addition for depth bias on OpenGL ES platforms. Increased default constant depth bias of lights. 11 tahun lalu
Shader.cpp 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
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 tahun lalu
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 tahun lalu
ShaderPrecache.h 92611f1249 Avoid string based duplicate detection in ShaderPrecache when possible. 12 tahun lalu
ShaderProgram.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
ShaderVariation.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
Skeleton.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Skeleton.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Skybox.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Skybox.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
StaticModel.cpp ffe7a7699f Minor enhancement on getting optional resources and error handling. 12 tahun lalu
StaticModel.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
StaticModelGroup.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
StaticModelGroup.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Tangent.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Tangent.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
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 tahun lalu
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 tahun lalu
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 tahun lalu
Terrain.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
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 tahun lalu
TerrainPatch.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Texture.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
Texture2D.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
Texture3D.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
TextureCube.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
VertexBuffer.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
VertexDeclaration.h 46285baf97 Refactor build scripts to group Urho3D specific build option. 11 tahun lalu
View.cpp 9066f6873d Merge remote-tracking branch 'remotes/origin/transformspace' 11 tahun lalu
View.h c8fe21f06a Revert "Fixes to sceneless renderpath on OpenGL." to fix crash on minimize on Android. 11 tahun lalu
Viewport.cpp 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
Viewport.h 6d5ddc23e0 Bump the copyright for 2014. 12 tahun lalu
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. 12 tahun lalu
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. 12 tahun lalu