Lasse Öörni
|
4bd2eb0356
Refactoring of Drawable::IsInView() functions and drawable view tracking.
|
11 years ago |
Lasse Öörni
|
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 years ago |
Lasse Öörni
|
abc6fcd8b8
Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file.
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
2fb1dc2edc
Mark the deprecated AS API bindings in the documentation.
|
12 years ago |
Lasse Öörni
|
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 years ago |
Lasse Öörni
|
809efdb4c6
Added the concept of persistent target in renderpath, which are not mixed in the rendertarget pool with other textures of same size & format. Used for the AutoExposure previous frame luminance.
|
12 years ago |
Lasse Öörni
|
b1a7a8dade
Exposed missing QUALITY_MAX constant to AngelScript. Do not assume the default zone has black fog (when used for additive pass.) Do not reload material shaders if material quality stayed same. Separate error in D3D9ShaderVariation Create() if the owning shader has expired, as on OpenGL.
|
12 years ago |
Lasse Öörni
|
381e9a04c3
Merge branch 'shader-refactor'
|
12 years ago |
Lasse Öörni
|
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 years ago |
Lasse Öörni
|
b76823a317
Added height fog mode boolean to Zone. Apply height fog shaders automatically. Changed height fog parameters to be relative to the zone node.
|
12 years ago |
Lasse Öörni
|
ea334e4393
Merge branch 'master' into shader-refactor
|
12 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Lasse Öörni
|
e0f391b0fc
Started shader refactoring.
|
12 years ago |
primitivewaste
|
d4fb9a9450
Add Zone height fog support, HeightFog shader option and techniques.
|
12 years ago |
Lasse Öörni
|
eb4e99457c
Code cleanup. Removed Camera functions to return forward, right, up vectors as they are now also in Node. Added Lua property accessors for Node up/right vectors. Exposed SmoothStep() to script. Modified Node::LookAt() to use the new Quaternion function. Updated credits.
|
12 years ago |
Lasse Öörni
|
cadb503976
Added transform by matrix functions to Plane. Added camera clipping plane support. Added basic reflective+refractive water shader + material.
|
12 years ago |
Lasse Öörni
|
3553b287ac
Reflection plane support in Camera. Reflection plane clipping not yet implemented.
|
12 years ago |
Alex Parlett
|
a63ab49ac5
Added the ability to specify whether a window is borderless or not (decorated with borders);
|
12 years ago |
Lasse Öörni
|
679007d1b5
Normalize whitespace, update documentation.
|
12 years ago |
Alex Parlett
|
2505149255
Added ability to specify window icon (external application window) using an Image resource and SDL cross platform capability
|
12 years ago |
Lasse Öörni
|
7e542be196
Added Save function to ParticleEmitter, which dumps the parameters as XML. Added menu items to editor to load/save ParticleEmitter parameters. Closes #51.
|
12 years ago |
Lasse Öörni
|
aa0f72cf65
Added world position & normal to RayQueryResult.
|
12 years ago |
Lasse Öörni
|
35b59e897f
Allow setting AnimationState bone weights recursively. Added GetAnimationState() to public API of AnimationController.
|
12 years ago |
Lasse Öörni
|
82007cc4f4
Removed the nonintuitive "invisible LOD factor" attribute from AnimatedModel and replaced it with updateInvisible flag similar to ParticleEmitter. This flag must be used for ragdolls or other physically animated objects to ensure that they come into view properly during animation if they previously were outside view. Fixes #40.
|
12 years ago |
Lasse Öörni
|
b957f60143
Added ApplyMaterialList() function to StaticModel so that the feature can be used outside the editor as well. Refactored editor to use that function instead of its own implementation.
|
12 years ago |
Lasse Öörni
|
42ae752d2d
Allow BillboardSet / ParticleEmitter to choose whether billboards should face the camera or follow the node orientation. Closes #22.
|
12 years ago |
Lasse Öörni
|
5fb42a277c
Re-added "flush GPU command buffer" -feature for controlling timestep variance and input lag. Direct3D only for now. Default off, as can decrease performance.
|
12 years ago |
Lasse Öörni
|
25c7aa53c3
Added GetDesktopResolution() to Graphics.
|
12 years ago |
Lasse Öörni
|
2fbe931cee
Added SetWindowPosition() / GetWindowPosition() to Graphics.
|
12 years ago |
Lasse Öörni
|
b8a3157e91
Show enumerations in the generated AngelScript API.
|
12 years ago |