yangxiao
a1ec27d0b1
calculate aabb if not exist
2014-12-08 10:30:06 +08:00
yangxiao
2a445ef1d9
correct unsuitable word
2014-12-05 16:44:49 +08:00
yangxiao
11d9f27c00
createAsync comment
2014-12-05 16:11:14 +08:00
yangxiao
3439b7f68d
refactor async load callback funtion
2014-12-05 15:48:46 +08:00
yangxiao
c99185b755
add async load test
2014-12-05 15:01:30 +08:00
yangxiao
bc57e47ddb
add async task callback dipatcher, call it in the main thread
2014-12-04 18:31:10 +08:00
tangziwen
8605595a5b
let billboard can rotate in the Z axis
2014-12-04 15:19:41 +08:00
yangxiao
f17df4b0bc
add createAsync
2014-12-03 17:40:27 +08:00
minggo
f13f649a7b
Merge pull request #9306 from super626/v3
...
refactor bundle
2014-12-03 14:04:59 +08:00
lvlong
82241a74dd
fix bug: if the material's content that version 0.1 is empty.
2014-11-27 17:31:22 +08:00
Ricardo Quesada
33a2d0451c
Code conforms with the cocos2d-x c++ guidelines
2014-11-25 17:53:52 -08:00
XiaoYang
e68199b8bb
Merge pull request #163 from lvlonggame/v3
...
fix bug: read animation number by different version.
2014-11-19 18:03:27 +08:00
lvlong
3b8fcd21eb
fix bug: read animation number by different version.
2014-11-19 17:59:35 +08:00
yangxiao
460bc2bf08
move aabb calculation to bundle
2014-11-19 17:58:40 +08:00
tangziwen
0d43a8f337
add macro CC_MODEL_VIEWER
2014-11-19 17:01:34 +08:00
tangziwen
63fcdcebdd
use dummy texture even if in release mode
2014-11-19 16:16:59 +08:00
yangxiao
fb638bdf94
Merge branch 'newcode' into v3
2014-11-19 10:12:05 +08:00
yangxiao
eccfbe5c59
merge bundle modification
2014-11-19 10:09:30 +08:00
Vladimir Timofeev
b0a6cf1182
Use standard cmake control variable to control static or dynamic build BUILD_SHARED_LIBS
2014-11-18 17:48:54 +03:00
lvlong
a33bad7482
modify read animation.
2014-11-18 16:10:33 +08:00
cpascal
74ba46f225
Fixed "warning: bundle reader out of range"
...
This warning was displayed even if it's valid c3b file..
Changed "validLength <= needLength" to "validLength < needLength".
2014-11-09 07:38:44 +09:00
XiaoYang
5deaccda29
Merge pull request #153 from songchengjiang/new_v3
...
Read AABB Info From Model File(obj/c3t/c3b)
2014-11-06 12:47:37 +07:00
songchengjiang
ce46773dd7
optimization
2014-11-06 10:37:32 +08:00
songchengjiang
e9c0249f9d
change include path
2014-11-06 09:38:16 +08:00
minggo
25053b80bc
Merge pull request #8930 from super626/fixsprite
...
add Sprite3D::getMeshArrayByName and refactor re-skin test
2014-11-05 18:11:51 +08:00
minggo
8a49ae0b07
Merge pull request #8981 from vovkasm/clean-order-of-fields-initialization
...
Cleanup order of fields initialization.
2014-11-05 17:51:58 +08:00
songchengjiang
79f5d0e014
consider v0.3 v0.4
2014-11-04 11:39:09 +08:00
songchengjiang
2ed3d7d8e3
merge v0.5 Code
2014-11-04 11:14:11 +08:00
songchengjiang
a55575eeb7
Tab Format
2014-11-04 10:39:41 +08:00
songchengjiang
80885dc77c
fix calculateAABB BUG
2014-11-04 10:20:22 +08:00
songchengjiang
d5805fbce8
Read AABB Info From Model File(obj/c3t/c3b)
2014-11-03 18:05:23 +08:00
lvlong
2019aa21fc
Merge branch 'v3' of github.com:super626/cocos2d-x into v3
2014-10-31 11:28:10 +08:00
lvlong
fbdfaaf685
optimize Bundle3D about multi-animation loading.
2014-10-31 11:07:24 +08:00
Vladimir Timofeev
2835b094da
Cleanup order of fields initialization.
...
Make initialization order to match declarations.
This change twice reduces number of warnings when compiling on MacOS X with Xcode 6.1
Warnings was like "Field 'XXXX' will be initialized after field 'YYYY'"
2014-10-30 17:28:41 +03:00
yangxiao
77aebb657d
merge cocos
2014-10-30 11:56:20 +08:00
yangxiao
7656ff2f0e
fix wrong vertex buffer size
2014-10-27 13:59:40 +08:00
yangxiao
0696041ea9
add getMeshArrayByName method
2014-10-25 12:27:03 +08:00
yangxiao
4d08a08809
add getMeshCount method
2014-10-24 15:57:47 +08:00
yangxiao
f878533f85
load attached sprite from cache
2014-10-24 15:52:24 +08:00
XiaoYang
01e2d62e90
Merge pull request #149 from lvlonggame/v3
...
Fix bug: load sprite3D from cache, the attach node will be discarded.
2014-10-24 15:43:37 +08:00
yangxiao
7cf5b50790
add getMeshCount method
2014-10-24 15:24:36 +08:00
lvlong
799f375802
Fix bug: load sprite3D from cache, the attach node will be discarded.
2014-10-24 12:02:55 +08:00
lvlong
48f2bbb1d1
merge new code
2014-10-23 13:53:23 +08:00
yangxiao
1a5ab908fd
Merge branch 'newcode' into v3
2014-10-21 19:31:15 +08:00
yangxiao
9be19cf5ac
remove nodetoparent
2014-10-21 19:29:56 +08:00
lvlong
63a47534ab
fix 0.2 version load bug.
2014-10-21 18:44:10 +08:00
lvlong
622df56614
fix OBB intersects bug
2014-10-21 17:22:42 +08:00
lvlong
8664111e4a
modify camera attach bug!
2014-10-21 17:19:50 +08:00
minggo
60ecec2ff6
Merge pull request #8881 from super626/v3
...
Fix Bugs
2014-10-21 13:55:48 +08:00
yangxiao
25409b441a
adjust code
2014-10-21 11:59:03 +08:00
XiaoYang
9a7ecbf22b
Merge pull request #146 from tangziwen/v3
...
fix some bugs when loading Animation3D from binary file
2014-10-21 11:47:45 +08:00
tangziwen
61a6fda1c0
fix some bugs when loading Animation3D from binary file
2014-10-21 11:43:28 +08:00
XiaoYang
bf931d5883
Merge pull request #145 from tangziwen/v3
...
fix animation3D ID bug
2014-10-21 10:04:46 +08:00
yangxiao
1a72d89194
fix AABB computation
2014-10-20 22:53:24 +08:00
tangziwen
8f7d202816
fix animation3D ID bug
2014-10-20 19:22:00 +08:00
Dhilan007
a5f838496c
Move `CCCamera.cpp/h` `CCLight.cpp/h` into 2d
2014-10-20 16:25:24 +08:00
minggo
18ca7c936c
Merge pull request #8768 from Dhilan007/v3-33rc
...
Improve Android.mk
2014-10-17 14:09:49 +08:00
minggo
91ef975c57
Merge pull request #8667 from super626/v3
...
Modify return type of Mesh::getAABB, add Animate3D::create from start frame and end frame
2014-10-17 13:40:53 +08:00
yangxiao
9e1656e5b0
simplify compute global z when it is transparent
2014-10-17 11:52:39 +08:00
yangxiao
87850d0378
rename Animate::createWithFrames
2014-10-17 11:16:07 +08:00
XiaoYang
ed5f5d7229
Merge pull request #143 from tangziwen/v3
...
fix Zorder for transparent mesh
2014-10-17 11:14:01 +08:00
tangziwen
d14b30ecac
fix tab style
2014-10-17 10:59:53 +08:00
Dhilan007
ccbc668427
Improve Android.mk
2014-10-17 10:13:33 +08:00
tangziwen
69cda9ccae
fix duplicate function in create dummy texture
2014-10-17 08:58:05 +08:00
minggo
fef079aee6
Merge pull request #8682 from super626/fixbillboard
...
Fixbillboard
2014-10-16 12:04:50 +08:00
tangziwen
f7888d9798
tab style fix
2014-10-15 17:01:56 +08:00
tangziwen
6ed31fa47e
fix some dummy texture bugs , supply some comments
2014-10-15 16:25:14 +08:00
tangziwen
cd1d2289a6
bug fix
2014-10-15 11:36:44 +08:00
tangziwen
29b255fa36
use a pure red dummy texture to indicate Sprite3d texture missing
2014-10-15 10:39:18 +08:00
tangziwen
473c9e90b2
fix Zorder for transparent mesh
2014-10-14 16:59:41 +08:00
songchengjiang
081196c933
fixed BillBoard
...
Added New Test case
2014-10-14 15:08:36 +08:00
yangxiao
530bc96dd5
add comment
2014-10-14 10:50:54 +08:00
yangxiao
70f4ca2a4a
Merge branch 'newcode' into v3
2014-10-14 09:28:17 +08:00
XiaoYang
c171a8772d
Merge pull request #140 from tangziwen/v3
...
fix mesh AABB incorrect calculation through using static variable
2014-10-14 09:23:13 +08:00
tangziwen
7566880d46
fix mesh's AABB calculation incorrect by using static variable
2014-10-14 09:14:46 +08:00
songchengjiang
ecd63db80b
Fixing bug
2014-10-13 19:10:42 +08:00
tangziwen
e8007b9e63
fix mesh AABB incorrect calculation through using static variable
2014-10-13 17:49:00 +08:00
yangxiao
d81e4d7a92
fix light uniform array errors, and using shader without light by default fix #8612
2014-10-13 15:17:22 +08:00
XiaoYang
72e6204426
Merge pull request #138 from lvlonggame/v3
...
add create Animate3D interface by frame section
2014-10-11 17:36:37 +08:00
lvlong
6be64fedd7
modify Animate3D::create
2014-10-11 17:02:42 +08:00
lvlong
4bba69d578
add a param comment
2014-10-10 17:48:54 +08:00
lvlong
2c18db5b18
create animate by frame section.
2014-10-10 17:44:45 +08:00
Huabing.Xu
a08d0e4be3
Merge branch 'v3' into v3_fixGLProgramCrash
2014-10-10 15:05:09 +08:00
yangxiao
a67825e950
use shader without light by default
2014-10-10 15:01:14 +08:00
Huabing.Xu
e69465e428
remove texture unit 4-7, only 0 -3 is reserved
2014-10-10 14:06:37 +08:00
yangxiao
88fc4258ca
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-10-09 17:02:10 +08:00
Ricardo Quesada
d326db427f
removes the `3d_export.h` file
2014-10-08 18:30:23 -07:00
lvlong
cba155b5bc
Remove string err no used
2014-10-08 15:23:31 +08:00
martell
d420ae39e2
Added CC_STATIC support for 3d, all these commits will be squashed and renamed, structured and signed at the end
...
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-03 23:22:27 +01:00
martell
c3172bef50
Finalise Windows cmake support for mingw-w64
...
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-03 23:22:09 +01:00
martell
ecd8a02ee6
Fixed up some more cmake errors
...
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-03 23:22:01 +01:00
martell
30240a8a37
Multi platform cmake support
...
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-03 23:21:45 +01:00
yangxiao
38873dd999
move light fix linux and android
2014-09-28 16:05:20 +08:00
yangxiao
dbf564208b
move light from 3d to base
2014-09-28 16:02:12 +08:00
yangxiao
744e09c141
reset change to getDirectionInWorld
2014-09-28 11:03:18 +08:00
yangxiao
53dee7ef86
can ci android compile?
2014-09-28 10:21:47 +08:00
yangxiao
db2ff49f26
adjust according to minggo
2014-09-26 14:13:26 +08:00
yangxiao
e2f1b91117
remove unused variable
2014-09-25 22:25:43 +08:00
yangxiao
90523fc3d5
fix light check
2014-09-25 22:24:47 +08:00
yangxiao
ca9eb3d203
support ambient light without normal & optimaze code
2014-09-25 18:32:33 +08:00