object oriented design

Download Object Oriented Design

If you can't read please download the document

Upload: nibaw

Post on 07-Jan-2016

17 views

Category:

Documents


0 download

DESCRIPTION

Object Oriented Design. Goals. Feedback on The Sims How to make an object Working on Final Project. CS Dept. Announcement. - PowerPoint PPT Presentation

TRANSCRIPT

  • Object Oriented Design

  • GoalsFeedback on The SimsHow to make an objectWorking on Final Project

  • CS Dept. AnnouncementThe newly-formed Computer Science Undergraduate Advisory Committee is holding an organizational meeting on Thursday, Nov 14, at 730 pm in ECCS 128 (The L3D Lab/ Fishbowl). All undergrads are invited... the Committee will represent undergrads and their interests to help the department make wise decisions about improvements in facilities, advising and programs. Undergrads from all classes (fresh-senior-fifth year) are needed to participate!

  • Feedback for The SimsGreat SimulationsSome problems with documentationGraded liberallySequence diagramsNeed to capture goals, and intensionsDescribe interactionFred is hungry: gets to refrigeratorTakes out some food (less food now)Fred is happy again

  • Example state chartFlower goalsidleFoodseekingEntertainmentseekingBedseeking?Getting hungryHunger satisfiedGetting tiredSleep satisfiedGetting boredNo longer bored

  • How to make sprites and backgroundsSprite game with pseudo 3D objectsUse Bryce to make real 3D objectsExport as imageImport image in Photoshop and export as .png with transparencyExample: Asteroid FieldSprites can be use as Billboards in 3D games to reduce rendering timeA billboard is a 2D object that will always face camera

  • How to make low polygon count objectsDraw picture or get scans of objectPolygonize object manuallyGenerate list of coordinates (triangle fan)Generate textures and compute texture coordinatesCreate lists of glTexCoord2f ( 0.0f, 0.0f); glVertex3f(-1.0f, -1.0f, 1.0f); Example: Car

  • Project group workDetermine the set of objects used for your game (foreground and background)Assign one object to each group memberStart to sketch objectI am happy to prototype some image/texture using Photoshop or Bryce

  • Starting point for homeworkUse Solid Objects example (lesson 5) from NeHe tutorials to fill in object display methods: http://agentsheets.com/courses/csci4448/projects/gl4java/SolidObjects.zip

  • Preview of Nov. 19Guest lecture by Tammy SumnerWork on scenariosGame storyboardsYou need to complete work described in work package in preparation

  • Homework (revised)PROJECT:Make one objectUse Game Engine: http://schenkc.freeshell.org/classes/csci4448/contra/files/ Each team member could make different object part of final projectApply TexturesTEST applet (local and over network)Email URL to Alex & AndriDue: November 19READING: Sumner workpackageOpenGL Red book chapter 9: Texture Mappinghttp://fly.cc.fer.hr/~unreal/theredbook/Due: November 19