Download
3d virtual campus n.
Skip this Video
Loading SlideShow in 5 Seconds..
3D Virtual Campus PowerPoint Presentation
Download Presentation
3D Virtual Campus

3D Virtual Campus

88 Vues Download Presentation
Télécharger la présentation

3D Virtual Campus

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. 3D Virtual Campus Michael Morris

  2. Introduction • Graphics were my first interest • This topic was an obvious choice

  3. Project Description • 3D environment using C++ and OpenGL • Using arrow keys, user can walk around and view the external features of the buildings on Westminster’s campus Look-at position Eye position

  4. Main Goal: Expandability • No realistic chance for complete product • Want others to be able to: • Add new buildings (campus center) • Simply add/modify properties • Add functionality

  5. Separates building data from code Simpler to understand Problems No standard Errors abound Unnecessary info Scene Description Language (SDL) • Were some nice things (transformation matrices) • In retrospect, better to create own rather than modify existing SDL

  6. Useful features • Perspective view • Plane class (for use in drawing grass) • Shading/Color • Overhead View

  7. Three Main Features • Motion • Building Class • Preventing view from going into buildings

  8. Motion • Forward/Backward • Left/Right Turns • Left/Right Strafe • Math involved • Standard methods • Trig and unit vectors Look-at position Eye position

  9. Building Class • Started with cube • Added way to display roof • Fenestration • How to display it • How to represent it

  10. Sample File

  11. Sample File 2

  12. q2 q1 z p2 eye position 1 x -1 1 p1 -1 Containing the View: Initial Idea

  13. z 1 eye position x -1 1 -1 new eye position Containing the View: New Idea

  14. Demo

  15. Future Plans • Identify individual buildings • Richer building description process • Add textures • Transporter (Beam me up, Scotty)!