Skip to content

dthevenin/glUI

Repository files navigation

Spec

Here a draft of specs (algo, datastructure, heuristics, etc.): https://docs.google.com/document/d/1-oTpZB6QdNt53hslE1CBFRRnhcHSRgvntf0ELUV0fC4

First clone

Make link to the ln -s submodules/lib_debug lib

and build the code

Source code

on folder src/

src/customElement/*

Custom element code management (WebComponent module) This code use the Google Polymer polyfill The polyfill is not mendatory for lastest version of Chrome

src/Events/* and src/Events/Recognizers/*

Events (Pointer Events) emulation for the GL UI Contains the event structure and the Picking algorihtm

Recognizers folder contains code from VSToolkit adapted to the GLEvent system. This sub librady help to managent hight level events such as Tap, Pinch, etc.

src/*

The main engine code vs_ui_GL*: GL component views glMatrix.js: a fast matrix library vsUIExtentions.js: VSToolkit extension webGLRendering.js: The code engine rendering system

Build GL UI Engine

on folder src/

make release or make debug

=> generate "vs_gl_engine.js" file

then copy this file on the demo/project you want

Others

Update submodule

git submodule -q foreach git pull -q origin master

Node server

Start a HTTP server for texture security access (not need for Firefox and Safari) and the Map demo (the server implement a OpenStreetMap proxy).

Install NodeJs, and Express version 3.1.0 Or use Python HTTP server: "python -m SimpleHTTPServer" If you use Python you will no have the OpenStreetMap proxy.

About

GL Engine, A UI engine for the browser, 100% written with WebGL for maximal performance and control.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published