Commit History

Author SHA1 Message Date
  Yao Wei Tjong 姚伟忠 f943bb4faa Unwarn patch for AppleClang. A few warnings were indeed coding error. 11 years ago
  Lasse Öörni 7f4b8e5b35 Allow controlling per-viewport if debug geometry should be rendered, instead of hardcoding to just backbuffer views. 11 years ago
  aster 85bcdaecf4 Add screen to world convert functions, PhysicsWorld2D use these function to pick rigid body. 11 years ago
  Lasse Öörni 46be516f56 Improved CustomGeometry API for vertex updates, and possibility to make the vertex buffer dynamic. Closes #415. 11 years ago
  Lasse Öörni e68c051a35 Added rest of geometry types. Closes #413. 11 years ago
  Lasse Öörni 8463393377 Initial resource background loading API and implementation. Background loading-capable implementation for textures (load image in background thread, upload image to GPU in main thread), other resources todo. 11 years ago
  Lasse Öörni e82b3d53a1 Added support for zones defining a texture (either cube or 3D), that will be available in pixel shaders when rendering objects inside the zone. 11 years ago
  Lasse Öörni b80fbc8817 Added Clone() function to Model, which deep-copies all data including vertex/index buffers, so that the clone can be individually animated. Closes #402. 11 years ago
  Lasse Öörni c85499b695 Allow relatively fast partial updates to a terrain by modifying the heightmap image and calling ApplyHeightMap(). Added WorldToHeightMap() function to Terrain for converting world coordinates to heightmap pixel positions. 11 years ago
  Lasse Öörni c3fc39132b Made ParticleEmitter::ApplyEffect() public, as it's necessary if changing certain properties of the effect programmatically. Also mark network update if the emitter's effect is changed to none. 11 years ago
  Aster@中国上海 7616457c21 Fix some functions name, add AS binding. 11 years ago
  Aster@中国上海 6bcc980119 Refactor ParticleEmitter class and add Lua API. 11 years ago
  Aster@中国上海 80ce8a2a7c Add ParticleEffect class. 11 years ago
  Lasse Öörni 766a08060d Clean up ParticleEmitter API. Removed resetPeriod option from SetEmitting(), instead the period is always reset if the state changes. Added separate RemoveAllParticles(), ResetEmissionTimer() & Reset() functions. 11 years ago
  Lasse Öörni bf6a054ac4 Use ordinary DRAWABLE_GEOMETRY flag on 2D drawables so that they can be raycasted against. Use a DRAWABLE_PROXYGEOMETRY flag on DrawableProxy2D so that it won't show up in normal raycasts or octree queries. Fixes #345. 11 years ago
  Lasse Öörni f232856ac1 Added manual VectorBuffer overloads for AngelScript functions that take a File handle for loading/saving. Cleaned up some script bindings code and fixed AngelScript binding for Image::LoadColorLUT(). 11 years ago
  Lasse Öörni 84d06d2e61 Merged the face camera boolean and axes parameters used by BillboardSet & Text3D into a FaceCameraMode enum. Implement none, rotate XYZ, rotate Y, lookat XYZ & lookat Y modes. More can be added as necessary. 11 years ago
  Lasse Öörni 981b5bcac4 Use viewport sized intermediate rendertargets so that pixels outside the viewport never leak into post-processing. Added viewport multiplier mode to renderpath definition. Closes #265. 11 years ago
  Lasse Öörni 00e9dc0a79 Selectable axes for BillboardSet & Text3D camera facing. Default all axes (follow camera rotation fully). Fix ParticleEmitter faceCamera property not being exposed to AngelScript. Closes #325. 11 years ago
  aster 11a9b1f1dc Bind material parameter animation to Lua and AngelScript, Add MaterialAnimation sample. 11 years ago
  Lasse Öörni 1f91a44818 Removed the deprecated GetClassName() AngelScript Variant bindings. Fixed the Ragdolls example to not use them. 11 years ago
  Lasse Öörni 42265071a3 Added a multiplier+addition for depth bias on OpenGL ES platforms. Increased default constant depth bias of lights. 11 years ago
  Lasse Öörni 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 years ago
  Lasse Öörni 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 years ago
  Lasse Öörni 35195939c1 Exposed allowed screen orientations (effective on iOS only currently) and the flush GPU setting as engine startup parameters. 11 years ago
  Lasse Öörni 094006ef91 Added brightness attribute to Light. Added separate equality test with and without epsilon to Color, similar to Vector2/3/4. 11 years ago
  Lasse Öörni 02e543ba5c Support for per-pixel negative lights. Added BLEND_SUBTRACT & BLEND_SUBTRACTALPHA blend modes. Light code cleanup. 11 years ago
  Lasse Öörni 65c3c50738 Shuffling around of Spline to the Core library to make explicit that it depends on Variant (the dependency is no longer strict as Urho3D library is built as one piece, but is good to keep in mind to retain the Math library theoretically reusable outside Urho3D.) 11 years ago
  aster2013 b9f106ce9d Add draw debug triangle in DebugRenderer. 11 years ago
  Lasse Öörni 4bd2eb0356 Refactoring of Drawable::IsInView() functions and drawable view tracking. 11 years ago