yangxiao
2786e63824
Merge branch 'newcode' into obb
2014-08-14 18:58:46 +08:00
yangxiao
84bb22780a
merge cocos2d
2014-08-14 17:16:20 +08:00
yangxiao
ab783d2702
merge cocos2d
2014-08-14 17:12:39 +08:00
yangxiao
1942a27a5c
Merge branch 'newcode' into v3_merge
2014-08-14 13:55:57 +08:00
lvlong
dbf58b8873
modify function name and add default to switch block.
2014-08-14 13:15:37 +08:00
yangxiao
f6da3b76b5
use renderer passed instead of get from global
2014-08-14 10:29:17 +08:00
yangxiao
6ce3b5c20a
add mirror test
2014-08-13 17:38:16 +08:00
Huabing.Xu
cb8c80de0d
export MeshSkin as CC_DLL
2014-08-12 14:41:25 +08:00
lvlong
f191bebe72
optimize Sprite3D get aabb.
2014-08-12 13:45:06 +08:00
lvlong
c592ac4248
for pull request modify!!
2014-08-11 10:40:34 +08:00
yangxiao
53c143c679
remove normalize
2014-08-09 00:02:40 +08:00
yangxiao
73a0b7701d
remove normalize
2014-08-09 00:02:19 +08:00
lvlong
8101e2ff1a
1. move drawnode3d to Sprite3DTest
...
2. add getAABB to sprite3D and mesh
2014-08-08 17:54:39 +08:00
yangxiao
ceb6549ec8
merge cocos2d
2014-08-08 16:25:52 +08:00
lvlong
28769c9b15
add obb sample
2014-08-08 11:16:33 +08:00
yangxiao
813e954f4e
aabb, obb
2014-08-08 00:00:58 +08:00
yangxiao
3c9483899e
camera, cameratest, drawNode3D squash
2014-08-07 15:23:31 +08:00
martell
75911658aa
Make CMake More Robust
2014-08-06 15:43:19 +01:00
yangxiao
8ffd0fe16e
spelling error
2014-08-04 16:07:16 +08:00
yangxiao
4084fdc461
add new file to cmake
2014-08-04 15:49:12 +08:00
yangxiao
4452d9579a
merge cocos2d, fix lua
2014-08-04 12:07:27 +08:00
yangxiao
52d3c4461f
adjust
2014-07-31 20:20:29 +08:00
yangxiao
7562214c63
adjust
2014-07-31 20:19:43 +08:00
yangxiao
342dc05890
adjust
2014-07-31 20:17:51 +08:00
yangxiao
4aec1d37c8
code adjust
2014-07-31 20:14:43 +08:00
yangxiao
49052ab28d
code adjust
2014-07-31 18:42:58 +08:00
yangxiao
ca0afcfa92
add Quaternion::ZERO
2014-07-31 18:36:30 +08:00
yangxiao
17304b4775
add comment
2014-07-31 18:28:52 +08:00
yangxiao
780914687e
code style adjust according minggo
2014-07-31 18:14:01 +08:00
yangxiao
38c86f7697
skeleton retain
2014-07-31 10:57:19 +08:00
yangxiao
2c29560514
add CC_DLL
2014-07-31 10:28:39 +08:00
yangxiao
44c501ca2a
merge cocos2d
2014-07-31 09:56:23 +08:00
yangxiao
9f1cfbfca5
add skeleton and refactor skin
2014-07-30 18:32:34 +08:00
yangxiao
da4ba95806
SubMesh and Attachment
2014-07-29 10:49:06 +08:00
minggo
7ba4f2ed5e
Merge pull request #7526 from chenguangqi/v3
...
fixed compile error.
2014-07-21 13:54:31 +08:00
陈广歧
8b4953bbfc
fixed compile error.
...
```bash
# compile for android.
$ ./build_native.py
```
Error message as follow:
```
ssize_tjni/../../cocos2d/cocos/./3d/CCBundleReader.cpp:94:23: error: return type of out-of-line
definition of 'cocos2d::BundleReader::tell' differs from that in the declaration
ssize_t BundleReader::tell()
^
jni/../../cocos2d/cocos/./3d/CCBundleReader.h:90:14: note: previous declaration is here
long int tell();
^
1 error generated.
```
2014-07-19 18:29:52 +08:00
Huabing.Xu
3c6e87d34e
Merge branch 'v3' into v3_dll
...
Conflicts:
cocos/base/ccUtils.h
2014-07-17 14:12:10 +08:00
Huabing.Xu
0350186589
Merge branch 'v3' into v3_dll
2014-07-16 11:15:16 +08:00
Huabing.Xu
ed690114d7
add CC_DLL for mesh, lua works now
2014-07-15 15:19:34 +08:00
Huabing.Xu
dbd3fce0a5
windows dll version of cpp-tests works
2014-07-15 13:54:08 +08:00
Huabing.Xu
60334e8b3e
add CC_DLL for 3d
2014-07-15 09:45:43 +08:00
boyu0
c7fec217ba
Change atof() to utils::atof()
2014-07-14 20:45:24 +08:00
minggo
6c37541657
Merge pull request #7363 from Dhilan007/v3-event-clear
...
Dispatch EVENT_RENDERER_RECREATED event when renderer was recreated on android/wp8.
2014-07-11 13:36:52 +08:00
yangxiao
fd8541e32d
rename Bone to Bone3D
2014-07-11 10:17:36 +08:00
minggo
c7856b21fd
Merge pull request #7366 from Dhilan007/v3-fixed-warn
...
fixed warn and replace NULL with nullptr.
2014-07-10 15:42:02 +08:00
yangxiao
0b4c6b7f7a
comment
2014-07-10 11:05:48 +08:00
yangxiao
d7b88e86ff
add comment
2014-07-10 10:56:52 +08:00
yangxiao
ef1f6892e1
deprecated Mesh::create use less parameter ones instead
2014-07-10 10:54:37 +08:00
Dhilan007
6cff8cb564
fixed warn and replace NULL with nullptr.
2014-07-10 00:45:27 +08:00
Dhilan007
dbcb20b886
Dispatch EVENT_RENDERER_RECREATED event when renderer was recreated on android/wp8.
...
Make clear EVENT_COME_TO_FOREGROUND event.
2014-07-09 23:03:04 +08:00
yangxiao
dbea3a4d04
deprecated functions
2014-07-09 14:07:33 +08:00
yangxiao
0c28106b48
init playreverse
2014-07-09 09:59:18 +08:00
yangxiao
90b6841e25
adjust api according feedback
2014-07-09 09:53:15 +08:00
lvlong
6de3309f90
have two GL_UNSIGNED_INT delete one
2014-07-08 20:13:57 +08:00
yangxiao
8b482fdfcd
remove gl_fixed
2014-07-08 11:02:00 +08:00
lvlong
e315ef527a
parseGLType bug
2014-07-07 17:22:46 +08:00
lvlong
a48d33ce31
Merge branch 'newcode' into v3
2014-07-07 17:06:37 +08:00
lvlong
0a9e96bfdf
modify Bundle3D::parseGLType add other type
2014-07-07 09:16:08 +08:00
yangxiao
d2cd2449d8
adjust code
2014-07-04 10:42:02 +08:00
lvlong
ff908d771a
add a space to test pushing
2014-07-01 11:26:29 +08:00
lvlong
e44dee6607
merge
2014-07-01 11:08:37 +08:00
lvlong
e3cc234cfb
Revert "modify BundleReader and the version read"
...
This reverts commit 660c80fac7
.
2014-07-01 11:05:48 +08:00
lvlong
660c80fac7
modify BundleReader and the version read
2014-07-01 10:45:01 +08:00
lvlong
c1afd7133a
modify BundleReader and the version read
2014-07-01 09:30:14 +08:00
lvlong
df7ab50062
modify BundleReader and the version read
2014-07-01 09:26:21 +08:00
minggo
36e864552e
Merge pull request #7253 from super626/v3
...
c3b loader bug
2014-06-30 17:33:13 +08:00
lvlong
701a2b60c2
sub-version > 0
2014-06-30 17:14:47 +08:00
lvlong
42aaf38468
modify reader-64bit bug
2014-06-30 17:10:07 +08:00
Dhilan007
26f3445311
add missing files for the projects
2014-06-30 17:07:55 +08:00
yangxiao
58e9fcc741
remove unused code
2014-06-27 22:11:29 +08:00
Huabing.Xu
9126819941
linux work now for bundleReader
2014-06-27 01:22:41 -07:00
lvlong
9d9c1eb51a
change the tab in code to space
2014-06-27 14:42:48 +08:00
lvlong
e6e9c6caa9
modify bug about parent index is -1
2014-06-27 09:32:09 +08:00
yangxiao
392a769c8f
merge cocos2d v3
2014-06-26 22:48:42 +08:00
yangxiao
2175b25730
fix animation bug
2014-06-26 21:58:26 +08:00
yangxiao
ccb39e51b2
animation3d transition not finished
2014-06-26 18:35:12 +08:00
minggo
dc635db163
fix warnings
2014-06-26 16:15:02 +08:00
lvlong
658a955e36
modify skindata binary reading
2014-06-25 13:20:42 +08:00
lvlong
da835cb837
modify origin-pos stuff
2014-06-25 11:35:55 +08:00
lvlong
984e9079a7
modify bundle3d
2014-06-25 10:13:11 +08:00
lvlong
ab910dfe19
reader test
2014-06-25 09:13:24 +08:00
yangxiao
2e4c801b2f
load originpose
2014-06-24 23:33:30 +08:00
lvlong
dc0101737c
test for tony
2014-06-24 14:43:20 +08:00
lvlong
431378a41e
commit for tony test
2014-06-24 14:10:03 +08:00
lvlong
2de28eea89
for tony
2014-06-24 13:40:04 +08:00
yangxiao
c65e5d6872
simplify shader, bath sprite3D render
2014-06-23 19:08:26 +08:00
lvlong
e48982aeaa
unsigned int -> size_t
2014-06-23 11:12:08 +08:00
lvlong
0ac6b8c96d
1.delete write function from bundle reader.
...
2.unsigned int -> size_t.
2014-06-23 11:10:03 +08:00
yangxiao
c92ba3f3dc
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-06-23 09:32:59 +08:00
lvlong
75f1ef5288
modify warning
2014-06-23 09:23:09 +08:00
yangxiao
92da41694d
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-06-23 09:05:03 +08:00
yangxiao
1e319bc1f8
fix compile bug
2014-06-20 22:38:09 +08:00
yangxiao
1581396810
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-06-20 18:54:34 +08:00
yangxiao
3096979b1f
rename createSubAnimate3D to create
2014-06-20 18:54:09 +08:00
XiaoYang
2371e8e6ae
Merge pull request #38 from lvlonggame/v3
...
binary loader
2014-06-20 18:46:52 +08:00
yangxiao
c5e562106f
Animate3D support spawn
2014-06-20 17:55:25 +08:00
lvlong
69436ddd65
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
...
Conflicts:
cocos/3d/CCBundle3D.cpp
cocos/3d/CCBundle3D.h
cocos/3d/CCBundle3DData.h
2014-06-20 16:02:22 +08:00
lvlong
e4bbfad773
1. binary loader is OK.
...
2. add some comment.
2014-06-20 15:30:08 +08:00
yangxiao
f633c6a8c2
create sub Animate3D
2014-06-20 12:01:54 +08:00
lvlong
8493c4579b
before switch branch save
2014-06-19 15:43:02 +08:00
yangxiao
c5bb10e5f4
add comments
2014-06-19 14:11:14 +08:00
yangxiao
4db0bea73f
bone original pose
2014-06-19 12:01:03 +08:00
yangxiao
9eaff7465d
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3
2014-06-18 17:17:33 +08:00
yangxiao
052b4fa1ce
bone origin matrix
2014-06-18 17:16:54 +08:00
minggo
a587931ce3
Merge pull request #7115 from minggo/windows-fix
...
fix compiling error on windows
2014-06-18 14:14:39 +08:00
minggo
d6776b664a
fix compiling error on windows
2014-06-18 14:01:57 +08:00
Dale Stammen
6fcf43e64d
#undef NEAR reserved word for WP8 and WinRT
2014-06-17 09:27:19 -07:00
yangxiao
1ba59fba94
code adjustment according to minggo
2014-06-17 19:18:56 +08:00
yangxiao
e1fb8c82f0
missing include
2014-06-17 15:31:45 +08:00
yangxiao
6c39dc0e18
adjust includes
2014-06-17 15:28:14 +08:00
lvlong
c1fd9adebf
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-06-17 13:59:25 +08:00
lvlong
ef32bffceb
modify bundle3D load()
2014-06-17 13:59:03 +08:00
yangxiao
fd02a914f4
remove unused code
2014-06-17 13:50:58 +08:00
yangxiao
b9824e1778
remove external from include path
2014-06-17 21:16:32 +08:00
yangxiao
189fbb7071
resolve conflict
2014-06-17 10:52:48 +08:00
yangxiao
fb7fc23ee9
refactor code
2014-06-17 10:49:52 +08:00
Huabing.Xu
07ec5970fb
1. using external/json folder for rapidjson
...
2. linux works now
2014-06-16 19:18:02 -07:00
yangxiao
10a49523b9
fix cache, android work
2014-06-16 23:43:07 +08:00
yangxiao
7ae06d44a6
cache work
2014-06-16 20:58:13 +08:00
lvlong
d587971c09
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-06-16 19:35:35 +08:00
lvlong
32cc5b12d6
ready
2014-06-16 19:30:45 +08:00
yangxiao
531f8998a1
skincache
2014-06-16 19:17:07 +08:00
lvlong
4b7f6a6185
static Sprite3D is ok
2014-06-16 19:08:43 +08:00
yangxiao
2c6f7b63d1
avoid reopen file
2014-06-16 18:46:58 +08:00
yangxiao
0c07b05e1d
remove unused code
2014-06-16 18:36:30 +08:00
yangxiao
c00cdd0ae3
use bone dirtyflag
2014-06-16 18:22:32 +08:00
yangxiao
bc31d6b082
merge lv
2014-06-16 16:45:43 +08:00
yangxiao
58a6adca02
construct BoneBlendState
2014-06-16 15:45:58 +08:00
lvlong
a4ee8b8dc2
Merge branch 'lv' of https://github.com/super626/cocos2d-x into v3
2014-06-16 15:39:05 +08:00
lvlong
2282c98f2e
do some test
2014-06-16 15:38:03 +08:00
Huabing.Xu
a0ba6775c6
adjust animation logic
2014-06-16 15:22:00 +08:00
lvlong
2840409933
for tony test
2014-06-16 14:09:41 +08:00
yangxiao
7b621c5c93
aa
2014-06-16 00:26:31 +08:00
yangxiao
dd8f66ce57
merge loader
2014-06-16 00:01:38 +08:00
yangxiao
9dd7241176
load c3t animation work 90%
2014-06-15 22:45:56 +08:00
lvlong
4ae01d148f
11
2014-06-13 19:26:46 +08:00
yangxiao
ff6ef1140d
two animate3d the same time
2014-06-13 19:20:19 +08:00
yangxiao
247734e2e0
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-06-13 12:25:04 +08:00
Huabing.Xu
f7b8acd6fd
change pointer to std::vector for mesh
2014-06-13 11:59:13 +08:00
yangxiao
09fe7e13b7
blendstate
2014-06-13 09:12:29 +08:00
yangxiao
ae0b850d89
boneblendstate 30%
2014-06-12 18:32:47 +08:00
lvlong
14f4b6430f
modify 3dloader, you can run animation.
2014-06-12 18:26:42 +08:00
lvlong
1ca69d2689
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
...
Conflicts:
cocos/3d/CCBundle3D.cpp
cocos/3d/CCBundle3D.h
tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp
2014-06-12 16:28:36 +08:00
lvlong
742ea7f2df
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
...
Conflicts:
cocos/2d/cocos2d.vcxproj.filters
cocos/3d/CCBundle3D.cpp
cocos/3d/CCBundle3D.h
2014-06-12 15:53:41 +08:00
Huabing.Xu
e70918e325
extract Animation3DData
2014-06-12 14:03:33 +08:00
lvlong
9fe7c1a9da
loader
2014-06-12 10:01:54 +08:00
Huabing.Xu
f1bc0971aa
extract mesh data, material data, skin data into a header file for reuse in converter and engine
2014-06-11 18:24:14 +08:00
Huabing.Xu
65acec013b
Merge branch 'v3' into v3Animation
2014-06-11 17:45:31 +08:00
Huabing.Xu
18663609b4
add interface for speed and playback in animate
2014-06-11 15:07:37 +08:00
yangxiao
d76525ced1
use my data temp
2014-06-11 14:20:14 +08:00