RESIN is a C++11 rendering library based on the popular three.js. RESIN is written to a ES2 compatible subset of OpenGL, and has been designed to target multiple platforms (desktop, mobile, and web via Emscripten/Native Client).
Unstable, pre-alpha, proof-of-concept
- Based on three.js r61
RESIN requires CMake and SDL2 to build, and a supported platform toolchain.
With homebrew and Xcode 5 installed on Mavericks:
% brew install SDL2 cmake
% cd $RESINDIR/xcode
% ./configure.sh
% open Resin.xcodeproj
% export EMSDK_PATH=/path/to/emscripten/1.5.x
% cd $RESINDIR/emscripten/release
% ./configure.sh
% make
% open ../sandbox.html
NB: Currently builds as a static library only
% cd $RESINDIR/android
% ndk-build
- Emscripten buffer geometry example
- Emscripten buffer geometry lines example
- Emscripten buffer geometry particles example
- Emscripten shader example
- three_cpp - an alternative C++ port of three.js