Git Product home page Git Product logo

engine-3d's Introduction

Chukong's 3D Game Engine

As you can see here, we have created a 3D engine for mobile games, called it cocos3d-x. But sooner we realise that we shouldn't have 2 product lines: cocos2d-x and cocos3d-x. The correct way is merge them into only one engine. So you can ust it to create 2D games, 2.5D games and 3D games, or 3D games with 2D UI widgets.

We're doing this, merging 3D features from this repository into github.com/cocos2d/cocos2d-x repo, so we will eventually have one engine for both 2D and 3D games.

Supported Platforms

  • iOS
  • Android
  • Windows Desktop
  • Mac OS X

Main features

  • Math : vector,matrix,quaternion
  • Mesh
    • general mesh
    • morph mesh
    • batch mesh
  • Material
  • Model
    • skinmodel
    • skinlessmodel
    • batchmodel
  • Texture
    • 2D texture
    • 3D texture
  • FileSystem
    • filestream
    • memorystream
  • ResourceManager
    • resource
    • resourepool
    • resourcemanager
  • Scene items
    • camera
    • light
    • dynamic sprite
    • static sprite
  • ParticleSystem
    • emitter
    • render
    • affect
  • PostEffect
  • Geo :box,plane,ray...
  • shader lib
    • texture : texture only
    • diffuse : texture + diffuse light
    • specular : texture + diffuse light + specular light
    • bumpdiffuse : texture + diffuse light + bump
    • bumpspecular : texture + diffuse light + specular light + bump
    • ......

Create project

* Download the code from cocos3d download site or https://github.com/cocos2d/cocos3d-x
* Enter `tools/project-creator`
* Run the `create_project.py` script

Example:
   $ cd cocos3d-x/tools/project-creator
   $ python ./create_project.py -project helloworld -package com.company.helloworld
   $ cd /projects/helloworld

Build and Run project

for android

    Requirements : Windows 7+ , android sdk 2.3+ , android ndk r8b+
    
    Build : 
    $ cd cocos3d-x/projects/helloworld
    $ cd proj.android
    $ sh ./build_native.sh
    
    Run:
    * Import helloworld Android project using Eclipse(released with Android SDK). 
    * The path to be imported is `cocos3d-x/projects/helloworld/proj.android`.


for ios
    Requirements : Mac OS X 10.7+, Xcode 4.6+

    Build :
    * Enter *proj.ios* folder
    * open *helloworld.xcodeproj*
    * Select ios targets in scheme toolbar , build
    
    Run :
    * Enter *proj.ios* folder
    * open *helloworld.xcodeproj*
    * Select ios targets in scheme toolbar , run


for win32
    Requirements : Windows 7+, VS 2010+
    
    Build :
    * enter *cocos3d* folder
    * open the `cocos3d-win32.vc2010.sln`
    * build
    
    Run :
    * Enter *cocos3d* folder
    * open the `cocos3d-win32.vc2010.sln` by vs2010
    * select the *helloworld*
    * run

Contact us

  • Forum:
  • Twitter:
  • Weibo:
  • QQ Group:194861571

some useful web resource about 3d

engine-3d's People

Contributors

dabingnn avatar houguohua avatar super626 avatar zhukaixy avatar

Watchers

 avatar

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.