Input Zhaohui Ning Aaron Cardwell Boonthanome Nouanesengsy.

Slides:



Advertisements
Similar presentations
Games in Python – the easy way
Advertisements

Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Word Lesson 8 Increasing Efficiency Using Word
Creating Rout Paths Using CAMMaster. Step 1 Import Gerber File. Import Gerber File. User Ctrl+W to window around data. User Ctrl+W to window around data.
© 2007 IBM Corporation IBM Emerging Technologies Enabling an Accessible Web 2.0 Becky Gibson Web Accessibility Architect.
Donald Heer 2/14/2011. Overview  Input Types Keyboard Mouse  Examples  The Arcade What inputs does the arcade have?
C HAPTER 12 A Very Graphic Story. O VERVIEW Simple GUI Getting User Input Creating a Listener ActionEvents Displaying Graphics Drawing Multiple Buttons.
A graphical user interface (GUI) is a pictorial interface to a program. A good GUI can make programs easier to use by providing them with a consistent.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
QGIS Matthew Rosencrans Tom DiLiberto. Outline What is QGIS? What can we do with it? What data can we work with?
XML October 24, Unit 6. What is XML? Stands for eXtensible Markup Language It is a markup language, like HTML But, –XML is designed to markup data –HTML.
Word Processing Microsoft Office: Exploring Word 2011 for MAC.
IBIS GIS Mapping Missouri “Show and Tell”. Outline 1.What is KML 2.Why we chose KML 3.Show and Tell.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Section 508 and NASA Section 508 and NASA Session 4: Software Applications and Operating Systems Presentation to Ames Research Center November 2011 Antonio.
Web Design Software Alyssa Lagimoniere. Adobe Dreamweaver Pros Relatively low-cost price ($99) Produces very "clean" HTML code; easy to transport and.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
WEBINAR SERIES: ACCESSIBLE INTERACTIVE DOCUMENTS Week 3: Accessible Web Forms Norman Coombs
Chapter 11-Multimedia Authoring Tools. Overview Introduction to multimedia authoring tools. Types of authoring tools. Cross-platform authoring notes.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
Creating a Basic Web Page
WorkPlace Pro Utilities.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Dynamic Action with Macromedia Dreamweaver MX Barry Sosinsky Valda Hilley.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
Arc: AddIns Dr Andy Evans. Java Direct access to ArcObjects Framework inside and outside Arc. Ability to add components to the GUI. Ability to communicate.
University of Sunderland CDM105 Session 5 Web Authoring Tools The past and present A history of web authoring tools and an overview of Macromedia Dreamweaver.
DUE Hello World on the Android Platform.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
FLTK Tutorial.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
SE 320 – Introduction to Game Development Lecture 8: Animations, GUIs, Debugging and IDEs Lecturer: Gazihan Alankuş Please look at the last two slides.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
3461A Readings from the Swing Tutorial. 3461A Overview  The follow is the Table of Contents from the trail “Creating a GUI with JFC/Swing” in the “The.
Enhancing the Graphical User Interface Multiple Forms, Controls, and Menus.
Dreamweaver 8 Introduction What you can do with Dreamweaver 8 What's new in Dreamweaver 8.
Word 2007 What’s New. Ribbon Interface Replaces toolbars and menus Contains tabs and grouped commands Each tab corresponds to task Related items grouped.
JavaScript - A Web Script Language Fred Durao
Basic Editing Lesson 2.
ITEC 109 Lecture 27 GUI. GUIs Review Sounds –Arrays hold sample values –Creating a keyboard –Sound effects Homework 3 –The big two –Due after break –Lab.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Overview of PVSS 3.6 Oliver Holme IT-CO. 16/11/2006JCOP Project Team Meeting New features in 3.6 New Installer for PVSS on Windows New Qt User Interface.
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
CITA 342 Section 2 Visual Programming. Allows the use of visual expressions (such as graphics, drawings, or animation) in the process of programming.
Input Design Lecture 11 1 BTEC HNC Systems Support Castle College 2007/8.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Rujchai Ung-arunyawee Department of Computer Engineering Khon Kaen University.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
Shaelynn Long-KishShaelynn Long-Kish, Instructional Designer Mid Michigan Community College Building Beautiful Courses: Layouts, Lessons, Blocks, & Books.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
©GoldSim Technology Group LLC., 2012 Dashboards August 2012 Webinar By Jason Lillywhite.
Software 3 See Edmodo for images Group name: topcat Group code: i4qf9a 11/03/11.
New Generation University Faculty of Computer Science Chapter Five: File Uploaded and Ad Rotate Lecturer: Mukhtar Mohamed Ali “Hakaale”
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
MATLAB and SimulinkLecture 61 To days Outline Graphical User Interface (GUI) Exercise on this days topics.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Day 1: MS Excel for Beginners Aniko Balogh CEU Computer & Statistics Center
Dual Boot Systems with Ubuntu Michael Frey Engineering Manager OEM Services, Canonical.
Working with Cascading Style Sheets
Computer Software Digital Literacy.
Human Computer Interaction
Computer Software Digital Literacy.
Understand Windows Forms Applications and Console-based Applications
Extend Text Editor to Draw shapes
Presentation transcript:

Input Zhaohui Ning Aaron Cardwell Boonthanome Nouanesengsy

Outline Ogre Input Other input toolkits –SDL –OIS –CEGUI

Ogre Input Not supported well Does not support joysticks Inconsistent –Use 0, 1, 2 or a mask to determine mouse button Mouse event in mouseDragged always returns 0

SDL Simple DirectMedia Layer Provides low level access to audio, keyboard, mouse, and video Cross-platform

SDL Input Keyboard Input Mouse Input Joystick Input

Example Code SDL_Event event; while(SDL_PollEvent(&event)) { switch(event.type) { case SDL_KEYDOWN: out<<"Oh! Key press\n"; break; case SDL_MOUSEMOTION: out<<"Mouse Motion\n"; break; case SDL_QUIT: i=-1; break; default: out<<"I don't know what this event is!\n"; }

SDL with Ogre Requires DirectX to compile SDL wants to create its own window Must tell SDL to use the Ogre window

OIS Object Oriented Input System Phillip Castaneda zlib/libpng License MS Windows, Linux

Manual WreckedLibs:OIS:Manual Mouse Keyboard Joystick

Compiling Official ReleaseFFTestErrors.txtFix An OIS InputManager available on Wiki Practical Application - Let's Get Started A working version Basic Tutorial 5

CEGUI CEGUI (Crazy Eddies Graphical User Interface) –Free graphical interface for graphics API’s which do not have or have a lacking graphical interface system –Combines graphical 2D overlaying displays with mouse input interfaces for the user

CEGUI Pro’s –Free for use under LGPL licensing –Already integrated in Ogre3D –Tutorials provided in OgreSDK and Ogre’s Wiki on using CEGUI with Ogre –Good responsive forums –Decent wiki with documentation for CEGUI classes and tutorials

CEGUI Cons –Random “holes” in documentation and tutorials but you can still figure most things out from forums –Large amount of external script files to compose a “Look” and a “scheme” are complicated –.scheme,.lookNfeel,.imageset,.layout

CEGUI Cons (Cont.) –One major con of CEGUI is its problem in slow speed with lots of windows and elements as noticed in the provided ogre + CEGUI sample. –Child windows with lots of events and elements cause a messaging slowdown because of the cascading mouse move events

CEGUI Solution to slowness of many layouts –Be careful and weary of using large CEGUI windows. –Efficiently group smaller child windows to exclude unnecessary checks on mouse enter/exits

CEGUI Features –Easily displayable overlays with a multitude of functionality –Static images, text boxes, buttons –Use of XML to import layouts from a easily changeable file –Build your own layouts into xml files using their “official” layout editor

CEGUI Features of using the editor –Very easy setup of the layout of a graphical display –Tree structure and snap-able grid for layout modification Downfalls of using the editor –No ability to add specific images –Must still manually code in the event function calls –Missing attributes in the editor