Faster Webgl Graphics

Total Page:16

File Type:pdf, Size:1020Kb

Faster Webgl Graphics MASARYK UNIVERSITY FACULTY}w¡¢£¤¥¦§¨ OF I !"#$%&'()+,-./012345<yA|NFORMATICS Faster WebGL Graphics MASTER’S THESIS David Hrachovy´ Brno, Spring 2012 Declaration Hereby I declare, that this paper is my original authorial work, which I have worked out by my own. All sources, references and literature used or excerpted during elaboration of this work are properly cited and listed in complete reference to the due source. Advisor: Mgr. Marek Vinkler ii Acknowledgement I would like to express my thanks to Mgr. Marek Vinkler, the supervisor of my thesis, for his guidance, suggestions and friendly approach. iii Abstract The goal of the thesis was to find an efficient way of loading 3d models in WebGL. Several WebGL frameworks for loading and rendering of 3d mod- els were compared based on their performance as well as other capabilities. In addition, a new method for rendering digital content is presented. Compared to simultaneous rendering on multiple HTML canvases, this method enables to reduce GPU memory footprint, reduces initialization time and gives better rendering performance in most of the tested web browsers. Based on the performed tests, a discussion forum, which demonstrates the new method for fast rendering of 3d avatars, was implemented and evaluated. iv Keywords WebGL, COLLADA, HTML5, WebGL frameworks, digital asset file format v Contents 1 Introduction ...............................2 2 WebGL ..................................4 2.1 OpenGL ..............................4 2.2 WebGL Fundamentals ......................7 2.3 Web Browsers Support ...................... 10 3 The Overlay Canvas .......................... 13 3.1 Multiple Canvases ........................ 13 3.2 Overlay Canvas Design ..................... 16 3.3 Implementation .......................... 18 3.4 Testing ............................... 22 3.5 Conclusion and Future Improvements ............. 28 4 Model Loading in Frameworks .................... 30 4.1 Relevant Frameworks Selection ................. 30 4.2 Usage Issues ............................ 33 4.3 Design of Loading Test ...................... 34 4.4 Test Implementation in the Frameworks ............ 41 4.5 Results ............................... 46 5 Sample Application .......................... 50 5.1 Used Models ............................ 50 5.2 Avatars Talk ............................ 51 6 Conclusion ................................ 54 A Canvas Initialization .......................... 66 B The Overlay Canvas Performance .................. 68 C Brief Description of 3d Asset File Formats ............. 70 C.1 3d Asset File Formats Used in our Tests ............ 70 C.2 Other File Formats ........................ 71 D Frameworks’ Properties ........................ 73 E Model Loading Test Results ...................... 76 F Loading Small Models ......................... 81 G Contents of the Attachment ...................... 83 1 Chapter 1 Introduction Interactivity in modern web pages is provided mainly by JavaScript 1 code interpreted by a web browser on a client side. The client-side JavaScript code embedded within an HTML2 web page is run by the client computer and allows to alter the document content, interact with the user, and control the web browser [1]. Additional standards are produced to enhance user’s experience. For example the upcoming HTML5 [2] standard proposes in- terfaces for audio and video elements. WebGL [3] is a standard produced by Khronos WebGL Working Group. It provides another HTML Canvas3 rendering context which presents the WebGL API4. Rendering results are displayed on the canvas initialized with WebGL context. Provided API is similar to OpenGL ES 2.0 and the routines may be called directly in JavaScript. Experimental implementation of the API is available in most leading web browsers. Applications with rich 3d content often use 3d assets (3d models) stored in a certain file format. The implementation of loading a 3d model stored in a particular format and the selection of the format itself influences the total time of loading the model. The aim of the thesis is to find an efficient way of loading the models based on existing solutions. This is done by com- paring WebGL frameworks with various file formats. As a result, suitable candidates for web environment are presented. In addition, we examine rendering in multiple canvases and propose a better approach. In the second chapter, a brief description of major WebGL functionality is presented together with examples in JavaScript. The state of the imple- mentation in most popular web browsers is examined as well. The third chapter is dedicated to examination of the proposed Overlay Canvas method. It is a proof of concept demonstration that solves some is- 1. JavaScript is an interpreted programming language with object-oriented capabilities sometimes referred to as ECMAScript [1]. 2. HyperText Markup Language 3. Canvas is an HTML element providing drawable region. 4. Application Programming Interface 2 1. INTRODUCTION sues which were observed in situations where multiple canvases had been used. Implementation of the Overlay Canvas is tested in various browsers with respect to rendering performance and correctness. Benefits and de- tected issues are discussed together with future improvements. The fourth chapter focuses on loading 3d models in various WebGL frameworks. We test selected models, which are stored in common digi- tal asset file format, and other custom file formats provided by the frame- works. Our automated test tool created to simulate a user visiting a web- site with the model is designed. Loading time of the models in each of the frameworks is measured. The results are then used to implement a sample application using the Overlay Canvas. The sample application implemented in the fifth chapter is a web site that allows registered users to choose their 3d avatar which is shown next to the message they post. The chosen file format is based on the test re- sults from the previous chapter and an additional test focusing on loading several small models. In the last part of the thesis, suitable file formats for fast loading are summarized and the usability of Overlay Canvas in today’s web browsers is discussed. 3 Chapter 2 WebGL This chapter is devoted to the introduction of WebGL. Its relation to previ- ous OpenGL standards is revisited since many constructs are semantically similar to those of the underlying OpenGL ES 2.0 API. Tight relation of the OpenGL standards is demonstrated in Figure 2.1 [3]. The main part of the Figure 2.1: WebGL relation to other OpenGL standards. Arrows de- note which specification was a given standard based on. chapter describes WebGL integration in a web environment which is ac- companied by code samples. The state of WebGL implementation in major web browsers is examined. Selected web browsers are then used in all tests that we performed. Other parts of WebGL such as security, events, detailed differences to OpenGL ES 2.0, and other topics are not covered here, but they can be found in the WebGL specification [3]. 2.1 OpenGL OpenGL is a low-level interface to access graphics hardware capabilities. In the desktop world, there are two standard 3d APIs, DirectX and OpenGL. OpenGL is a multiplatform, hardware independent client-server1 architec- 1. Client application running on a host device (e.g. PC) sends data and commands to the server – graphics hardware (graphics chip or card). 4 2. WEBGL ture providing commands to render basic graphical primitives, manipulate textures, framebuffers and other objects. OpenGL is widely used in industry (computer games, CAD applica- tions, modeling tools) as well as in academic community. The standard was defined by Khronos Group2 [4]. 2.1.1 OpenGL ES 2.0 OpenGL ES was designed for handheld devices and embedded devices that place different demands on applications than desktops do. They often feature low overall performance that is caused by reduced memory band- width, low processor performance, and small battery capacity. Having well established graphics API, Khronos Group defined OpenGL ES 2.0 relative to the OpenGL 2.0 specification that emphasizes a programmable 3d graph- ics pipeline (see Figure 2.2). Figure 2.2: OpenGL ES 2.0 graphics pipeline OpenGL ES 2.0 consists of two specifications: OpenGL ES 2.0 API spec- ification and OpenGL ES Shading Language (OpenGL ES SL). [5] 2. The Khronos Group is a not-for-profit, member-funded consortium focusing on the cre- ation of royalty-free open standards. OpenGL and OpenCL are some of the standards pro- duced by the consortium. 5 2. WEBGL OpenGL ES 2.0 API One of the design goals was to create an API suitable for constrained de- vices. Primarily, the fixed-function pipeline was dropped and programmable rendering pipeline using vertex shader and fragment shader is mandatory. The following text briefly covers differences of OpenGL ES 2.0 API from OpenGL 2.0. Note that the list of removed features is similar to the list of deprecated features in OpenGL 3.0 [4]. Primitives (only sprites, lines and triangles) are drawn using DrawAr- rays (we omit the gl prefix) and DrawElements using vertex arrays. A sup- port for fixed-point numbers was added. Notable features which were removed include: immediate mode, dis- play lists3, color index rendering, coordinate transformation operations and matrix operations4, evaluators, selection and feedback, lighting model, imag- ing subset5, proxy textures, color sum, fog, texture environments and tex- ture functions, texture borders, depth textures, accumulation buffers and alpha test.
Recommended publications
  • An Optimal Solution for Implementing a Specific 3D Web Application
    IT 16 060 Examensarbete 30 hp Augusti 2016 An optimal solution for implementing a specific 3D web application Mathias Nordin Institutionen för informationsteknologi Department of Information Technology Abstract An optimal solution for implementing a specific 3D web application Mathias Nordin Teknisk- naturvetenskaplig fakultet UTH-enheten WebGL equips web browsers with the ability to access graphic cards for extra processing Besöksadress: power. WebGL uses GLSL ES to communicate with graphics cards, which uses Ångströmlaboratoriet Lägerhyddsvägen 1 different Hus 4, Plan 0 instructions compared with common web development languages. In order to simplify the development process there are JavaScript libraries handles the Postadress: Box 536 751 21 Uppsala communication with WebGL. On the Khronos website there is a listing of 35 different Telefon: JavaScript libraries that access WebGL. 018 – 471 30 03 It is time consuming for developers to compare the benefits and disadvantages of all Telefax: these 018 – 471 30 00 libraries to find the best WebGL library for their need. This thesis sets up requirements of a Hemsida: specific WebGL application and investigates which libraries that are best for http://www.teknat.uu.se/student implmeneting its requirements. The procedure is done in different steps. Firstly is the requirements for the 3D web application defined. Then are all the libraries analyzed and mapped against these requirements. The two libraries that best fulfilled the requirments is Three.js with Physi.js and Babylon.js. The libraries is used in two seperate implementations of the intitial game. Three.js with Physi.js is the best libraries for implementig the requirements of the game.
    [Show full text]
  • The Uses of Animation 1
    The Uses of Animation 1 1 The Uses of Animation ANIMATION Animation is the process of making the illusion of motion and change by means of the rapid display of a sequence of static images that minimally differ from each other. The illusion—as in motion pictures in general—is thought to rely on the phi phenomenon. Animators are artists who specialize in the creation of animation. Animation can be recorded with either analogue media, a flip book, motion picture film, video tape,digital media, including formats with animated GIF, Flash animation and digital video. To display animation, a digital camera, computer, or projector are used along with new technologies that are produced. Animation creation methods include the traditional animation creation method and those involving stop motion animation of two and three-dimensional objects, paper cutouts, puppets and clay figures. Images are displayed in a rapid succession, usually 24, 25, 30, or 60 frames per second. THE MOST COMMON USES OF ANIMATION Cartoons The most common use of animation, and perhaps the origin of it, is cartoons. Cartoons appear all the time on television and the cinema and can be used for entertainment, advertising, 2 Aspects of Animation: Steps to Learn Animated Cartoons presentations and many more applications that are only limited by the imagination of the designer. The most important factor about making cartoons on a computer is reusability and flexibility. The system that will actually do the animation needs to be such that all the actions that are going to be performed can be repeated easily, without much fuss from the side of the animator.
    [Show full text]
  • Apps Vs. Open Web: the Battle of the Decade
    Apps vs. Open Web: The Battle of the Decade Tommi Mikkonen Antero Taivalsaari Department of Software Systems Advanced Development & Technology Tampere University of Technology Nokia Corporation Tampere, Finland Tampere, Finland [email protected] [email protected] Abstract—Today, both desktop and mobile software systems In this paper, we anticipate that in the 2010’s we will are usually built to leverage resources available on the World witness a major battle between two types of technologies: (1) Wide Web. However, in recent years desktop and mobile native web apps and (2) Open Web applications that run in a software have evolved in different directions. On desktop web browser or some other standards-compliant web runtime computers, the most popular application for accessing content environment. The former approach implies the use of binary and applications on the Web is the web browser. In mobile software and traditional software engineering practices, devices, in contrast, the majority of web content is consumed while the latter approach implies that conventional software via custom-built native web apps. This divergence will not engineering methods and practices will be replaced by continue indefinitely. We anticipate that in the 2010’s we will technologies created for web development. This “Battle of witness a major battle between two types of technologies: (1) the Decade”, as we call it, will determine not only the future native web apps and (2) Open Web applications that run in a web browser or some other standards-compliant web runtime of the software industry, but the future of software environment. This ―Battle of the Decade‖ will determine the engineering research as well.
    [Show full text]
  • Agisoft Metashape User Manual Standard Edition, Version 1.7 Agisoft Metashape User Manual: Standard Edition, Version 1.7
    Agisoft Metashape User Manual Standard Edition, Version 1.7 Agisoft Metashape User Manual: Standard Edition, Version 1.7 Publication date 2021 Copyright © 2021 Agisoft LLC Table of Contents Overview .......................................................................................................................... v How it works ............................................................................................................. v About the manual ....................................................................................................... v 1. Installation and Activation ................................................................................................ 1 System requirements ................................................................................................... 1 GPU recommendations ................................................................................................ 1 Installation procedure .................................................................................................. 2 30-day trial and demo mode ......................................................................................... 3 Activation procedure ................................................................................................... 3 2. Capturing scenarios ......................................................................................................... 5 Equipment ................................................................................................................
    [Show full text]
  • X3D Progress and Prospects, FCVW 2010
    X3D Progress and Prospects Common Problems versus Stable Growth Federal Consortium for Virtual Worlds (FCVW) 12-14 May 2010 Don Brutzman Naval Postgraduate School Monterey California USA Our Topics for Today • Polys: 30,000' overview X3D and Web3D • Brutzman: Technical rationale and review • Polys: 4D presentation, Medical study MMVR • Brutzman: X3D-Edit authoring, teaching • Colleen, remote: RayGun multiuser demo • Brutzman: X3D report card for federal use • Brutzman and Polys: demo DIS network recording and playback, X3D and HTML5 • Questions and discussion Setting the Stage Many intellectual and political assets brought us here Historical background: VRML Virtual Reality Modeling Language (VRML) began in 1994, seeking to create 3D markup for Web • Numerous candidates considered by an open community of interested practitioners • SGI's OpenInventor won the initial competition • VRML 1.0 developed over the next year • VRML 2.0 restructured some nodes, added features VRML advanced to International Standard 14772 by ISO in 1997 XML file encoding The Extensible Markup Language (XML) is a plain-text format used by many Web languages • Including Hypertext Markup Language (HTML) XML is used to define other data-oriented languages • Thus XML is not a language by itself, rather it is a language about languages, a metalanguage • Common XML basis enables better interoperability, opens a “path of least resistance” for data flow XML has many benefits and is well-suited for X3D XML in 10 Points http://www.w3.org/XML/1999/XML-in-10-points XML is for structuring data XML is new but not that new XML looks a bit like HTML XML leads HTML to XHTML XML is text, but isn't meant to XML is modular be read XML is basis for RDF and the XML is verbose by design Semantic Web XML is a family of technologies XML is license-free, platform-independent and XML in 10 Points is a key reference for understanding the common underlying well-supported design principles underlying the great diversity of XML.
    [Show full text]
  • Symantec Web Security Service Policy Guide
    Web Security Service Policy Guide Revision: NOV.07.2020 Symantec Web Security Service/Page 2 Policy Guide/Page 3 Copyrights Broadcom, the pulse logo, Connecting everything, and Symantec are among the trademarks of Broadcom. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. Copyright © 2020 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. For more information, please visit www.broadcom.com. Broadcom reserves the right to make changes without further notice to any products or data herein to improve reliability, function, or design. Information furnished by Broadcom is believed to be accurate and reliable. However, Broadcom does not assume any liability arising out of the application or use of this information, nor the application or use of any product or circuit described herein, neither does it convey any license under its patent rights nor the rights of others. Policy Guide/Page 4 Symantec WSS Policy Guide The Symantec Web Security Service solutions provide real-time protection against web-borne threats. As a cloud-based product, the Web Security Service leverages Symantec's proven security technology, including the WebPulse™ cloud community. With extensive web application controls and detailed reporting features, IT administrators can use the Web Security Service to create and enforce granular policies that are applied to all covered users, including fixed locations and roaming users. If the WSS is the body, then the policy engine is the brain. While the WSS by default provides malware protection (blocks four categories: Phishing, Proxy Avoidance, Spyware Effects/Privacy Concerns, and Spyware/Malware Sources), the additional policy rules and options you create dictate exactly what content your employees can and cannot access—from global allows/denials to individual users at specific times from specific locations.
    [Show full text]
  • 2018 Webist Lnbip (20)
    Client-Side Cornucopia: Comparing the Built-In Application Architecture Models in the Web Browser Antero Taivalsaari1, Tommi Mikkonen2, Cesare Pautasso3, and Kari Syst¨a4, 1Nokia Bell Labs, Tampere, Finland 2University of Helsinki, Helsinki, Finland 3University of Lugano, Lugano, Swizerland 4Tampere University, Tampere, Finland [email protected], [email protected], [email protected], [email protected] Abstract. The programming capabilities of the Web can be viewed as an afterthought, designed originally by non-programmers for relatively simple scripting tasks. This has resulted in cornucopia of partially over- lapping options for building applications. Depending on one's viewpoint, a generic standards-compatible web browser supports three, four or five built-in application rendering and programming models. In this paper, we give an overview and comparison of these built-in client-side web ap- plication architectures in light of the established software engineering principles. We also reflect on our earlier work in this area, and provide an expanded discussion of the current situation. In conclusion, while the dominance of the base HTML/CSS/JS technologies cannot be ignored, we expect Web Components and WebGL to gain more popularity as the world moves towards increasingly complex web applications, including systems supporting virtual and augmented reality. Keywords|Web programming, single page web applications, web com- ponents, web application architectures, rendering engines, web rendering, web browser 1 Introduction The World Wide Web has become such an integral part of our lives that it is often forgotten that the Web has existed only about thirty years. The original design sketches related to the World Wide Web date back to the late 1980s.
    [Show full text]
  • Adaptive 3D Web-Based Environment for Heterogeneous Volume Objects
    Adaptive 3D Web-based environment for heterogeneous volume objects Ali Abdallah A thesis submitted in partial fulfilment of the requirements of Bournemouth University for the degree of Doctor of Philosophy October 2019 Copyrights Statement “This copy of the thesis has been supplied on condition that anyone who consults it is understood to recognise that its copyright rests with its author and due acknowledgement must always be made of the use of any material contained in, or derived from, this thesis.” 1 Abstract The Internet was growing fast on the last decade. Interaction and visualisation became an essential feature online. The demand for online modelling and rendering in a real-time, adaptive and interactive manner exceeded the growth and development of the hardware resources including computational power and memories. Building up and accessing an instant 3D Web-based and plugin-free platform started to be a must in order to generate 3D volumes. Modelling and rendering complicated heterogeneous volumes using online applications requires good Internet bandwidth and high computational power. A large number of 3D modelling tools designed to create complicated models in an interactive manner are now available online, the problem of using such tools is that the user needs to acquire a certain level of modelling knowledge In this work, we identify the problem, introduce the theoretical background and discuss the theory about Web-based modelling and rendering, including client- server approach, scenario optimization by solving constraint satisfaction problem, and complexity analysis. We address the challenges of designing, implementing and testing an online, Web-based, instant 3D modelling and rendering environment and we discuss some of its characteristics including adaptivity, platform independence, interactivity, and easy-to-use after presenting the theoretical part of implementing such an environment.
    [Show full text]
  • Archive and Compressed [Edit]
    Archive and compressed [edit] Main article: List of archive formats • .?Q? – files compressed by the SQ program • 7z – 7-Zip compressed file • AAC – Advanced Audio Coding • ace – ACE compressed file • ALZ – ALZip compressed file • APK – Applications installable on Android • AT3 – Sony's UMD Data compression • .bke – BackupEarth.com Data compression • ARC • ARJ – ARJ compressed file • BA – Scifer Archive (.ba), Scifer External Archive Type • big – Special file compression format used by Electronic Arts for compressing the data for many of EA's games • BIK (.bik) – Bink Video file. A video compression system developed by RAD Game Tools • BKF (.bkf) – Microsoft backup created by NTBACKUP.EXE • bzip2 – (.bz2) • bld - Skyscraper Simulator Building • c4 – JEDMICS image files, a DOD system • cab – Microsoft Cabinet • cals – JEDMICS image files, a DOD system • cpt/sea – Compact Pro (Macintosh) • DAA – Closed-format, Windows-only compressed disk image • deb – Debian Linux install package • DMG – an Apple compressed/encrypted format • DDZ – a file which can only be used by the "daydreamer engine" created by "fever-dreamer", a program similar to RAGS, it's mainly used to make somewhat short games. • DPE – Package of AVE documents made with Aquafadas digital publishing tools. • EEA – An encrypted CAB, ostensibly for protecting email attachments • .egg – Alzip Egg Edition compressed file • EGT (.egt) – EGT Universal Document also used to create compressed cabinet files replaces .ecab • ECAB (.ECAB, .ezip) – EGT Compressed Folder used in advanced systems to compress entire system folders, replaced by EGT Universal Document • ESS (.ess) – EGT SmartSense File, detects files compressed using the EGT compression system. • GHO (.gho, .ghs) – Norton Ghost • gzip (.gz) – Compressed file • IPG (.ipg) – Format in which Apple Inc.
    [Show full text]
  • 3D Graphics Technologies for Web Applications an Evaluation from the Perspective of a Real World Application
    Institutionen för systemteknik Department of Electrical Engineering Examensarbete 3D Graphics Technologies for Web Applications An Evaluation from the Perspective of a Real World Application Master thesis performed in information coding by Klara Waern´er LiTH-ISY-EX--12/4562--SE Link¨oping 2012-06-19 Department of Electrical Engineering Linköpings tekniska högskola Linköpings universitet Linköpings universitet SE-581 83 Linköping, Sweden 581 83 Linköping 3D Graphics Technologies for Web Applications An Evaluation from the Perspective of a Real World Application Master thesis in information coding at Link¨oping Institute of Technology by Klara Waern´er LiTH-ISY-EX--12/4562--SE Supervisors: Fredrik Bennet SICK IVP AB Jens Ogniewski ISY, Link¨opingUniversity Examiner: Ingemar Ragnemalm ISY, Link¨opingUniversity Link¨oping2012-06-19 Presentation Date Department and Division 2012-05-31 Department of Electrical Engineering Publishing Date (Electronic version) 2012-06-19 Language Type of Publication ISBN (Licentiate thesis) X English Licentiate thesis ISRN: LiTH-ISY-EX--12/4562--SE Other (specify below) X Degree thesis Thesis C-level Title of series (Licentiate thesis) Thesis D-level Report Number of Pages Other (specify below) Series number/ISSN (Licentiate thesis) 90 URL, Electronic Version http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-78726 Publication Title 3D Graphics Technologies for Web Applications: An Evaluation from the Perspective of a Real World Application Publication Title (Swedish) Tekniker för 3D-grafik i webbapplikationer: En utvärdering sedd utifrån en riktig applikations perspektiv Author(s) Klara Waernér Abstract Web applications are becoming increasingly sophisticated and functionality that was once exclusive to regular desktop applications can now be found in web applications as well.
    [Show full text]
  • A Survey Full Text Available At
    Full text available at: http://dx.doi.org/10.1561/0600000083 Publishing and Consuming 3D Content on the Web: A Survey Full text available at: http://dx.doi.org/10.1561/0600000083 Other titles in Foundations and Trends R in Computer Graphics and Vision Crowdsourcing in Computer Vision Adriana Kovashka, Olga Russakovsky, Li Fei-Fei and Kristen Grauman ISBN: 978-1-68083-212-9 The Path to Path-Traced Movies Per H. Christensen and Wojciech Jarosz ISBN: 978-1-68083-210-5 (Hyper)-Graphs Inference through Convex Relaxations and Move Making Algorithms Nikos Komodakis, M. Pawan Kumar and Nikos Paragios ISBN: 978-1-68083-138-2 A Survey of Photometric Stereo Techniques Jens Ackermann and Michael Goesele ISBN: 978-1-68083-078-1 Multi-View Stereo: A Tutorial Yasutaka Furukawa and Carlos Hernandez ISBN: 978-1-60198-836-2 Full text available at: http://dx.doi.org/10.1561/0600000083 Publishing and Consuming 3D Content on the Web: A Survey Marco Potenziani Visual Computing Lab, ISTI CNR [email protected] Marco Callieri Visual Computing Lab, ISTI CNR [email protected] Matteo Dellepiane Visual Computing Lab, ISTI CNR [email protected] Roberto Scopigno Visual Computing Lab, ISTI CNR [email protected] Boston — Delft Full text available at: http://dx.doi.org/10.1561/0600000083 Foundations and Trends R in Computer Graphics and Vision Published, sold and distributed by: now Publishers Inc. PO Box 1024 Hanover, MA 02339 United States Tel. +1-781-985-4510 www.nowpublishers.com [email protected] Outside North America: now Publishers Inc.
    [Show full text]
  • Lisätyn Todellisuuden Sovellus Webgl-Ympäristössä
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by TUT DPub ILKKA MÄÄTTÄ LISÄTYN TODELLISUUDEN SOVELLUS WEBGL-YMPÄRIS- TÖSSÄ Diplomityö Tarkastaja: professori Kari Systä Tarkastaja ja aihe hyväksytty 8. kesäkuuta 2016 i TIIVISTELMÄ ILKKA MÄÄTTÄ: Lisätyn todellisuuden sovellus WebGL-ympäristössä Tampereen teknillinen yliopisto Diplomityö, 43 sivua Toukokuu 2017 Tietotekniikan diplomi-insinöörin tutkinto-ohjelma Pääaine: Ohjelmistotuotanto Tarkastaja: professori Kari Systä Avainsanat: WebGL, Lisätty todellisuus, AR Tämän työn tavoitteena oli toteuttaa prototyyppijärjestelmä automaatiojärjestelmän in- formaation visualisointiin hyödyntäen lisättyä todellisuutta. Prototyyppijärjestelmältä vaadittiin, että sen käyttöliittymä olisi selainpohjainen, jonka perusteella päädyttiin valit- semaan WebGL-kirjasto lisätyn todellisuuden toteutusta varten. Prototyypin toteutta- mista varten oli käytettävissä testauskäyttöön tarkoitettu koekenttä, jonne oli ennalta asennettu automaatiojärjestelmä ja IP-kamerat. Selainympäristöstä johtuen ei haluttu pää- tellä videokuvasta kameran orientaatiota. Tämän pohjalta päädyttiin kyselemään kame- roilta näiden orientaatiotietoa, sekä hyödyntämään ennalta tunnettua tietoa näiden sijain- neista. Toteutuksen lisäksi tässä tekstissä esitellään lyhyesti toteutukseen liittyvää teo- reettista taustaa. Toteutettu järjestelmä rakentui asiakas-palvelin mallisesta selainsovelluksesta, jakautuen kahdeksi palvelinsovellukseksi ja asiakkaanpään selainsovellukseksi. Palvelinsovelluk- silla
    [Show full text]