Giter Club home page Giter Club logo

3dtoolkit-for-cocos2dx's Introduction

3D ToolKit for cocos2dx

by yang chao (wantnon), 2014-1-9


note: 3DToolKit has updated to 3DToolKit2:
https://github.com/wantnon2/3DToolKit-2-for-cocos2dx
or http://git.oschina.net/wantnon2/the-3DToolKit-2-for-cocos2dx


3D ToolKit for cocos2dx is a simple 3D extension for cocos2d-x, provide an easy way to create 3D graph in cocos2dx environment.

the ToolKit based on cocos2d-x 2.2.0.

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

currently, iOS and Win32 project are available.

How to Configure: http://git.oschina.net/wantnon2/the-3DToolKit-for-cocos2dx/wikis/How-to-Configure
配置方法: http://git.oschina.net/wantnon2/the-3DToolKit-for-cocos2dx/wikis/%E9%85%8D%E7%BD%AE%E6%96%B9%E6%B3%95

document:http://git.oschina.net/wantnon2/the-3DToolKit-for-cocos2dx/wikis

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

screenshot:

screenshot

qq group: 338565878

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

3dtoolkit-for-cocos2dx's People

Contributors

wantnon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

3dtoolkit-for-cocos2dx's Issues

The program crashes after launch. EXC_BAD_ACCESS error!!!

My cocos2d-x version is v2.2 and I followed your instructions step by step.
It's easy to get all stuff build and run. But after launching, it crashes.

Here is the crash code line:

CCTextureAtlas.cpp line 636.

glDrawElements(GL_TRIANGLES, (GLsizei) n_6, GL_UNSIGNED_SHORT, (GLvoid_) (start_6_sizeof(m_pIndices[0])) );

The Xcode gives me EXC_BAD_ACCESS at the above line.

It seems the memory of n data was unintentional freed before this code line was executed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.