A webgl implementation of CCP Game's Eve Online graphics engine. This version of the library provides partial support for newer ships and reading client resources but requires a resource server to do so (ccp's servers do not provide CORS headers which webgl requires). A resource server is not yet provided.
The original library can be found here: https://github.com/ccpgames/ccpwgl
dist/ccpwgl_int2.js
- ccp webgl core librarydist/ccpwgl_int2.min.js
- minified ccp webgl core library
- Install Node.js along with the node package manager
- Clone
git clone https://github.com/cppctamber/ccpwgl2.git
- Run
npm install
once from your ccpwgl2 folder
- Run
npm run build
to lint, format and builddist/ccpwgl2_int.js
anddist/ccpwgl2_int.min.js
- None supplied yet
Registering your custom resource server with the library can be done in a few ways:
- Register a custom config object along with your other settings:
const customConfig = {
...,
paths: { cdn: "https://localhost:3000" },
...
}
tw2.Register(customConfig);
- Set the path by itself:
tw2.SetPath("cdn", "https://localhost:3000")
{\__/}
(x n x)
.⊂ \