Yao Wei Tjong 姚伟忠
|
f943bb4faa
Unwarn patch for AppleClang. A few warnings were indeed coding error.
|
11 年之前 |
aster
|
1ac9680c52
Remove redundant default parameter.[ci skip]
|
11 年之前 |
aster
|
a11d455511
Do not recreate sprite node in AnimatedSprite2D, Do not use dynamic index buffer bug in DrawableProxy2D.
|
11 年之前 |
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 年之前 |
aster2013
|
0cfe56310a
Use multi thread check Drawable2D visiblity.
|
11 年之前 |
aster2013
|
a47c9ebe32
Add visibility property in Drawable2D.[ci skip]
|
11 年之前 |
aster2013
|
c52d2e35d5
Delay call Drawable2D::GetVertices.
|
11 年之前 |
aster2013
|
0354d3a2f2
Add visibility checking in DrawableProxy2D.
|
11 年之前 |
Lasse Öörni
|
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 年之前 |
aster2013
|
077df45dc0
Reorder functions in DrawableProxy2D.
|
11 年之前 |
Lasse Öörni
|
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 年之前 |
Lasse Öörni
|
de8396f0c4
Ensure StaticSprite2D calculates its local boundingbox correctly, then transforms it to world space. Remove DrawableProxy2D searching for a camera node, as that is unreliable. Instead a large bounding box (similar to SkyBox) is set for it.
|
11 年之前 |
aster2013
|
5957f7bcc3
Chanage update geometry in main thread.
|
11 年之前 |
aster2013
|
a32334d230
Fix bounding box calculate in ParticleEmitter2D, use dummy bounding box in DrawableProxy2D.
|
11 年之前 |
aster2013
|
d7a3b4336d
Use index buffer in DrawableProxy2D.
|
11 年之前 |
aster2013
|
c31637ed43
Add batch rendering for all 2D objects.
|
11 年之前 |
aster2013
|
43147fbe1d
Convert MaterialCache2D to a component. [ci skip]
|
11 年之前 |
aster2013
|
e0e7fe8ea5
Add MaterialCache2D, Remove DrawableProxy2D.
|
11 年之前 |
aster2013
|
82c0cd6ae2
Add DrawableProxy2D (Not finish, currently on cache material).[ci skip]
|
11 年之前 |