https://github.com/guidocalvano/OgreJS/wiki
Note! This will only run on a Mac... I made this for personal goals, and Mac is the OS I work on.
This has barely been tested, and only on my machine.
To set up your own environment automatically do:
git clone [email protected]:guidocalvano/OgreJS.git
cd OgreJS
. ./install.sh
This will download all required dependencies into the OgreJS root directory (with the exception of wget and Cg.framework which will be installed using their installers):
- wget
- node (but a special adapted version)
- OgreSDK version 1.7.3
- Ogre Dependencies
- this included Cg.framework
- boost (because it is included in the OgreSDK)
- my-gui
to build everything:
make -f makeOgreJS
OgreJS
cd example
../build/ogrenode ./example.js