Overview

ForgeJS is modern web-based engine built on standard technologies (HTML5, Javascript and WebGL) that runs on every modern browser to unleash immersive VR content experiences. It's not only an VR engine, it's a framework for authoring VR content. You can use ForgeJS even if you do not have advance programming skills, ForgeJS is able to read a configuration file and create the experience from it.

Ressources

Many documentation ressources are available online:

Get the build

The latest build is avaliable online on our ForgeJS download page

Licenses

ForgeJS is licensed under Apache 2.0 license.

ForgeJS has the following dependencies:

!!! We made a custom build of three.js with some classes concatenated to it. Theses classes are included in the original three.js repository but not concatenated in the main build. We add EffectComposer, RenderPass, ClearPass, MaskPass, ShaderPass, TexturePass and CopyShader in our three.custom.min.js.

Quick Start for users

The easiest way to learn how to build a project with ForgeJS is to learn with our tutorials and get inspired by our samples that are available online.

Quick Start for Developers

Requirements

Here are a quick resume of differents steps you need to achieve to get ready to code! We will detail these points later.

  1. Clone the project from GitHub.
  2. Nodejs and npm installed on your machine.
  3. Having the grunt-cli npm package installed globaly.
  4. Install the node dev dependencies of the project.

Install nodejs

Depending on your platform there are different way to install nodejs. You can find more info on the nodejs website. Generally npm comes with nodejs installation. npm website

Install grunt-cli

Run this command to install grunt-cli globally on your machine:

npm install -g grunt-cli

Install dev dependencies

cd to the project repo folder and run the following command to install dependencies:

npm install

Build ForgeJS

With all previous requirements completed, you can now run grunt tasks from the project repo folder. Here are a short list of usefull grunt tasks.

Build a non minified build of ForgeJS:

grunt build

Build a minified build of ForgeJS:

grunt min

Generate the documentation and the json reference:

grunt doc

Auto watch any changes you made in sources to auto build a non minified build of ForgeJS:

grunt watch:build