WebGL for lazy dudes Janne Lautamäki 1 GLGE – Janne Lautamäki 3.9.2015.

Slides:



Advertisements
Similar presentations
Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
Advertisements

B.Sc. Multimedia ComputingMedia Technologies 3D Modelling & Animation.
HTML5 Overview HOANGPT2. 1. General 2. New Elements List 3.
© Copyright Khronos Group, Page 1 COLLADA FX Update and FX Composer 2.0 Daniel Horowitz & Ignacio Castaño.
Introduction to HTML5 Programming donghao. HTML5 is the New HTML Standard New Elements, Attributes. Full CSS3 Support Video and Audio 2D/3D Graphics Local.
An introduction to WebGL Viktor Kovács. Content A little 3D modeling. What is WebGL? Introducing Three.js. Visualizing GDL objects.
Business and Computing Deanery 3D Modelling Tools Week 10 File formats and exporting models.
Introducing Mapbuilder Michael Adair Natural Resources Canada.
North Shore.NET User Group Our Sponsors. North Shore.NET User Group Check out our new web site Next Meeting
CSCI 3100 Tutorial 8 Web Development Tools 1
Irrlicht Engine Overview By Eric Osugi. Irrlicht's development started in 2003 with only Nikolaus Gebhardt. Only after the 1.0 release of Irrlicht in.
SpiderGL Marko Leppänen WebGL Seminar Tampere University of Technology, Finland.
Visualizing Architecture Presented By: Rasha mohamed Mohamed shaban By: Elizabeth Bollinger Web Address:
-Uday Dhokale.  What is it ??? Prototype is a JavaScript Framework that aims to ease development of dynamic web applications.  Features a unique, easy-to-use.
IBIS GIS Mapping Missouri “Show and Tell”. Outline 1.What is KML 2.Why we chose KML 3.Show and Tell.
VisualARQVisualARQ ARCHITECTURAL TOOLS FOR RHINO.
AGD: 5. Game Arch.1 Objective o to discuss some of the main game architecture elements, rendering, and the game loop Animation and Games Development.
CSS552 Final Project Demo Peter Lam Tim Chuang. Problem Statement Our goal is to experiment with different post rendering effects (Cel Shading, Bloom.
Week 1 - Friday.  What did we talk about last time?  C#  SharpDX.
Written by Liron Blecher
Declarative 3D for the Web Architecture Web3D 2012 Workshop Johannes Behr, Kristian Sons.
EWD VistA Update 2010 Rob Tweed M/Gateway Developments Ltd.
Additional Topics. Tutorial #9 Review – Forms Forms Legend and fieldset Fields Text Password Radio buttons, check box, text area, select lists Buttons.
JavaScript & jQuery the missing manual Chapter 11
UNIT 8 DRAWING WITH THE HTML5 CANVAS ELEMENTS AND FORMS.
HTML5 – The Power of HTML5 – The Power of Thomas Lewis HTML5 Principal Technical Evangelist Microsoft | asimplepixel.tumblr.com.
WebGL: in-browser 3D graphics Nick Whitelegg Maritme and Technology Faculty Southampton Solent University.
Music composition with HTML 5-Canvas. Abstarct Online version music editor. Easy to use, just need some simple direction. Everyone can be a musician.
TERRAIN SET09115 Intro to Graphics Programming. Breakdown  Basics  What do we mean by terrain?  How terrain rendering works  Generating terrain 
Chapter 10 Fireworks: Part II The Web Warrior Guide to Web Design Technologies.
COGEVITO Complex Geometry Visualization Tool. Motivation Exploit the potential of Three,js for the visualization of complex geometries related to HEP.
Games Games GAMES. About Me:  Ariel Nehmad.  I’m 31 years old.  Live in Buenos Aires, Argentina.  CTO and father of Flare3D, FLSL and Flare3D Phys…
IFORM ACCOUNT MAINTENANCE ICT4D SESSION 4. IFORMBUILDER WEBSITE REQUIREMENTS To access the iFormBuilder website, you need the following items: -Reliable.
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
“Paper” output Root Graphics Workshop 16/07/2010.
Views Revit® Architecture CHAPTER OBJECTIVES Understand and use Floor Plan and Reflected Ceiling Plan (RFC) views. Learn how to create Elevation.
Useful Tools for Making Video Games Part II An overview of.
Copyright © 2003 Pearson Education, Inc. Chapter 6 – Slide 1 by Michael Kay The Web Wizard’s Guide to Flash.
Game Creation in XNA CS470 Final Project Chris Ragland.
Ray Tracer Spring 2008 Help Session. Outline Project Web Resources What do you have to do for this project? Ray Class Isect Class Requirements Tricks.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
Augmented Reality Generic Enabler Introduction Nonprofit educational material, fair use of copyrighted material, if any, assumed.
3D Objects in WebGL Loading 3D model files. Announcement Midterm exam on 12/2 –No Internet connection. –Example code and exam questions will be on USB.
MP3 Frequently Asked Questions (IN OFFICE HOURS).
Computer Graphics Imaging Lecture 13 and 14 UV Mapping.
Pack 001 Introduction to 3D modeling Presenting Blender, the open source 3D environment Heikki Hietala IT Dept. Malmi Campus HAAGA-HELIA University of.
Wes Preston DEV 202. Audience: Info Workers, Dev A deeper dive into use-cases where client-side rendering (CSR) and SharePoint’s JS Link property can.
Leveraging SharePoint Search In SharePoint 2013 Jameson Bozeman.
CDM105 Session 12 Macromedia FLASH MX 2004 Part 5 : Sounds, publishing your movies, and the ‘Get URL’ action.
Part – 3 : HTML 5 SVG Tag. † SVG stands for Scalable Vector Graphics. † SVG is used to define vector-based graphics for the Web. † SVG defines the graphics.
CSCI 3100 Tutorial 5 JavaScript & Ajax Jichuan Zeng Department of Computer Science and Engineering The Chinese University of Hong.
Build your own 2D Game Engine and Create Great Web Games using HTML5, JavaScript, and WebGL. Sung, Pavleas, Arnez, and Pace, Chapter 4 Implementing.
10 Mobile Application Framework Must Know to Launch New App.
X3DOM : Integrating 3D content seamlessly into webpage
3D on the Web : Understanding the basics
Week 2 - Monday CS361.
Substance Painter - Basics
Complex Geometry Visualization TOol
Goals Give student some idea what this class is about
Web3D Consortium X3DOM: Next-Generation Web3D Applications on Open Standards and Open Source Web3D Consortium
Introduction to WebGL 3D with HTML5 and Babylon.js
Mapbox Studio Sarah and Haley.
Computer Animation UV Mapping.
Assignment 1 Creating a Heart.
Introduction to WebGL 3D with HTML5 and Babylon.js
Blender API: Part 2: Game Engine
CIS 441/541: Introduction to Computer Graphics Lecture 15: shaders
Using Babylon.js for beginner
Introduction to WebGL 3D with HTML5 and Babylon.js
Engine and functionalities
Presentation transcript:

webGL for lazy dudes Janne Lautamäki 1 GLGE – Janne Lautamäki

First Demo! To attract interest and to show the most complex example view-source: 164 rows (110 rows of js) view-source: 10 rows (light+camera) view-source: rows with a couple of really long lines 2500 KB 2 GLGE – Janne Lautamäki

About GLGE JavaScript library intended to ease the use of WebGL Under heavy development. Version 0.8 Attempting to add at least one big feature a month Created by one man: Paul Brunt: Education: Physics Bachelor of Science Just turned to 30 year Has created a lot of other stuff too: Svg-flip: Berts Breakdown: 3 GLGE – Janne Lautamäki Give it a try lazy dudes! WEll even if its meant for lazy people, its pretty helpful for non-lazy web developers also!

GLGE Features: 1.Keyframe animation 2.Perpixel lighting directional lights, spot lights and point lights 3.Normal mapping 4.Animated materials 5.Skeletal animation(WIP) 6.Collada format support 7.Parallax Mapping 8.Text rendering(probably bitmap) 9.Fog 10.Depth Shadows 11.Shader based picking 12.Environment mapping 13.Reflections/Refractions 14.Collada Animations 15.Portals (via jiglibJS) 4 GLGE – Janne Lautamäki Planed additions(pending no technical walls), not necassarily in this order 1.Shape keys 2.LOD 3.Culling 4.2D Filters 5.Primitives Creation 6.+ Much more!

Documentation API Documentation: OK ~50 classes with functions, APIs documented Names of the classes are quite a good and descriptive NOTHING ELSE No drawings about architecture No tutorial or quickstart tips … BUT: Good demoes Tutorials are availlable elsewhere glge-tutorial/ 5 GLGE – Janne Lautamäki

Components Package 8 JavaScript –files, total size 392KB No documentation glge.jsBase for all things glge_collada.jsfor manipulating collada models glge_filter2d.jsfor making filters glge_input.jsmouse and key events GLGE_math.jsmatrix and vector operations glge_particles.jsparticle-effects (smoke etc.) glge_quicknote? glge_wavefront.js? 6 GLGE – Janne Lautamäki

Minimal example Project form eclipse: HTML –file: 1.Import js libraries 2.Add canvas 3.create a GLGE document 4.Create onLoad callback function 5.create a new renderer 6.create a new scene 7.pass the scene to the renderer 8.load the xml containing the scene data XML-file: 1.the mesh data is defined. The mesh data is exported from Blender 2.Then a camera is defined 3.Texture is defined 4.Animation is defined 5.Then the scene graph is defined 6.a simple point light 7.box primitive 7 GLGE – Janne Lautamäki

MISC License BSD (3-clause license ("New BSD License" or "Modified BSD License") Irc channel, -list Forum Active 136 threads, 388 posts,1230 registered users Examples 11 different examples Other Projects GammaJS, KataSpace, OutBricks, SteamCube ( Evaluation Quite a ok, some tutorials and more documentation would do the trick It would be nice to try out and do a demo 8 GLGE – Janne Lautamäki

Other demos Check out the rest of demoes 9 GLGE – Janne Lautamäki

References + Questions Developer Framework Tutorial glge-tutorial/ 10 GLGE – Janne Lautamäki