1 / 12

Newton’s cradle

Newton’s cradle. An OpenGL Application. García Tomillo , Javier Hijarrubia Bernal , Luis. Cadenas Quijano, Patricia Cotrina Fernández , Manuel. Introduction. Newton’s Cradle Energy conservation law Conservation of momentum Open GL over Java ( J O GL) Different modes

hayley-hill
Télécharger la présentation

Newton’s cradle

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. Newton’s cradle An OpenGL Application García Tomillo, Javier Hijarrubia Bernal, Luis Cadenas Quijano, Patricia Cotrina Fernández, Manuel

  2. Introduction • Newton’sCradle • Energy conservation law • Conservation of momentum • Open GL over Java (JOGL) • Differentmodes • Movement • Appearance • Number of balls • Camera movement and balldrag

  3. Architecture • JavaFormwith a GLJPANEL • Objectoriented • 1 Classforeachissue • All the conditional sentences in mode change • Display Method as simple as possible

  4. Movement • Simulatedbyanglecalculations • Two movement modes • Linear • Cuadratic • Friction • Speed

  5. Userinteraction • Camera movementbykeys • Characteristics by menu • Ball dragging with mouse • Change number of balls • Help window provided

  6. The world • Skybox • Huge cube with textures • Choosable by user in menu • Limits the scene • OBJ • External file (.OBJ) • Cradle and table

  7. Materials and Textures • Every object has material • Only ball material can be changed • Textures • Cradle and desk • Skybox • Balls (some modes)

  8. Features • Transparency • Material light emission • Moving sun • Shaders • Vibration • Colorize

  9. Otherfeatures • Sound • Different for each mode • Text • Rendered with GLUT

  10. Demo!

  11. Conclusions • Acquired the knowledge required • Takes advantage of the different capabilities usually used in an interactive multimedia system • Exploiting JOGL capabilities almost to the limit

  12. Questions?

More Related