Skip to content

ecompositor/scenejs

 
 

Repository files navigation

SceneJS

An extensible WebGL-based engine for high-detail 3D visualisation.

Downloads

Using the Plugins

To keep the core library small, SceneJS dynamically loads it’s non-core functionality from a directory of plugins, which it loads on-demand from the plugins directory within this GitHub repository.

You can hotlink to this library if you're OK with using the plugins from this repo and don't need any plugins that provide textures, (because those textures won't load cross-domain).

If not, then just do this:

  1. get a copy of the library
  2. get the ZIP archive of plugins
  3. unzip that archive, say to directory myDir
  4. configure SceneJS to load the plugins from there, like this:
SceneJS.setConfigs({
    pluginPath: "./myDir/plugins"
});

Then off you go, start building a scene:

var myScene = SceneJS.createScene({
    // ...
});

Read more in the Quick Start tutorial.

Building

SceneJS requires nodejs and ncp. To build, simply:

npm install ncp

```node build.js``

Then the binaries will appear in ./api.

About

An extensible WebGL-based engine for high-detail 3D visualisation

Resources

Stars

Watchers

Forks

Packages

No packages published