html5-img
1 / 15

3D Virtual Campus

3D Virtual Campus. Michael Morris. Introduction. Graphics were my first interest This topic was an obvious choice. 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.

meryl
Télécharger la présentation

3D Virtual Campus

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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)!

More Related