SlideShare a Scribd company logo
1 of 15
WAVE RACE PROJECT
Interactive Graphics 2016
 Coratti Stefano
 1624508
 coratti.s86@gmail.com
Interactive Graphics 2016
SAPIENZA - DIAG
Interactive Graphics 2016
SAPIENZA - DIAG
• WAVE RACE 64
The original video game by NINTENDO
INTRODUCTION TO BabylonJS
01
Scene
• cameras
• lights
• basic elements
• materials
• gravity & collisions
• animations
• environment
• particles
Interactive Graphics 2016
SAPIENZA - DIAG
02
• Basic Objects
In my project I use basic objects, provided by Babylon.js
like spheres, boxes, cylinder, torus, etc…
Interactive Graphics 2016
SAPIENZA - DIAG
03
• Basic Objects
In my project I use basic objects, provided by Babylon.js
like spheres, boxes, cylinder, torus, etc…
Interactive Graphics 2016
SAPIENZA - DIAG
04
boxBase
scooterFace driverHelmet scooterChassis scooterFootboard
driverBodyUP
driverBodyDOWN driverUpperArmDX
scooterSteering
driverUpperArmSX
driverLowerArmDXdriverLowerArmSX
• Hierarchical
Modeling complex connected structures with hierarchical structure,
made up of multiple simpler objects.
Interactive Graphics 2016
SAPIENZA - DIAG
05
• Material
For each object it is possible to define a Material, that allow to
assign colors, textures and lights
Interactive Graphics 2016
SAPIENZA - DIAG
06
• Ambient Light
Hemispheric light is used to simulate realistic ambient environment light,
defined by a direction to the sky, that is often straight upward (0, 1, 0)
• Directional Light
The light is emitted from everywhere...
toward a specific direction, and has an infinite range.
 Soft Light
Interactive Graphics 2016
SAPIENZA - DIAG
07
• FreeCamera
You can move around the scene with mouse and cursor keys
Interactive Graphics 2016
SAPIENZA - DIAG
08
• Interaction
It is possible to drive the scooter over the sea,
using the keyboard as controller
Pressing the key W the scooter
is translated along the Z axis,
in according to its local coordinates
Pressing the keys A or D the scooter is rotated along the Y axis,
and there is a little rotation along Z axis to simulate inclination,
in according to its local coordinates
Pressing the key S the scooter is boosted,
in this case the scooter is rotated along the X axis
in according to its local coordinates
Pos_Driver
Interactive Graphics 2016
SAPIENZA - DIAG
09
• Mesh Collision
When meshes are in contact with each other ,
for each frame the engine check if meshes collide
bounding box
around the objects
sphere meshes
for the driver
 approximation
Interactive Graphics 2016
SAPIENZA - DIAG
10
• Idle Scooter Animations
This animation is used to simulate the oscillatory
behavior of the scooter on the sea
• Acrobatic Animations
This animation is used to simulate an acrobatic behavior
Interactive Graphics 2016
SAPIENZA - DIAG
11
• Bump Mapping
Is a technique for simulating bumps and wrinkles on the surface of an object,
this is achieved by perturbing the surface normals
and using them during lighting calculations.
• Height Mapping
Allow to model a surface like terrain easily,
is a raster image used to store surface height data,
contains one channel interpreted as a height from the floor of a surface
GO TO SIMULATION
Interactive Graphics 2016
SAPIENZA - DIAG 12
Interactive Graphics 2016
SAPIENZA - DIAG
• Thanks for the Attention
Any questions ?

More Related Content

Recently uploaded

electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
benjamincojr
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
Kira Dess
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
rahulmanepalli02
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
BalamuruganV28
 

Recently uploaded (20)

Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUUNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Wave race project

  • 1. WAVE RACE PROJECT Interactive Graphics 2016  Coratti Stefano  1624508  coratti.s86@gmail.com Interactive Graphics 2016 SAPIENZA - DIAG
  • 2. Interactive Graphics 2016 SAPIENZA - DIAG • WAVE RACE 64 The original video game by NINTENDO
  • 3. INTRODUCTION TO BabylonJS 01 Scene • cameras • lights • basic elements • materials • gravity & collisions • animations • environment • particles Interactive Graphics 2016 SAPIENZA - DIAG
  • 4. 02 • Basic Objects In my project I use basic objects, provided by Babylon.js like spheres, boxes, cylinder, torus, etc… Interactive Graphics 2016 SAPIENZA - DIAG
  • 5. 03 • Basic Objects In my project I use basic objects, provided by Babylon.js like spheres, boxes, cylinder, torus, etc… Interactive Graphics 2016 SAPIENZA - DIAG
  • 6. 04 boxBase scooterFace driverHelmet scooterChassis scooterFootboard driverBodyUP driverBodyDOWN driverUpperArmDX scooterSteering driverUpperArmSX driverLowerArmDXdriverLowerArmSX • Hierarchical Modeling complex connected structures with hierarchical structure, made up of multiple simpler objects. Interactive Graphics 2016 SAPIENZA - DIAG
  • 7. 05 • Material For each object it is possible to define a Material, that allow to assign colors, textures and lights Interactive Graphics 2016 SAPIENZA - DIAG
  • 8. 06 • Ambient Light Hemispheric light is used to simulate realistic ambient environment light, defined by a direction to the sky, that is often straight upward (0, 1, 0) • Directional Light The light is emitted from everywhere... toward a specific direction, and has an infinite range.  Soft Light Interactive Graphics 2016 SAPIENZA - DIAG
  • 9. 07 • FreeCamera You can move around the scene with mouse and cursor keys Interactive Graphics 2016 SAPIENZA - DIAG
  • 10. 08 • Interaction It is possible to drive the scooter over the sea, using the keyboard as controller Pressing the key W the scooter is translated along the Z axis, in according to its local coordinates Pressing the keys A or D the scooter is rotated along the Y axis, and there is a little rotation along Z axis to simulate inclination, in according to its local coordinates Pressing the key S the scooter is boosted, in this case the scooter is rotated along the X axis in according to its local coordinates Pos_Driver Interactive Graphics 2016 SAPIENZA - DIAG
  • 11. 09 • Mesh Collision When meshes are in contact with each other , for each frame the engine check if meshes collide bounding box around the objects sphere meshes for the driver  approximation Interactive Graphics 2016 SAPIENZA - DIAG
  • 12. 10 • Idle Scooter Animations This animation is used to simulate the oscillatory behavior of the scooter on the sea • Acrobatic Animations This animation is used to simulate an acrobatic behavior Interactive Graphics 2016 SAPIENZA - DIAG
  • 13. 11 • Bump Mapping Is a technique for simulating bumps and wrinkles on the surface of an object, this is achieved by perturbing the surface normals and using them during lighting calculations. • Height Mapping Allow to model a surface like terrain easily, is a raster image used to store surface height data, contains one channel interpreted as a height from the floor of a surface
  • 14. GO TO SIMULATION Interactive Graphics 2016 SAPIENZA - DIAG 12
  • 15. Interactive Graphics 2016 SAPIENZA - DIAG • Thanks for the Attention Any questions ?