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:
- API Documentation describing all public methods, interfaces, properties and events.
- JSON reference that explain how to describe your project in the json configuration file.
- Samples that demonstrates how to build your experience in the config.json file.
- Tutorials series that explain how to use some of the ForgeJS features in your project.
- Known issues and limitations.
- Frequently asqued questions.
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:
- three.js r83 (MIT license)
- hammer.js 2.0.8 (MIT license)
- omnitone 0.1.8 (Apache 2.0 license)
- dash.js 2.3.0 (BSD license)
!!! 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.
- Clone the project from GitHub.
- Nodejs and npm installed on your machine.
- Having the grunt-cli npm package installed globaly.
- 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