CCP WebGL Library
An implementation of CCP Games graphics engine in webgl
Core files
dist/ccpwgl_int.js
- ccp webgl core librarydist/ccpwgl_int.min.js
- minified ccp webgl core librarydist/ccpwgl.js
- An example implementation of the ccp webgl library (required for demos)
Demos
demo/index.html
- A collection of ccpwgl demonstrationsdemo/sof.html
- Shows how to load ships using Space Object Factory and how to query its datademo/planets.html
- Shows how to load planetsdemo/sun.html
- Shows how to load suns (lens flares)demo/tech3.html
- Shows how to load Tech III composite shipsdemo/cubeofdeath.html
- Performance test (multiple ships)demo/fitting.html
- Shows how to fit turrets on the shipdemo/firing.html
- Shows how to fire turretsdemo/explosions.html
- Shows how to construct, play and remove explosionsdemo/typeids.html
- Shows how to query type ID data
Updates
- This project now uses webpack instead of grunt
- The glMatrix library is now included in the library to simplify dependencies
Installation
- Install Node.js along with the node package manager
- Clone
git clone https://github.com/ccpgames/ccpwgl.git
- Run
npm install
once from your ccpwgl folder
Build
- Run
webpack
to lint, format and builddist/ccpwgl_int.js
anddist/ccpwgl_int.min.js
- Run
npm run watcher
to automatically rebuilddist/ccpwgl_int.js
anddist/ccpwgl_int.min.js
while developing