Mining Software Repositories to Assist Developers and Support Managers

Total Page:16

File Type:pdf, Size:1020Kb

Mining Software Repositories to Assist Developers and Support Managers Mining Software Repositories to Assist Developers and Support Managers by Ahmed E. Hassan A thesis presented to the University of Waterloo in fulfilment of the thesis requirement for the degree of Doctor of Philosophy in Computer Science Waterloo, Ontario, Canada, 2004 c Ahmed E. Hassan 2004 I hereby declare that I am the sole author of this thesis. This is a true copy of the thesis, including any required final revisions, as accepted by my examiners. I understand that my thesis may be made electronically available to the public. ii Abstract This thesis explores mining the evolutionary history of a software system to support software developers and managers in their endeavors to build and maintain complex software systems. We introduce the idea of evolutionary extractors which are special- ized extractors that can recover the history of software projects from soft- ware repositories, such as source control systems. The challenges faced in building C-REX, an evolutionary extractor for the C programming lan- guage, are discussed. We examine the use of source control systems in industry and the quality of the recovered C-REX data through a survey of several software practitioners. Using the data recovered by C-REX, we develop several approaches and techniques to assist developers and managers in their activities. We propose Source Sticky Notes to assist developers in understanding legacy software systems by attaching historical information to the depen- dency graph. We present the Development Replay approach to estimate the benefits of adopting new software maintenance tools by reenacting the development history. We propose the Top Ten List which assists managers in allocating test- ing resources to the subsystems that are most susceptible to have faults. To assist managers in improving the quality of their projects, we present a complexity metric which quantifies the complexity of the changes to the code instead of quantifying the complexity of the source code itself. All presented approaches are validated empirically using data from several large open source systems. The presented work highlights the benefits of transforming software repositories from static record keeping repositories to active repositories used by researchers to gain empirically based understanding of software development, and by software practitioners to predict, plan and under- stand various aspects of their project. iii Acknowledgements This thesis would not have been possible without the support of many exceptional people to whom I am grateful. I am greatly indebted to my supervisor Prof. Richard C. Holt for his support and guidance throughout the years. Ric gave me the freedom to pursue research on many interesting topics while providing encouraging words and advice when needed. Ric has taught me many valuable lessons about being a good researcher and a caring teacher. I sincerely appreciate his advice concerning my presentations and writings. His counsel has been invaluable in making my work readable and my presentations entertaining. Through out my research, Ric has continued to challenge my findings and question my results as we traveled the world presenting the work in this thesis at several international venues. Thanks Ric for making this a very enjoyable and educational experience! It saddens me that the journey has come to an end. Thanks for being a great teacher, a friendly proponent and a challenging opponent. I appreciate the time and effort that Prof. Jo Atlee, Prof. Charlie Clark, and Prof. Kostas Kontogiannis put into reading my thesis and their valu- able comments. I am grateful to Prof. Dewayne Perry for taking time out of his busy schedule to act as the external for my thesis. His insight and knowledge about prior research has been extremely valuable in strength- ening my work, especially in spots where I lacked the hard evidence to support my intuition. I would like to thank Prof. Michael W. Godfrey for always being like a big brother in offering his views and advice on several aspects of academic life. I also would like to thank Mary McColl for her assistance with vari- ous administrative details throughout my degree. I appreciate the lively and engaging discussions with many current and previous students of Ric and members of SWAG, in particular, Prof. Susan Sim, Prof. Bil Tzerpos, and Jingwei Wu (with whom I collaborated on many research papers). The work in this thesis uses several open source repositories. I grate- fully acknowledge the significant contributions of members of the Open v Source community who have given freely of their time to produce large software systems with rich and detailed source code repositories; and who assisted me in understanding and acquiring these valuable repositories. I am very fortunate to work with many great people at Research In Motion. I would like to thank them for their friendship and their will- ingness to listen to a crazy scientist who disturbed them with his ideas and thoughts during their peaceful breaks. In particular, I would like to thank Vi Thuan Banh, Denny Chiu, James Godfrey, and Sean (J. F.) Wilson. Many of the ideas in this thesis, were developed by monitoring some of their work habits (e.g. the source sticky notes approach). I am also grateful for Vi Thuan for proofreading parts of this thesis. Throughout this journey, I was lucky to have many good friends who have always been willing to discuss my research ideas and to disagree with me. Thankfully, they still remain my friends at the end of the jour- ney even though sometimes I was too busy to show my appreciation. I would like to thank Mohammed Abouzour, Andrew Hunter, Prof. Karim Karim and Stephen Sheeler. Thanks guys for always telling me when things just did not make sense, you guys made this journey fun and en- durable! Special thanks to my uncle (Mamdouh Bekhit) for his continuous and caring support. I am also grateful to my family for providing an environ- ment where I could escape in order to relax and regain my strength and sanity. The work in this thesis would not have been possible if it were not for a truly great and extremely patient person: My mom, to whom I dedicate this thesis. Thanks Mom! Ahmed E. Hassan on February 2005 vi To My Mom vii Related Publications The following is a list of our publications that are on the topic of mining software repositories: 1. Exploring Software Evolution Using Spectrographs, Jingwei Wu, Ahmed E. Hassan and Richard C. Holt, Proceedings of WCRE 2004: Working Conference on Reverse Engineering, Delft, 2004 2. Predicting Change Propagation in Software Systems, Ahmed E. Hassan and Richard C. Holt, Proceedings of ICSM 2004: Interna- tional Conference on Software Maintenance, Chicago, Illinois, USA, September 11-17, 2004. 3. Evolution Spectrographs: Visualizing Punctuated Change in Soft- ware Evolution, Jingwei Wu, Claus W. Spitzer, Ahmed E. Has- san and Richard C. Holt, Proceedings of IWPSE 2004: Interna- tional Workshop on Principles of Software Evolution, Kyoto, Japan, September 6-7, 2004. 4. Studying The Evolution of Software Systems Using Evolutionary Code Extractors, Ahmed E. Hassan and Richard C. Holt, Draft, Pro- ceedings of IWPSE 2004: International Workshop on Principles of Software Evolution, Kyoto, Japan, September 6-7, 2004. 5. Using Development History Sticky Notes to Understand Software Architecture, Ahmed E. Hassan and Richard C. Holt, Proceedings of IWPC 2004: International Workshop on Program Comprehension, Bari, Italy, June 24-26, 2004. 6. MSR 2004: The International Workshop on Mining Software Repos- itories, Ahmed E. Hassan, Richard C. Holt and Audris Mockus, Proceedings of ICSE 2004: International Conference on Software Engineering, Scotland, UK, May 23-28, 2004.Workshop Website: http://msr.uwaterloo.ca ix 7. Studying The Chaos of Code Development, Ahmed E. Hassan and Richard C. Holt, Proceedings of WCRE 2003: Working Conference on Reverse Engineering, Victoria, British Columbia, Canada, Novem- ber 13-16, 2003. 8. The Chaos of Software Development, Ahmed E. Hassan and Richard C. Holt, Proceedings of IWPSE 2003: International Workshop on Principles of Software Evolution, Helsinki, Finland, September 1-2, 2003. x Contents 1 Introduction 1 1.0.1 Prior Research ....................... 2 1.0.2 Personal Experience ................... 3 1.0.3 The Open Source Phenomena .............. 4 1.1 Research Hypothesis ....................... 5 1.2 Thesis Organization ........................ 6 1.3 Thesis Overview .......................... 7 1.3.1 Part I: Extracting Information From Software Repos- itories ............................ 7 1.3.2 Part II: Using Software Repositories to Support De- velopers ........................... 10 1.3.3 Part II: Using Software Repositories to Support Man- agers ............................ 11 1.4 Thesis Contributions ....................... 13 Part I: Extracting Information From Software Repositories 17 2 Studying The Evolution of Software Systems Using Evo- lutionary Code Extractors 21 2.1 Introduction ............................ 22 2.1.1 Organization Of Chapter . 23 2.2 Describing Source Code Evolution . 24 2.3 The Dimensions Of Source Code Evolution . 26 xi CONTENTS 2.3.1 Frequency of Snapshots . 27 2.3.2 Data Source ........................ 28 2.3.3 The Characteristics of the Source Code . 29 2.3.4 Level of Detail ....................... 31 2.4 Challenges And Complexity ................... 33 2.4.1 Robustness and Scalability . 33 2.4.2 Accuracy .......................... 34 2.4.3 The Changing and Unstable Nature of Source Code . 35 2.4.4 Development Time .................... 35 2.5 Previous Work ........................... 36 2.6 Conclusion ............................. 37 3 C-REX: An Evolutionary Code Extractor for C 39 3.1 Introduction ............................ 39 3.1.1 Organization of Chapter . 42 3.2 Evolutionary Code Extractors . 42 3.2.1 Frequency of Snapshots . 44 3.2.2 Data Source ........................ 45 3.2.3 The Characteristics of Code . 45 3.2.4 Level of Detail ....................... 46 3.3 Challenges In Developing C-REX . 47 3.3.1 Robustness and Scalability of the Extractor . 48 3.3.2 Accuracy of the Extracted Information .
Recommended publications
  • Haxe Game Development Essentials
    F re e S a m p le Community Experience Distilled Haxe Game Development Essentials Create games on multiple platforms from a single codebase using Haxe and the HaxeFlixel engine Jeremy McCurdy In this package, you will find: The author biography A preview chapter from the book, Chapter 1 'Getting Started' A synopsis of the book’s content More information on Haxe Game Development Essentials About the Author Jeremy McCurdy is a game developer who has been making games using ActionScript, C#, and Haxe for over four years. He has developed games targeted at iOS, Android, Windows, OS X, Flash, and HTML5. He has worked on games that have had millions of gameplay sessions, and has built games for many major North American television networks. He is the games technical lead at REDspace, an award-winning interactive studio that has worked for some of the world's largest brands. They are located in Nova Scotia, Canada, and have been building awesome experiences for 15 years. Preface Developing games that can reach a wide audience can often be a serious challenge. A big part of the problem is fi guring out how to make a game that will work on a wide range of hardware and operating systems. This is where Haxe comes in. Over the course of this book, we'll look at getting started with Haxe and the HaxeFlixel game engine, build a side-scrolling shooter game that covers the core features you need to know, and prepare the game for deployment to multiple platforms. After completing this book, you will have the skills you need to start producing your own cross-platform Haxe-driven games! What this book covers Chapter 1, Getting Started, explains setting up the Haxe and HaxeFlixel development environment and doing a quick Hello World example to ensure that everything is working.
    [Show full text]
  • Building a Java First-Person Shooter
    3D Java Game Programming – Episode 0 Building a Java First-Person Shooter Episode 0 [Last update: 5/03/2017] These notes are intended to accompany the video sessions being presented on the youtube channel “3D Java Game Programming” by youtube member “The Cherno” at https://www.youtube.com/playlist?list=PL656DADE0DA25ADBB. I created them as a way to review the material and explore in more depth the topics presented. I am sharing with the world since the original work is based on material freely and openly available. Note: These notes DO NOT stand on their own, that is, I rely on the fact that you viewed and followed along the video and may want more information, clarification and or the material reviewed from a different perspective. The purpose of the videos is to create a first-person shooter (FPS) without using any Java frameworks such as Lightweight Java Game Library (LWJGL), LibGDX, or jMonkey Game Engine. The advantages to creating a 3D FPS game without the support of specialized game libraries that is to limit yourself to the commonly available Java classes (not even use the Java 2D or 3D APIs) is that you get to learn 3D fundamentals. For a different presentation style that is not geared to following video episodes checkout my notes/book on “Creating Games with Java.” Those notes are more in a book format and covers creating 2D and 3D games using Java in detail. In fact, I borrow or steal from these video episode notes quite liberally and incorporate into my own notes. Prerequisites You should be comfortable with basic Java programming knowledge that would be covered in the one- semester college course.
    [Show full text]
  • Introducing 2D Game Engine Development with Javascript
    CHAPTER 1 Introducing 2D Game Engine Development with JavaScript Video games are complex, interactive, multimedia software systems. These systems must, in real time, process player input, simulate the interactions of semi-autonomous objects, and generate high-fidelity graphics and audio outputs, all while trying to engage the players. Attempts at building video games can quickly be overwhelmed by the need to be well versed in software development as well as in how to create appealing player experiences. The first challenge can be alleviated with a software library, or game engine, that contains a coherent collection of utilities and objects designed specifically for developing video games. The player engagement goal is typically achieved through careful gameplay design and fine-tuning throughout the video game development process. This book is about the design and development of a game engine; it will focus on implementing and hiding the mundane operations and supporting complex simulations. Through the projects in this book, you will build a practical game engine for developing video games that are accessible across the Internet. A game engine relieves the game developers from simple routine tasks such as decoding specific key presses on the keyboard, designing complex algorithms for common operations such as mimicking shadows in a 2D world, and understanding nuances in implementations such as enforcing accuracy tolerance of a physics simulation. Commercial and well-established game engines such as Unity, Unreal Engine, and Panda3D present their systems through a graphical user interface (GUI). Not only does the friendly GUI simplify some of the tedious processes of game design such as creating and placing objects in a level, but more importantly, it ensures that these game engines are accessible to creative designers with diverse backgrounds who may find software development specifics distracting.
    [Show full text]
  • Re-Purposing Commercial Entertainment Software for Military Use
    Calhoun: The NPS Institutional Archive Theses and Dissertations Thesis Collection 2000-09 Re-purposing commercial entertainment software for military use DeBrine, Jeffrey D. Monterey, California. Naval Postgraduate School http://hdl.handle.net/10945/26726 HOOL NAV CA 9394o- .01 NAVAL POSTGRADUATE SCHOOL Monterey, California THESIS RE-PURPOSING COMMERCIAL ENTERTAINMENT SOFTWARE FOR MILITARY USE By Jeffrey D. DeBrine Donald E. Morrow September 2000 Thesis Advisor: Michael Capps Co-Advisor: Michael Zyda Approved for public release; distribution is unlimited REPORT DOCUMENTATION PAGE Form Approved OMB No. 0704-0188 Public reporting burden for this collection of information is estimated to average 1 hour per response, including the time for reviewing instruction, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Send comments regarding this burden estimate or any other aspect of this collection of information, including suggestions for reducing this burden, to Washington headquarters Services, Directorate for Information Operations and Reports, 1215 Jefferson Davis Highway, Suite 1204, Arlington, VA 22202-4302, and to the Office of Management and Budget, Paperwork Reduction Project (0704-0188) Washington DC 20503. 1 . AGENCY USE ONLY (Leave blank) 2. REPORT DATE REPORT TYPE AND DATES COVERED September 2000 Master's Thesis 4. TITLE AND SUBTITLE 5. FUNDING NUMBERS Re-Purposing Commercial Entertainment Software for Military Use 6. AUTHOR(S) MIPROEMANPGS00 DeBrine, Jeffrey D. and Morrow, Donald E. 8. PERFORMING 7. PERFORMING ORGANIZATION NAME(S) AND ADDRESS(ES) ORGANIZATION REPORT Naval Postgraduate School NUMBER Monterey, CA 93943-5000 9. SPONSORING / MONITORING AGENCY NAME(S) AND ADDRESS(ES) 10. SPONSORING/ Office of Economic & Manpower Analysis MONITORING AGENCY REPORT 607 Cullum Rd, Floor IB, Rm B109, West Point, NY 10996-1798 NUMBER 11.
    [Show full text]
  • Are Game Engines Software Frameworks?
    ? Are Game Engines Software Frameworks? A Three-perspective Study a < b c c Cristiano Politowski , , Fabio Petrillo , João Eduardo Montandon , Marco Tulio Valente and a Yann-Gaël Guéhéneuc aConcordia University, Montreal, Quebec, Canada bUniversité du Québec à Chicoutimi, Chicoutimi, Quebec, Canada cUniversidade Federal de Minas Gerais, Belo Horizonte, Brazil ARTICLEINFO Abstract Keywords: Game engines help developers create video games and avoid duplication of code and effort, like frame- Game-engine works for traditional software systems. In this paper, we explore open-source game engines along three Framework perspectives: literature, code, and human. First, we explore and summarise the academic literature Video-game on game engines. Second, we compare the characteristics of the 282 most popular engines and the Mining 282 most popular frameworks in GitHub. Finally, we survey 124 engine developers about their expe- Open-source rience with the development of their engines. We report that: (1) Game engines are not well-studied in software-engineering research with few studies having engines as object of research. (2) Open- source game engines are slightly larger in terms of size and complexity and less popular and engaging than traditional frameworks. Their programming languages differ greatly from frameworks. Engine projects have shorter histories with less releases. (3) Developers perceive game engines as different from traditional frameworks. Generally, they build game engines to (a) better control the environ- ment and source code, (b) learn about game engines, and (c) develop specific games. We conclude that open-source game engines have differences compared to traditional open-source frameworks al- though this differences do not demand special treatments.
    [Show full text]
  • Introduction
    Introduction ○ Make games. ○ Develop strong mutual relationships. ○ Go to conferences with reasons. ○ Why build 1.0, when building 1.x is easier? Why we use Unreal Engine? ○ Easier to stay focused. ○ Avoid the trap of development hell. ○ Building years of experience. ○ A lot of other developers use it and need our help! Build mutual relationships ○ Epic offered early access to Unreal Engine 2. ○ Epic gave me money. ○ Epic sent me all around the world. ○ Meeting Jay Wilbur. Go to conferences ○ What are your extrinsic reasons? ○ What are your intrinsic reasons? ○ PAX Prime 2013. Building 1.x ○ Get experience by working on your own. ○ Know your limitations. ○ What are your end goals? Conclusion ○ Know what you want and do it fast. ○ Build and maintain key relationships. ○ Attend conferences. ○ Build 1.x. Introduction Hello, my name is James Tan. I am the co-founder of a game development studio that is called Digital Confectioners. Before I became a game developer, I was a registered pharmacist with a passion for game development. Roughly five years ago, I embarked on a journey to follow that passion and to reach the dream of becoming a professional game developer. I made four key decisions early on that I still follow to this day. One, I wanted to make games. Two, I need to develop strong mutual relationships. Three, I need to have strong reasons to be at conferences and never for the sake of it. Four, I should always remember that building 1 point x is going to be faster and more cost effective than trying to build 1 point 0.
    [Show full text]
  • Idtech Brochure
    SUMMER 2018 | AGES 7–18 The industry leader in STEM education In 1999, “tech camps” didn’t exist. Our family saw the void in mainstream education and crafted a summer experience for kids and teens that was unlike anything else. The first iD Tech office in 1999 Today, as the nation’s leading tech educator, parents rely on us to prepare students for over 2.4 million open STEM jobs. To push for 50/50 gender parity in tech. To help bridge the digital divide with life-changing scholarships. Simply put, we’re more than just a camp—we’re a purpose-driven company on a mission to embolden students to shape the future. Whether you come for one week to explore and have fun or return for multiple sessions and become the next tech rock star at Google, your pathway starts here. Pete Ingram-Cauchi, CEO Alexa Ingram-Cauchi Kathryn Ingram Co-Founder Co-Founder 1 Only at iD Tech 350,000 150 prestigious alumni university locations < > World-class, tech- 5-10 students per savvy staff instructor, guaranteed Founded in Industry-standard Silicon Valley hardware & software 9 out of 10 alumni 97% of iD Tech alumni pursue STEM careers attend a 4-year college 2 50 courses for all skill levels We teach the in-demand skills you just can’t get in school. Game Design Roblox Entrepreneur: LUA Coding and Game Creation Fortnite Camp and Unreal Artificial Intelligence Engine Level Design and Machine Learning WorldBuilder: Minecraft Game Design Build, Invent, and Code Your Take-Home Laptop Level Design and VR with Unreal and HTC Vive Code Café: Development with Java Mobile
    [Show full text]
  • Game Engine Anatomy 101, Part I April 12, 2002 By: Jake Simpson
    ExtremeTech - Print Article 10/21/02 12:07 PM Game Engine Anatomy 101, Part I April 12, 2002 By: Jake Simpson We've come a very long way since the days of Doom. But that groundbreaking title wasn't just a great game, it also brought forth and popularized a new game-programming model: the game "engine." This modular, extensible and oh-so-tweakable design concept allowed gamers and programmers alike to hack into the game's core to create new games with new models, scenery, and sounds, or put a different twist on the existing game material. CounterStrike, Team Fortress, TacOps, Strike Force, and the wonderfully macabre Quake Soccer are among numerous new games created from existing game engines, with most using one of iD's Quake engines as their basis. click on image for full view TacOps and Strike Force both use the Unreal Tournament engine. In fact, the term "game engine" has come to be standard verbiage in gamers' conversations, but where does the engine end, and the game begin? And what exactly is going on behind the scenes to push all those pixels, play sounds, make monsters think and trigger game events? If you've ever pondered any of these questions, and want to know more about what makes games go, then you've come to the right place. What's in store is a deep, multi-part guided tour of the guts of game engines, with a particular focus on the Quake engines, since Raven Software (the company where I worked recently) has built several titles, Soldier of Fortune most notably, based on the Quake engine.
    [Show full text]
  • Build Your Own 2D Game Engine and Create Great Web Games Using HTML5, Javascript, and Webgl
    K. Sung, J. Pavleas, F. Arnez, J. Pace Build your own 2D Game Engine and Create Great Web Games Using HTML5, JavaScript, and WebGL ▶ Game Design Elements and Development Process: learn the elements and vocabulary of game design and understand the process of designing a game from scratch. ▶ Game Development Tool (HTML5, Javascript, and WebGL): work with the HTML5, Javascript, and WebGL to experience building 2D interactive videogames. ▶ Logic and Behavior: learn and implement simple in-game pseudo autonomous behaviors. ▶ Math and Physics Foundation: learn, review, and implement the foundational mathematics and physics required by most games. Graphics and Effects: learn and implement graphics effects; and 1st ed., XXIII, 468 p. 164 illus. ▶ audio and special effects. A product of Apress ▶ Effective Game Design: integrate game experience design concepts smartly with technical design concepts to ensure the technical Printed book and experience design are working in harmony enhance player experience Softcover ▶ 49,99 € | £44.99 | $59.99 ▶ *53,49 € (D) | 54,99 € (A) | CHF 59.00 Build Your Own 2D Game Engine and Create Great Web Games teaches you how to develop your own web-based game engine step-by-step, allowing you to create a wide variety of online videogames that can be played in common web browsers. Chapters include eBook examples and projects that gradually increase in complexity while introducing a ground- Available from your bookstore or up design framework, providing you with the foundational concepts needed to build ▶ springer.com/shop fun and engaging 2D games. By the end of this book you will have created a complete prototype level for a side scrolling action platform game and will be prepared to begin designing additional levels and games of your own.
    [Show full text]
  • Quake III Arena This Page Intentionally Left Blank Focus on Mod Programming for Quake III Arena
    Focus on Mod Programming for Quake III Arena This page intentionally left blank Focus on Mod Programming for Quake III Arena Shawn Holmes © 2002 by Premier Press, a division of Course Technology. All rights reserved. No part of this book may be reproduced or transmitted in any form or by any means, elec- tronic or mechanical, including photocopying, recording, or by any information stor- age or retrieval system without written permission from Premier Press, except for the inclusion of brief quotations in a review. The Premier Press logo, top edge printing, and related trade dress are trade- marks of Premier Press, Inc. and may not be used without written permis- sion. All other trademarks are the property of their respective owners. Publisher: Stacy L. Hiquet Marketing Manager: Heather Hurley Managing Editor: Sandy Doell Acquisitions Editor: Emi Smith Series Editor: André LaMothe Project Editor: Estelle Manticas Editorial Assistant: Margaret Bauer Technical Reviewer: Robi Sen Technical Consultant: Jared Larson Copy Editor: Kate Welsh Interior Layout: Marian Hartsough Cover Design: Mike Tanamachi Indexer: Katherine Stimson Proofreader: Jennifer Davidson All trademarks are the property of their respective owners. Important: Premier Press cannot provide software support. Please contact the appro- priate software manufacturer’s technical support line or Web site for assistance. Premier Press and the author have attempted throughout this book to distinguish proprietary trademarks from descriptive terms by following the capitalization style used by the manufacturer. Information contained in this book has been obtained by Premier Press from sources believed to be reliable. However, because of the possibility of human or mechanical error by our sources, Premier Press, or others, the Publisher does not guarantee the accuracy, adequacy, or completeness of any information and is not responsible for any errors or omissions or the results obtained from use of such information.
    [Show full text]
  • Agreste Game Engine: Development of a Dedicated Opengl Game Engine Proposal
    SBC { Proceedings of SBGames 2019 | ISSN: 2179-2259 Computing Track { Short Papers Agreste Game Engine: Development of a Dedicated OpenGL Game Engine Proposal Joimar Brito Gonc¸alves Filho, Joao˜ Gabriel Lima Moraes, Victor Travassos Sarinho Universidade Estadual de Feira de Santana (UEFS) Laboratorio´ de Entretenimento Digital Aplicado (LEnDA) Feira de Santana, Bahia, Brazil [email protected], [email protected], [email protected] Resumo—OpenGL is an important graphical development To this end, section 2 describes relevant theoretical aspects API for digital game, but with a low level of public documen- for the AGE production. Section 3 presents the design, tation and tutorial examples explaining how to use it. In this implementation and prototype results for the proposed game sense, the present work describes the attempt to develop a game engine based on this API. The Agreste Game Engine (AGE) engine. Finally, section 4 describes the conclusions and aims to understand the concepts involved in the manipulation future work of this project. of OpenGL resources, which is not directly specified to provide new game engines. As obtained results, interactive virtual II. THEORETICAL ASPECTS objects were provided by AGE prototype, showing the AGE A. Graphics Engine capability of using OpenGL resources according to developed graphics and physics engines in a dedicated platform, as well as The graphics engine is a program responsible for receiving a public example about how to use OpenGL in the production input from the developer and transforming it into code that of new game engines. can be interpreted by OpenGL for creating and updating Keywords-OpenGL; game engine tutorial; dedicated game frames [4].
    [Show full text]
  • Visual Scenemaker—A Tool for Authoring Interactive Virtual Characters
    JMultimodalUserInterfaces DOI 10.1007/s12193-011-0077-1 ORIGINAL PAPER Visual SceneMaker—a tool for authoring interactive virtual characters Patrick Gebhard Gregor Mehlmann Michael Kipp · · Received: 3 December 2010 / Accepted: 5 November 2011 © OpenInterface Association 2011 Abstract Creating interactive applications with multiple application. Virtual characters can enrich the interaction ex- virtual characters comes along with many challenges that perience by showing engaging and consistent behavior. This are related to different areas of expertise. The definition of comes along with a whole range of challenges, such as in- context-sensitive interactive behavior requires expert pro- teraction design, emotion modeling, figure animation, and grammers and often results in hard-to-maintain code. To speech synthesis [9]. Research is carried out in a range of tackle these challenges, we suggest a visual authoring ap- disciplines, including believable facial expressions, gesture proach for virtual character applications and present a re- animations and body movements of virtual characters [14], vised version of our SceneMaker tool. In SceneMaker a modeling of personality and emotion [10]andexpressive separation of content and logic is enforced. In the revised speech synthesis [21]. However, to what extent virtual char- version, the Visual SceneMaker, we introduce concurrency acters actually contribute to measurable benefits such as in- and specific history structures as key concepts to facili- creased motivation or even performance is still hotly debated tate (1) clearly structured interactive behavior definition, (cf. [12, 18]). This makes it even more important that virtual (2) multiple character modeling, and (3) extensions to ex- character applications are carefully designed, in close inter- isting applications.
    [Show full text]