Giter Site home page Giter Site logo

leewgl's Introduction

LEEWGL

Lightweight-Editor-Environment-Web-GL is a javascript framework which provides an environment for a basic WebGL game engine. It is written using plain javascript with no external dependencies except for glMatrix as math library.

Run

To run LEEWGL locally you need to set-up a webserver [eg. Apache] and open the index.html through the webserver.

Classes

  • Core.js - Creates the WebGL context, calls the app update and render routine.
  • App.js - abstract class which provides onCreate, onUpdate, onRender and various input functions - gets called by LEEWGL.Core.
  • Buffer.js - VertexBuffer methods.
  • IndexBuffer.js - IndexBuffer methods.
  • Component.js - LEEWGL uses an Unity3D-like approach to extend gameobjects by adding various components to them.
  • UI.js - Creates UI-Elements, handles UI events.
  • TestApp.js - Derivated App.js class with coded functions.
  • Math.js - math helper functions which are not provided by glMatrix.
  • Texture.js - Texture handling.
  • ShaderLibrary.js - Dynamically loading of shaders by using ShaderChunks.
  • ShaderChunk.js - Loading glsl files per ajax-calls and providing them as array-object.
  • Picker.js - Enables Picking.
  • Camera.js - base camera class.
  • PerspectiveCamera.js - Perspective camera.
  • Object3D.js - Base class of all 3D-Objects.
  • Geometry.js - Collection of predefined Objects like Triangle, Cube etc.

Features [planned, done]

  • Picking.
  • Transform Objects.
  • Movable Editor-Camera.
  • Different Lights
  • Shadow Mapping
  • UI interactivity.
    • Dynamic Outline.
    • Dynamic Inspector.
    • Menu.
    • Statusbar.
  • Dynamic shaders injected by javascript.
  • Ajax-Calls
  • Adding Components to GameObjects
  • UI Styling
  • Import Models / Files
  • Saving / Loading
    • LocalStorage
    • SessionStorage??
  • Components
    • Transform
    • Custom Script
      • Highlight, snippets
    • Collider
    • Texture
  • Game Camera
  • Play / Pause Rendering

leewgl's People

Contributors

loberbichler avatar paxi1337 avatar

Stargazers

André Philip avatar  avatar Michael Anthony avatar

Watchers

André Philip avatar James Cloos avatar Michael Anthony avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.