Skip to content

liqt/3DToolKit-2-for-cocos2dx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D ToolKit 2 for cocos2dx

by yang chao (wantnon), 2014-10-3

3D ToolKit2 for cocos2dx is the update version of 3DToolKit for cocos2dx(http://git.oschina.net/wantnon2/the-3DToolKit-for-cocos2dx). it is a simple 3D extension for cocos2d-x, provide an easy way to create 3D graph in cocos2dx 2.x environment.

the ToolKit based on cocos2d-x 2.2.0. (now 3DToolKit2 for cocos2dx 3.x is available, see:https://github.com/wantnon2/_3DToolKit2-for-cocos2dx-3x)

features currently available:
1, vector and matrix operations.
2, extended 3D camera. (support perspective and orthographic projection mode)
3, 3D Actor. (support space transformation, change mesh, and shader)
4, extended shader program and uniform callback.

note: because 3DToolKit is based on cocos2dx 2.x and written in pure c++, so it is cross platform. but here i only configured the iOS project. so if you want too run it on other platform, you should configure the corresponding project by yourself.
注意:因为3DToolKit建立在cocos2dx 2.x基础上,且使用纯c++编写,所以它是跨平台的。但是我这里只配了iOS工程,所以如果想在其它平台上运行,需要自己配置相应的工程。

How to run the demo: http://git.oschina.net/wantnon2/the-3DToolKit-2-for-cocos2dx/wikis/how-to-run-the-demos
如何运行demo: http://git.oschina.net/wantnon2/the-3DToolKit-2-for-cocos2dx/wikis/如何运行demo

i will update code to http://git.oschina.net/wantnon2/the-3DToolKit-2-for-cocos2dx and https://github.com/wantnon2/3DToolKit-2-for-cocos2dx, the former is the main site.

screenshot:

screenshot

screenshot

qq group: 338565878

blog: http://user.qzone.qq.com/350479720/blog/1412344533

About

3D ToolKit 2 for cocos2dx is a simple 3D extension for cocos2d-x 2.x.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 73.3%
  • Objective-C++ 9.4%
  • Objective-C 5.2%
  • HTML 3.8%
  • Makefile 3.3%
  • Shell 3.1%
  • Other 1.9%