Lasse Öörni
|
8c8f18a961
Allow a material to refer to any texture unit. Optimize setting batch's material renderstate by only looping through the used texture units. Note: the material editor in the editor does not support the extra units yet.
|
11 years ago |
hdunderscore
|
95a4948f9c
Bug fix: Angelscript binding for ParticleEffect::SetEmitting
|
11 years ago |
hdunderscore
|
ed78af0f1f
Initial Undo/Redo support added -- redo doesn't work for the Line Edits ?
|
11 years ago |
hdunderscore
|
5cf0a82dab
Color frames + texture frames are now editable in editor.
|
11 years ago |
hdunderscore
|
f75e915bc0
Working to add improved color frame editing.
|
11 years ago |
hdunderscore
|
5cce464c03
A functional particle editor for the Urho Editor, however saving/reverting, undoing/redoing, and displaying loaded attributes doesn't work yet
|
11 years ago |
aster2013
|
ae33830dd2
rename DRAWABLE_PROXYGEOMETRY DRAWABLE_RENDERER2D
|
11 years ago |
Lasse Öörni
|
3969b69b0d
Refactor material shader parameter animations so that they happen in response to update events, the same as component/node attribute animations. This fixes material animations depending on visibility and therefore possibly going out of sync from other updates. Add possibility to associate material with scene to make it use the scene attribute update event instead of the global update event.
|
11 years ago |
Lasse Öörni
|
b9c340ed12
Allow to not serialize ParticleEmitter particles to reduce scene file size. Closes #522.
|
11 years ago |
Lasse Öörni
|
943a2c348b
Added mechanism to limit material techniques on desktop hardware. Closes #516.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
2c5fb1db03
Fix Technique class to recalculate memory used based on numPasses.
|
11 years ago |
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 |