SlideShare a Scribd company logo
SNAP LENS STUDIO
Tutorial 2
Mark Billinghurst
mark.billinghurst@auckland.ac.nz
ADDING SCRIPTS
Using Existing Scripts
• Goal: Play a sound when mouth opens
• Can use existing script for this
Method
1. Load Visual Scripting template
2. Find ideal script
3. Export script
4. Load into project
5. Set parameters
6. Done
Comp 4010 2021 Snap Tutorial 2
Select Desired Visual Script
• Select Tap to Play Sound Visual Script
Export Script
• Right click on Visual Script
• Select Export
• Save to desired location
• Creates a .lsscript file
Load Into Project
• Open Project
• Drag script into resources
• Drag in other resources needed
• Add script to Manager Object
• Add resource to input form
Add MouthOpenInput Event
• Open Tap to Play Script
• Add MouthOpenEvent node
• Wire it to NullCheck node
Demo
• Open mouth to play sound..
AR OVERLAY
Snap AR Overlay
• Several methods for AR overlay
• Face tracking
• Body tracking
• Marker tracking
• World tracking
Example: Simple Marker Tracking
•Key Steps
• 1. Select image markers
• 2. Add marker tracking
• 3. Add lights to markers
• 4. Add objects to markers
• 5. Add behaviours (optional)
• 6. Done
1. Image Tracking Markers
• Find images that have good contrast, clarity (e.g. Vuforia markers)
Add Images to Project
• Create Marker folder
• Drag images into resource folder
• Rename images (if needed)
2. Add marker tracking
• Add image tracking object to scene
• Select image tracking option
• Rename marker
Add second tracking marker
• Add second marker
• Attach to second image
• Rename marker
3. Add Lights
• Move the existing lights under marker
• Attaches to marker
• Do for both markers
4. Add Objects to Markers
• Add sphere and box objects
• Drag under marker object
• Attaching to the marker
• Create material properties
• Add materials to objects
6. Done
Snap Lens Templates
Marker Overlay Template
• Click video and guide for
more information
Comp 4010 2021 Snap Tutorial 2
Example: Surface Tracking
•Key Steps
1. Attach surface tracker to camera
2. Create scene object
3. Add shadows
4. Done
Attach Surface Tracker to Camera
• Select camera
• Hit + on inspector
• Select tracking
• Add device tracking
• Set Tracking Mode to Surface
• Select Use Native AR
Create Scene Object
• Add new scene object to scene
• Add new sphere to scene
• Drag under scene object
• Add PBR material to resource
• Set colour, add to sphere
• Position sphere above ground
Add Shadows
• Select sphere
• Set Shadow mode to Caster
• Set Shadow colour
• Add shadow plane to scene
• Place under sphere
• Set Shadow mode to Receiver
• Move plane to under sphere in 3D scene
• Select Light
• Check Shadows box
• Select Shadow colour
Test
• Tap to place sphere on plane
• Move around to see shadows
Look Around – World Tracking
Set camera to Rotation tracking
- Add Device Tracking to Camera
Comp 4010 2021 Snap Tutorial 2
Setting up the Camera
• Select camera
• Add device tracking
• Set Tracking Mode to rotation
Demo
• Rotate phone to see models
Surface Fixed Portal
• Use Portal Template
• Place object in real world
• Walk into space when close
https://www.youtube.com/watch?v=KxTXiFrzSjw
Demo
Comp 4010 2021 Snap Tutorial 2
Questions?
www.empathiccomputing.org
@marknb00
mark.billinghurst@auckland.ac.nz

More Related Content

What's hot (20)

PDF
2022 COMP4010 Lecture3: AR Technology
Mark Billinghurst
 
PDF
2022 COMP4010 Lecture 6: Designing AR Systems
Mark Billinghurst
 
PDF
2022 COMP4010 Lecture2: Perception
Mark Billinghurst
 
PDF
Comp4010 2021 Lecture2-Perception
Mark Billinghurst
 
PDF
Comp 4010 2021 Lecture1-Introduction to XR
Mark Billinghurst
 
PDF
Comp4010 Lecture10 VR Interface Design
Mark Billinghurst
 
PDF
2022 COMP 4010 Lecture 7: Introduction to VR
Mark Billinghurst
 
PDF
2022 COMP4010 Lecture4: AR Interaction
Mark Billinghurst
 
PDF
ISS2022 Keynote
Mark Billinghurst
 
PDF
Evaluation Methods for Social XR Experiences
Mark Billinghurst
 
PDF
2022 COMP4010 Lecture1: Introduction to XR
Mark Billinghurst
 
PDF
Talk to Me: Using Virtual Avatars to Improve Remote Collaboration
Mark Billinghurst
 
PDF
Comp4010 Lecture8 Introduction to VR
Mark Billinghurst
 
PDF
2022 COMP4010 Lecture5: AR Prototyping
Mark Billinghurst
 
PDF
Advanced Methods for User Evaluation in AR/VR Studies
Mark Billinghurst
 
PDF
COMP 4010 - Lecture 7: Introduction to Augmented Reality
Mark Billinghurst
 
PDF
Comp4010 lecture11 VR Applications
Mark Billinghurst
 
PDF
Research Directions in Transitional Interfaces
Mark Billinghurst
 
PDF
Comp4010 Lecture12 Research Directions
Mark Billinghurst
 
PDF
Comp4010 Lecture4 AR Tracking and Interaction
Mark Billinghurst
 
2022 COMP4010 Lecture3: AR Technology
Mark Billinghurst
 
2022 COMP4010 Lecture 6: Designing AR Systems
Mark Billinghurst
 
2022 COMP4010 Lecture2: Perception
Mark Billinghurst
 
Comp4010 2021 Lecture2-Perception
Mark Billinghurst
 
Comp 4010 2021 Lecture1-Introduction to XR
Mark Billinghurst
 
Comp4010 Lecture10 VR Interface Design
Mark Billinghurst
 
2022 COMP 4010 Lecture 7: Introduction to VR
Mark Billinghurst
 
2022 COMP4010 Lecture4: AR Interaction
Mark Billinghurst
 
ISS2022 Keynote
Mark Billinghurst
 
Evaluation Methods for Social XR Experiences
Mark Billinghurst
 
2022 COMP4010 Lecture1: Introduction to XR
Mark Billinghurst
 
Talk to Me: Using Virtual Avatars to Improve Remote Collaboration
Mark Billinghurst
 
Comp4010 Lecture8 Introduction to VR
Mark Billinghurst
 
2022 COMP4010 Lecture5: AR Prototyping
Mark Billinghurst
 
Advanced Methods for User Evaluation in AR/VR Studies
Mark Billinghurst
 
COMP 4010 - Lecture 7: Introduction to Augmented Reality
Mark Billinghurst
 
Comp4010 lecture11 VR Applications
Mark Billinghurst
 
Research Directions in Transitional Interfaces
Mark Billinghurst
 
Comp4010 Lecture12 Research Directions
Mark Billinghurst
 
Comp4010 Lecture4 AR Tracking and Interaction
Mark Billinghurst
 

Similar to Comp 4010 2021 Snap Tutorial 2 (20)

PDF
AR in Education
Mark Billinghurst
 
PDF
Mobile AR Tutorial
Mark Billinghurst
 
PDF
Mobile AR Lecture 10 - Research Directions
Mark Billinghurst
 
PDF
Developing AR and VR Experiences with Unity
Mark Billinghurst
 
PPTX
Augmented World Expo 2013 Mobile AR SDK Comparison and Tutorial
Patrick O'Shaughnessey
 
PDF
Augmented Reality: Beyond the Hype
Paul Coulton
 
PDF
COMP 4010 Lecture12 Research Directions in AR
Mark Billinghurst
 
PDF
2016 AR Summer School - Lecture 5
Mark Billinghurst
 
PDF
2013 Lecture 8: Mobile AR
Mark Billinghurst
 
PDF
Introduction to Adobe Aero 2023
Shalin Hai-Jew
 
PDF
ARmedia SDK: new Features and Capabilities
Graziano Terenzi
 
PDF
Ar smartphones
axiuluo
 
PDF
AR(mobas2012)s
Woontack Woo
 
PDF
SVR2011 Keynote
Mark Billinghurst
 
PPTX
Introduction to Zenitum's Vision based Mobile Augmented Reality Technology
DoubleMe, Inc.
 
KEY
What's my geometry?
guest936551b
 
PDF
2013 Lecture 5: AR Tools and Interaction
Mark Billinghurst
 
PDF
Build an AR app v2.0
Kumar Ahir
 
PDF
COMP 4010 - Lecture10: Mobile AR
Mark Billinghurst
 
PPTX
Reality As Your Next Build Target, Mobile AR, and the Future of Authoring
Unity Technologies
 
AR in Education
Mark Billinghurst
 
Mobile AR Tutorial
Mark Billinghurst
 
Mobile AR Lecture 10 - Research Directions
Mark Billinghurst
 
Developing AR and VR Experiences with Unity
Mark Billinghurst
 
Augmented World Expo 2013 Mobile AR SDK Comparison and Tutorial
Patrick O'Shaughnessey
 
Augmented Reality: Beyond the Hype
Paul Coulton
 
COMP 4010 Lecture12 Research Directions in AR
Mark Billinghurst
 
2016 AR Summer School - Lecture 5
Mark Billinghurst
 
2013 Lecture 8: Mobile AR
Mark Billinghurst
 
Introduction to Adobe Aero 2023
Shalin Hai-Jew
 
ARmedia SDK: new Features and Capabilities
Graziano Terenzi
 
Ar smartphones
axiuluo
 
AR(mobas2012)s
Woontack Woo
 
SVR2011 Keynote
Mark Billinghurst
 
Introduction to Zenitum's Vision based Mobile Augmented Reality Technology
DoubleMe, Inc.
 
What's my geometry?
guest936551b
 
2013 Lecture 5: AR Tools and Interaction
Mark Billinghurst
 
Build an AR app v2.0
Kumar Ahir
 
COMP 4010 - Lecture10: Mobile AR
Mark Billinghurst
 
Reality As Your Next Build Target, Mobile AR, and the Future of Authoring
Unity Technologies
 
Ad

More from Mark Billinghurst (20)

PDF
Rapid Prototyping for XR: Lecture 6 - AI for Prototyping and Research Directi...
Mark Billinghurst
 
PDF
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst
 
PDF
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Mark Billinghurst
 
PDF
Rapid Prototyping for XR: Lecture 3 - Video and Paper Prototyping
Mark Billinghurst
 
PDF
Rapid Prototyping for XR: Lecture 2 - Low Fidelity Prototyping.
Mark Billinghurst
 
PDF
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Mark Billinghurst
 
PDF
Research Directions in Heads-Up Computing
Mark Billinghurst
 
PDF
IVE 2024 Short Course - Lecture18- Hacking Emotions in VR Collaboration.
Mark Billinghurst
 
PDF
IVE 2024 Short Course - Lecture13 - Neurotechnology for Enhanced Interaction ...
Mark Billinghurst
 
PDF
IVE 2024 Short Course Lecture15 - Measuring Cybersickness
Mark Billinghurst
 
PDF
IVE 2024 Short Course - Lecture14 - Evaluation
Mark Billinghurst
 
PDF
IVE 2024 Short Course - Lecture12 - OpenVibe Tutorial
Mark Billinghurst
 
PDF
IVE 2024 Short Course Lecture10 - Multimodal Emotion Recognition in Conversat...
Mark Billinghurst
 
PDF
IVE 2024 Short Course Lecture 9 - Empathic Computing in VR
Mark Billinghurst
 
PDF
IVE 2024 Short Course - Lecture 8 - Electroencephalography (EEG) Basics
Mark Billinghurst
 
PDF
IVE 2024 Short Course - Lecture16- Cognixion Axon-R
Mark Billinghurst
 
PDF
IVE 2024 Short Course - Lecture 2 - Fundamentals of Perception
Mark Billinghurst
 
PDF
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
PDF
The Metaverse: Are We There Yet?
Mark Billinghurst
 
PDF
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
 
Rapid Prototyping for XR: Lecture 6 - AI for Prototyping and Research Directi...
Mark Billinghurst
 
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst
 
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Mark Billinghurst
 
Rapid Prototyping for XR: Lecture 3 - Video and Paper Prototyping
Mark Billinghurst
 
Rapid Prototyping for XR: Lecture 2 - Low Fidelity Prototyping.
Mark Billinghurst
 
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Mark Billinghurst
 
Research Directions in Heads-Up Computing
Mark Billinghurst
 
IVE 2024 Short Course - Lecture18- Hacking Emotions in VR Collaboration.
Mark Billinghurst
 
IVE 2024 Short Course - Lecture13 - Neurotechnology for Enhanced Interaction ...
Mark Billinghurst
 
IVE 2024 Short Course Lecture15 - Measuring Cybersickness
Mark Billinghurst
 
IVE 2024 Short Course - Lecture14 - Evaluation
Mark Billinghurst
 
IVE 2024 Short Course - Lecture12 - OpenVibe Tutorial
Mark Billinghurst
 
IVE 2024 Short Course Lecture10 - Multimodal Emotion Recognition in Conversat...
Mark Billinghurst
 
IVE 2024 Short Course Lecture 9 - Empathic Computing in VR
Mark Billinghurst
 
IVE 2024 Short Course - Lecture 8 - Electroencephalography (EEG) Basics
Mark Billinghurst
 
IVE 2024 Short Course - Lecture16- Cognixion Axon-R
Mark Billinghurst
 
IVE 2024 Short Course - Lecture 2 - Fundamentals of Perception
Mark Billinghurst
 
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
The Metaverse: Are We There Yet?
Mark Billinghurst
 
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
 
Ad

Recently uploaded (20)

PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PDF
Are there government-backed agri-software initiatives in Limerick.pdf
giselawagner2
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
PDF
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
PDF
Sustainable and comertially viable mining process.pdf
Avijit Kumar Roy
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
Are there government-backed agri-software initiatives in Limerick.pdf
giselawagner2
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
Top Managed Service Providers in Los Angeles
Captain IT
 
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
Sustainable and comertially viable mining process.pdf
Avijit Kumar Roy
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Français Patch Tuesday - Juillet
Ivanti
 

Comp 4010 2021 Snap Tutorial 2