lvlong
73a2a6385a
add frustum culling.
2014-12-16 16:34:35 +08:00
yangxiao
5ad408530c
merge cocos
2014-12-15 17:47:05 +08:00
XiaoYang
a59d4ab2a3
Merge pull request #171 from tangziwen/v3
...
let billboard can rotate in the Z axis
2014-12-08 09:34:58 +07:00
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
yangxiao
8f3f37c2bb
auto switch shader according to light status
2014-09-25 17:13:46 +08:00
yangxiao
567c632d98
config max support light number in shader
2014-09-25 15:29:32 +08:00
yangxiao
56313aa895
merge cocos
2014-09-25 11:05:02 +08:00
songchengjiang
b51dc584d5
Light optimization
2014-09-23 17:08:28 +08:00
songchengjiang
216c40fe9e
Modified Light Shader
2014-09-22 18:08:58 +08:00
yangxiao
61def04ca6
add light mask
2014-09-22 11:14:30 +08:00
minggo
653986a3a2
Merge pull request #8106 from super626/v3
...
add OBBs to OBB collision test by default, Fix 0.1 version static model load bug and remove unused resource
2014-09-19 16:16:33 +08:00
yangxiao
5b61e569f5
light mask
2014-09-19 14:50:20 +08:00
XiaoYang
d1328cfb41
Merge pull request #132 from lvlonggame/v3
...
Deal read string length problem!
2014-09-19 14:47:59 +08:00
lvlong
eb89efe510
deal the length problem!
2014-09-19 14:30:02 +08:00
songchengjiang
f052e45c04
Move Light Uniforms into Meshcommand
2014-09-19 10:54:07 +08:00
songchengjiang
62777e9552
compile Android
2014-09-18 18:35:18 +08:00
songchengjiang
3c67515378
Finished light reconstruction
2014-09-18 16:38:35 +08:00
yangxiao
25091ca849
add transparent flag to render command
2014-09-18 12:00:44 +08:00
yangxiao
8c77130ae0
refactor light compile
2014-09-17 18:58:35 +08:00
yangxiao
34f642377e
fix billboard anchor point
2014-09-17 18:01:18 +08:00
yangxiao
41caef878b
refactor light
2014-09-17 17:59:10 +08:00
yangxiao
584284c847
merge cocos and rename lighttest
2014-09-17 14:26:57 +08:00
yangxiao
c5f6f8de5b
share glprogramstate
2014-09-17 13:42:08 +08:00
yangxiao
2e0e4e58c8
support transparent object
2014-09-12 17:57:54 +08:00
yangxiao
9eb62ed1f6
Merge branch 'newcode' into v3
2014-09-12 10:00:13 +08:00
yangxiao
df9ab144fe
light work
2014-09-11 15:46:32 +08:00
yangxiao
e849b997ed
modify interface
2014-09-11 12:05:49 +08:00
yangxiao
3cfc36591c
merge cocos
2014-09-11 10:13:57 +08:00
yangxiao
33cabb553a
add transparent property
2014-09-11 09:15:24 +08:00
yangxiao
bb6f5a6be5
Merge branch 'newcode' into billboard
2014-09-10 16:27:59 +08:00
minggo
46d4f487bb
Merge pull request #7978 from super626/v3
...
Calculate Content Size for Sprite3D
2014-09-10 14:06:47 +08:00
yangxiao
a980a2efa4
merge cocos
2014-09-10 10:28:59 +08:00
Ricardo Quesada
6f3ca63f00
Moved base/CCPlatform* -> platform/CCPlatform*
2014-09-09 17:17:07 -07:00
Ricardo Quesada
0ead7b6307
Squashed commit of the following:
...
commit b9181ae92541d11119bedd766773ddb01f0bb486
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Sep 9 09:34:40 2014 -0700
Compiles luasocket on Mac
commit 91fc79aa2101867fedfbcd7d846e9508009894e6
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Sep 9 09:12:30 2014 -0700
disables luasockets
commit 31f2ee462708ab7b604b9399eaabd275e2da9e02
Merge: 19099fd 0abe4cb
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Sep 9 08:10:48 2014 -0700
Merge remote-tracking branch 'cocos2d/v3' into cmakefile_mac_osx
Conflicts:
cocos/3d/cocos3d.h
commit 19099fd021b4ecf1f2eebd73ea14e84572d1ee33
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 23:21:03 2014 -0700
compiles on Linux
commit eec7b92817ac9208123468bb882612aad89f94bf
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 23:16:46 2014 -0700
all projecs compiles with CMake
commit 40fcc8325b409a580fdbf26d2ee27aa2d1db0109
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 21:47:27 2014 -0700
CCUserDefualt.mm better includes
commit 30709ec8243562858498cb118240bb45bf9b33b0
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 21:26:36 2014 -0700
cpp-tests compiles and works on Mac using CMake
commit 67f0fc8df887d08d3d7a27c5fdadd335d6841676
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 20:12:09 2014 -0700
Adds missing files to CMakeLists.txt
commit 36f939ea7f157ca851aee138300c13d9888c0078
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 19:52:34 2014 -0700
Adds more box2d missing files
commit 00f81e3b5ec97150974cc6022e86c394ff488ccb
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 19:39:54 2014 -0700
Adds missing box2d files
commit 9673227b4d7d0e6d9eced49bdd69b98cb519968a
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 18:44:15 2014 -0700
Initial CMake support for Mac
2014-09-09 12:18:31 -07:00
songchengjiang
4099015421
Sprite3D set default _contentSize by AABB
2014-09-09 17:47:34 +08:00
yangxiao
cf9094207a
merge cocos
2014-09-09 16:00:55 +08:00
yangxiao
b88c462c8f
remove Sequence3D
2014-09-09 11:34:17 +08:00
yangxiao
a295159a3a
Merge branch 'newcode' into transition
2014-09-09 10:37:08 +08:00
yangxiao
730ab846c3
code adjustment
2014-09-05 14:59:14 +08:00
yangxiao
8da7a4b2de
merge cocos reslove conflict
2014-09-04 17:40:14 +08:00
yangxiao
31dc3301b3
add space line
2014-09-04 17:03:46 +08:00
yangxiao
a5e1e692e8
Merge branch 'billboard' of https://github.com/super626/cocos2d-x into billboard
2014-09-04 17:00:49 +08:00
liuliang
c42bef1f02
Add a bulletin board test example
2014-09-04 16:58:00 +08:00
yangxiao
d114e11a0b
android, linux and lua
2014-09-04 16:45:42 +08:00
yangxiao
226e60a3ee
rename billboard
2014-09-04 16:26:36 +08:00
yangxiao
86d9ce381b
rename billboard
2014-09-04 16:26:11 +08:00
yangxiao
08a1405bdc
fix bug on custom mesh
2014-09-04 14:26:23 +08:00
yangxiao
4e65d070a1
rename BillBoard Model
2014-09-03 18:19:12 +08:00
XiaoYang
58f4e84b9a
Merge pull request #126 from songchengjiang/billboard
...
Billboard
2014-09-03 18:12:08 +08:00
songchengjiang
114de83a0b
Added View_Oriented and View_Plane_Oriented Mode
2014-09-03 18:04:48 +08:00
songchengjiang
68ce6449e8
repaired camera orientation
...
Testing RotateBy action
2014-09-03 17:17:57 +08:00
yangxiao
bb90fe48ef
merge cocos
2014-09-03 16:54:17 +08:00
XiaoYang
f03c4d4790
Merge pull request #125 from liuliang2004/Meshv3
...
Set the node name
2014-09-03 15:59:49 +08:00
liuliang
c167ed17ee
Set the node name
2014-09-03 15:55:11 +08:00
yangxiao
5a85cb405e
fix billboard face
2014-09-03 15:28:15 +08:00
XiaoYang
4e0c358a90
Merge pull request #124 from liuliang2004/Meshv3
...
Set the node name
2014-09-03 13:12:33 +08:00
yangxiao
adda886210
tmp work
2014-09-03 11:58:09 +08:00
liuliang
278a3441ce
Set the node name
2014-09-03 11:43:42 +08:00
yangxiao
fed2021707
Fixme: frustum culling
2014-09-03 09:02:32 +08:00
lvlong
387f190ff1
Merge newcode into v3
2014-09-02 17:52:02 +08:00
lvlong
27f771744a
static model load problem of old version .
2014-09-02 17:33:22 +08:00
yangxiao
f84c6a5d27
Merge branch 'newcode' into transition
2014-09-02 17:15:05 +08:00
songchengjiang
8a88ba6142
Tab Format
2014-09-02 11:50:09 +08:00
songchengjiang
18d06015c6
Added More Models
...
Code optimization
2014-09-02 11:24:19 +08:00
yangxiao
d542624bfd
remove from map when release
2014-09-02 10:40:29 +08:00
yangxiao
9ce30bdabd
add to linux
2014-09-01 17:52:13 +08:00
yangxiao
57a70b629f
add sequence3d
2014-09-01 16:00:50 +08:00
yangxiao
33005bedcb
add to cocos3d
2014-09-01 15:32:06 +08:00
yangxiao
97c8764ae7
remove unused header
2014-09-01 15:21:47 +08:00
yangxiao
538fe2e543
Merge branch 'newcode' into transition
2014-09-01 15:14:30 +08:00
yangxiao
c24701ac79
Merge branch 'newcode' into v3
2014-09-01 15:11:27 +08:00
yangxiao
b5a3bb1c03
sequence3d work
2014-09-01 15:07:06 +08:00
songchengjiang
97f7d21f50
Format
2014-09-01 09:36:07 +08:00
yangxiao
f3e017e139
normalize quat
2014-09-01 09:34:09 +08:00
songchengjiang
3f8b430b3e
deleted Meshcommand
2014-09-01 09:33:08 +08:00
yangxiao
a039d6b0fc
animate3d transition
2014-08-29 18:25:42 +08:00
songchengjiang
4aa4287d28
test on Android
2014-08-29 17:29:15 +08:00
songchengjiang
34070677ad
Added testing Model Number
2014-08-29 17:11:18 +08:00
minggo
3679d66c8e
remove unneeded includes
2014-08-29 15:39:52 +08:00
songchengjiang
71d722854c
added mesh command
2014-08-29 12:08:28 +08:00
lvlong
496aad2fe7
remove 0.3 branch logic
2014-08-29 11:59:30 +08:00
lvlong
cbe61a4b73
modify log
2014-08-29 11:56:33 +08:00
lvlong
15c945d89b
Merge branch 'newcode' into v3
...
Conflicts:
cocos/3d/CCBundle3D.cpp
2014-08-29 11:04:15 +08:00
songchengjiang
701d70fb6c
Merge branch 'billboard' of https://github.com/super626/cocos2d-x into billboard
...
Conflicts:
cocos/2d/libcocos2d.vcxproj.filters
2014-08-29 10:58:04 +08:00
lvlong
5a1e0601a7
Code Standards
2014-08-29 10:43:26 +08:00
songchengjiang
96e6595e95
Added getInverseViewMatrix
2014-08-29 10:42:02 +08:00
yangxiao
18a0f34c5c
Merge branch 'newcode' into billboard
2014-08-29 10:12:00 +08:00
songchengjiang
06e3eb955f
repaired BillBoard Depth Test
2014-08-29 09:30:59 +08:00
songchengjiang
e6f055f3fd
calculated Z in View
...
Transparent Render
2014-08-28 19:22:01 +08:00
yangxiao
a3dd4e101a
animation transition
2014-08-28 18:53:15 +08:00
minggo
50a2cb2b86
remove unneeded includes
2014-08-28 17:32:23 +08:00
minggo
7baf873bf6
remove unneeded includes
2014-08-28 17:03:29 +08:00
yangxiao
16ab05a8cf
sequence3d
2014-08-28 13:47:17 +08:00
lvlong
a05d50d66e
Merge branch 'v3' of github.com:super626/cocos2d-x into merge-bundle
2014-08-28 12:02:33 +08:00
minggo
d3ce2acff6
Merge pull request #7892 from Dhilan007/v3-androidmk
...
Adjust android.mk for cocos2d and related module
2014-08-28 10:16:39 +08:00
yangxiao
74f98b36d6
merge cocos
2014-08-28 09:22:57 +08:00
Ricardo Quesada
3dda35b4ef
Adds `std::nothrow` to `new`
...
Since cocos2d-x doesn't support exceptions, it is important to add
`std::nothrow` to all the `new` statements
2014-08-27 16:31:57 -07:00
Dhilan007
bef774a14a
Adjust android.mk for cocos2d and related module
2014-08-27 22:54:28 +08:00
samuele3hu
3d5f8de346
Adjust android.mk for cocos2d and related module
2014-08-27 20:58:32 +08:00
lvlong
e05f6bc874
modify for compress
2014-08-27 18:44:31 +08:00
yangxiao
8cb3edf91f
merge cocos light work
2014-08-27 14:53:39 +08:00
yangxiao
fdc0fad935
tmp work
2014-08-27 14:46:24 +08:00
samuele3hu
3759648d3a
Remove the useless aneroid.mk files
2014-08-27 10:21:47 +08:00
samuele3hu
a5a706aa05
Remove the useless win32 project
2014-08-27 10:20:15 +08:00
yangxiao
8a38ce10be
first version billboard
2014-08-26 15:07:37 +08:00
yangxiao
7ff75fb397
remove warning
2014-08-26 14:19:08 +08:00
yangxiao
03390a4f46
merge cocos
2014-08-26 14:05:59 +08:00
songchengjiang
1a1ccda3ed
repaired Action BUG
2014-08-25 13:58:15 +08:00
yangxiao
c7f7623320
reserve animation size
2014-08-25 11:30:34 +08:00
yangxiao
3a0d63caa6
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-08-22 14:55:11 +08:00
yangxiao
a102946d35
android and linux
2014-08-22 14:54:26 +08:00
XiaoYang
e4737f9070
Merge pull request #112 from liuliang2004/Meshv3
...
Modify project file
2014-08-22 14:46:46 +08:00
yangxiao
39cc03173b
remove unused variable
2014-08-22 14:43:48 +08:00
liuliang
c7c091e4b6
Modify project file
2014-08-22 14:32:27 +08:00
yangxiao
81dbb0bca4
add comment
2014-08-22 14:02:51 +08:00
yangxiao
d90572fc10
engine refactor hide concept of submesh
2014-08-22 13:52:03 +08:00
yangxiao
7818b28ee3
Merge branch 'newcode' into v3
2014-08-22 13:32:57 +08:00
yangxiao
022b7e3fd3
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-08-22 13:27:14 +08:00
yangxiao
2d5431353a
engine adjust
2014-08-22 13:25:26 +08:00
pandamicro
bb5e189f30
Fix warning or Bundle3D
2014-08-21 20:02:22 +08:00
lvlong
4ce334c0c3
Merge branch 'v3' of github.com:super626/cocos2d-x into merge-bundle
2014-08-21 18:16:21 +08:00
lvlong
d00bcbccb0
add texture coord2-7
2014-08-21 18:14:24 +08:00
lvlong
7753f4c471
modify assert(0)
2014-08-21 13:30:51 +08:00
songchengjiang
e42eb950a3
Name modification
2014-08-21 11:33:00 +08:00
liuliang
9ee6683569
Merge branch 'v3' of github.com:super626/cocos2d-x into Meshv3
2014-08-21 11:24:11 +08:00
liuliang
082689971d
Modify the model resolution
2014-08-21 11:23:31 +08:00
lvlong
1f349cb3fe
fix binary load bug.
2014-08-21 10:38:33 +08:00
songchengjiang
5bad6e216b
Added No Normal Shader
2014-08-21 10:33:16 +08:00
yangxiao
3a69fc9b14
rename ModelDataNode to ModelData
2014-08-20 19:19:49 +08:00
yangxiao
fcf4d79b06
setGLProgramState support
2014-08-20 19:01:04 +08:00
yangxiao
bd4aec4bcd
support multi-attribs
2014-08-20 18:20:19 +08:00
songchengjiang
3a1c0583fb
optimization
2014-08-20 16:41:45 +08:00
songchengjiang
8b5bd3dbb6
Repaired the errors of Shader PassValue On Android
...
Light modification
2014-08-20 16:20:22 +08:00
yangxiao
9a6181fdca
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-08-20 15:02:26 +08:00
yangxiao
79857c471b
multiply Mesh attrib support
2014-08-20 15:02:16 +08:00
XiaoYang
82c2304e64
Merge pull request #105 from lvlonggame/merge-bundle
...
format code
2014-08-20 14:23:40 +08:00
lvlong
8e0d80d4c6
Merge branch 'newcode' into merge-bundle
...
Conflicts:
cocos/3d/CCBundle3D.cpp
2014-08-20 14:00:25 +08:00
liuliang
df272ee7f5
Modify the parsing
2014-08-20 13:53:15 +08:00
liuliang
a27a420a91
Merge branch 'v3' of github.com:super626/cocos2d-x into Meshv3
...
Conflicts:
cocos/3d/CCSprite3D.cpp
2014-08-20 11:45:48 +08:00
liuliang
c6cd9b029d
Modify the parsing
2014-08-20 11:40:04 +08:00
lvlong
93ee44c912
format code
2014-08-20 10:24:46 +08:00
songchengjiang
4cf1c6a47c
deleted redundant code
...
Replace Tab Format
2014-08-19 16:32:49 +08:00
songchengjiang
d9bf2c2b7e
Finished Light And Test
2014-08-19 15:51:30 +08:00
yangxiao
54423efe9f
fix reskin
2014-08-19 15:25:00 +08:00
XiaoYang
9f444b7010
Merge pull request #104 from liuliang2004/Meshv3
...
Modification is compatible with the old model
2014-08-19 14:32:05 +08:00
liuliang
9d3bab3810
Modification is compatible with the old model
2014-08-19 14:03:41 +08:00
songchengjiang
680f089ae1
Shader: Light struct modification
2014-08-19 13:54:30 +08:00
yangxiao
5cf30a363c
remove unused code
2014-08-19 13:54:06 +08:00
yangxiao
289b04a2ae
merge cocos2d
2014-08-19 13:19:42 +08:00
yangxiao
b2d43a4167
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-08-19 11:56:21 +08:00
yangxiao
f2729c7ef2
cache work
2014-08-19 11:56:09 +08:00
lvlong
2b70cf3dd8
Merge branch 'v3' of https://github.com/super626/cocos2d-x into merge-bundle
2014-08-18 20:22:56 +08:00
lvlong
9c25139895
animation & animations
2014-08-18 20:22:18 +08:00
yangxiao
d5df1f3ab2
forget return true
2014-08-18 18:56:01 +08:00
yangxiao
d6ed1af1f7
compute submesh aabb error
2014-08-18 18:34:18 +08:00
songchengjiang
9603366fcb
Fixed Android compiled Problem
2014-08-18 18:05:13 +08:00
yangxiao
b9c28dd8d7
return true
2014-08-18 17:57:14 +08:00
yangxiao
2f600f8af4
fix bundle mac
2014-08-18 17:52:27 +08:00
liuliang
ee4e4ca455
Merge branch 'v3' of github.com:super626/cocos2d-x into Meshv3
...
Conflicts:
cocos/3d/CCBundle3D.cpp
2014-08-18 17:39:28 +08:00
liuliang
e151b207a4
Modified binary load model, compatible with the old format
2014-08-18 17:31:04 +08:00
songchengjiang
10afb9b9af
Finished Point Light
...
Finished Directional Light
Finished Spot Light
2014-08-18 17:10:07 +08:00
yangxiao
01c1691a4f
deal aabb
2014-08-18 17:02:13 +08:00
samuele3hu
91fd40dd3a
Add a newline for some files
2014-08-18 15:27:54 +08:00
samuele3hu
7596a8a831
Split cocos3d from cocos2d on the android、win32 and linux platform and adjust the related test project
2014-08-18 14:58:57 +08:00
yangxiao
30ce92f677
obj work, make code clean
2014-08-18 14:16:34 +08:00
yangxiao
219404bd7d
change tex param
2014-08-18 11:42:41 +08:00
yangxiao
cd4da73beb
merge, obj not work now
2014-08-18 11:28:57 +08:00
yangxiao
79a55286ce
refactor to new model
2014-08-18 11:13:08 +08:00
liuliang
2f816aea2c
Modified load static model
2014-08-18 10:32:23 +08:00
samuele3hu
6259aebdab
Split cocos3d from cocos2d on the android、win32 and linux platform and adjust the related test project
2014-08-17 23:45:56 +08:00
yangxiao
1e961e00b7
obj loader work
2014-08-17 22:49:53 +08:00
lvlong
da63032a46
draw sub mesh bug
2014-08-16 20:38:00 +08:00
lvlong
b1c9fb99e3
animation is ok.
2014-08-16 19:51:59 +08:00
lvlong
9c41b1a826
Merge branch 'v3' of https://github.com/super626/cocos2d-x into merge-bundle
2014-08-16 18:20:29 +08:00
lvlong
4f4b8dc25c
for testing
2014-08-16 18:19:41 +08:00
yangxiao
fb1b7ca3bb
fix skeleton
2014-08-16 18:18:15 +08:00
lvlong
24bb827ef4
Merge branch 'v3' of https://github.com/super626/cocos2d-x into merge-bundle
2014-08-16 16:58:02 +08:00
yangxiao
7159914248
old model work
2014-08-16 16:56:04 +08:00
lvlong
4dd9102e87
Merge branch 'v3' of https://github.com/super626/cocos2d-x into merge-bundle
2014-08-16 15:45:28 +08:00
lvlong
5b59b8a987
fixed some loading problems.
2014-08-16 15:40:00 +08:00
yangxiao
a11ac316bf
create model
2014-08-16 14:52:44 +08:00
yangxiao
8a5bbabe21
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-08-16 14:49:47 +08:00
yangxiao
47d15a4aa1
load
2014-08-16 14:49:38 +08:00
lvlong
84dcff2f7a
Merge branch 'v3' of https://github.com/super626/cocos2d-x into merge-bundle
...
Conflicts:
cocos/3d/CCBundle3D.cpp
2014-08-16 14:44:41 +08:00
lvlong
d60a7734b1
merge bundle.
2014-08-16 14:28:15 +08:00
yangxiao
ae361c91cd
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-08-16 14:16:27 +08:00
yangxiao
ef2db59825
modify render
2014-08-16 14:16:17 +08:00
liuliang
ae79603791
Modify the material parsing
2014-08-16 14:14:37 +08:00
lvlong
f8f416cd3c
merge bundle
2014-08-16 11:12:26 +08:00
liuliang
21dcc51c0f
Modify the material parsing
2014-08-16 10:41:42 +08:00
liuliang
1b92409d78
Merge branch 'v3' of github.com:super626/cocos2d-x into Meshv3
2014-08-16 09:59:25 +08:00
liuliang
f35dd346eb
Modify Analytic
2014-08-16 09:59:08 +08:00
yangxiao
3ab7c6b952
create from bundle data
2014-08-15 20:52:45 +08:00
songchengjiang
2b1efc59cb
GLProgram Added Light Shader
...
GLProgram Added Normal Matrix
2014-08-15 19:15:14 +08:00
liuliang
b4a20feabc
Parse the data file
2014-08-15 18:27:28 +08:00
yangxiao
9ab48bd71e
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-08-15 18:27:03 +08:00
yangxiao
a740841f5e
submeshid
2014-08-15 18:21:58 +08:00
liuliang
0db924d7cd
Parse the data file
2014-08-15 18:20:37 +08:00
liuliang
c533f66b9f
Merge branch 'v3' of github.com:super626/cocos2d-x into Meshv3
2014-08-15 17:46:40 +08:00
liuliang
b5665a4723
Modify the binary parsing
2014-08-15 17:46:21 +08:00
liuliang
ab80c5026d
Modify the binary parsing
2014-08-15 17:45:37 +08:00
yangxiao
d09695b118
create from data
2014-08-15 17:41:04 +08:00
yangxiao
6f0fc48e8e
merge cocos2d
2014-08-15 16:36:17 +08:00
yangxiao
e2312bd353
Merge branch 'v3' of https://github.com/super626/cocos2d-x into v3
2014-08-15 15:55:32 +08:00
yangxiao
42916bcbe6
newmodel
2014-08-15 15:55:21 +08:00
liuliang
4c8b24d113
Modify the binary parsing
2014-08-15 15:32:15 +08:00
yangxiao
88bb1482e3
newmodel
2014-08-15 14:58:30 +08:00
songchengjiang
1e9c02dfa3
Added Light Class
2014-08-15 14:51:23 +08:00
yangxiao
fdcec51cf4
struct for newmodel
2014-08-15 13:03:53 +08:00
songchengjiang
7ed40a8051
Added Light
2014-08-15 10:32:07 +08:00
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