SlideShare a Scribd company logo
Project:
Play 360 Videos in Unity
By Shanyuan Teng
https://github.com/tanyuan
http://tengshanyuan.com/
Basic Idea Sphere: 360 Video
Camera
Install Unity
Please note that different versions of Unity are not compatible. You should
export/import packages (.unitypackages) for cross versions. Export as packages
before updating your Unity.
For this example: 5.3.4f1 Personal
Create a project
Hierarchy
GameObjects
Inspector
GameObject
Components
Assets
Files
Unity is a 3D programming environment
Save the scene! (360Video.unity)
Unity might crash at any time so please Ctrl + S / Cmd + S frequently.
1. Place the main camera to the origin (0, 0, 0)
2. Create a big sphere called VideoSphere that
surrounds the camera
Unity default texture can only be seen
from outside, so we need a custom
shader to make inside texture visible.
A material contains a texture (what to render) and a shader
(how to render)
3. Create a folder Materials and create a material
(360Video)
Drag material 360Video to Inspector of VideoSphere
4. Create a folder Shaders and create a shader
(InsideVisible)
Double click to edit. Replace the code from the repo.
Drag InsideVisible to material of VideoSphere
5. Create a folder Videos, drag the video inside, and
drag it to the material as texture.
It might take a while importing videos to Assets. (even 10+ min)
Now we need to tell Unity to play the
video texture.
We use the built-in MovieTexture.
6. Create an empty GameObject and name it
VideoPlayback
Add a script VideoPlayback.cs to VideoPlayback
Add Component > Create a C Sharp script > Edit Script
Paste the code from the repo.
6. Drag VideoSphere to Sphere
Every public member will appear in Inspector.
7. Click play!
You can live adjust Main Camera Position and Rotation to find other Pokémon.
Any adjustment in Play mode will be lost.
Write down the value if you need to save for later use.
8. Play sound
Add Component > Audio Source > select Audio Clip as the same with the video
Stream from 360 camera
Ricoh Theta S as an example
1. Switch to LIVE mode on Theta S
While holding the camera icon button, press power button to go to LIVE stream
mode. Then connect it to computer via USB.
2. Install RICOH THETA UVC Blender (Mac, Win)
Richo Theta S captures dual fisheye views, while this driver can blend the two
views into a single equirectangular view.
即時串流應用程式 https://theta360.com/ct/support/download/
RICOH THETA S - Dual Fisheye (native) THETA UVC Blender - Equirectangular (with driver)
2. Add a script (WebCamStream) to VideoPlayback
Drag the VideoSphere and specify Camera Number.
Device 0: RICOH THETA S
Device 1: THETA UVC Blender
Device 2: FaceTime HD Camera
Play once and check Unity console:
Uncheck
Check
Note: 360 Video on mobile devices
Unity built-in MovieTexture does not support mobile platforms (iOS, Android).
AVPro Video plugin ($450) provides good support for mobile and high resolution
videos.

More Related Content

What's hot

【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り
【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り
【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り
Unite2017Tokyo
 
Xbox one development kit 2 copy
Xbox one development kit 2   copyXbox one development kit 2   copy
Xbox one development kit 2 copy
rojizo frio
 
Xbox
XboxXbox
Xbox one development kit 2 copy
Xbox one development kit 2   copyXbox one development kit 2   copy
Xbox one development kit 2 copy
rojizo frio
 
Xboxppt
XboxpptXboxppt
Xboxppt
rojizo frio
 
Sound effect 2 evidence
Sound effect 2 evidenceSound effect 2 evidence
Sound effect 2 evidence
Thomas_Giblin_16
 
Narration ppt 2007
Narration ppt 2007Narration ppt 2007
Narration ppt 2007
Khoa (K.A)
 
Ubuntu 10.04 Installation Guide
Ubuntu 10.04 Installation GuideUbuntu 10.04 Installation Guide
Ubuntu 10.04 Installation Guide
Ranjith Siji
 

What's hot (8)

【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り
【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り
【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り
 
Xbox one development kit 2 copy
Xbox one development kit 2   copyXbox one development kit 2   copy
Xbox one development kit 2 copy
 
Xbox
XboxXbox
Xbox
 
Xbox one development kit 2 copy
Xbox one development kit 2   copyXbox one development kit 2   copy
Xbox one development kit 2 copy
 
Xboxppt
XboxpptXboxppt
Xboxppt
 
Sound effect 2 evidence
Sound effect 2 evidenceSound effect 2 evidence
Sound effect 2 evidence
 
Narration ppt 2007
Narration ppt 2007Narration ppt 2007
Narration ppt 2007
 
Ubuntu 10.04 Installation Guide
Ubuntu 10.04 Installation GuideUbuntu 10.04 Installation Guide
Ubuntu 10.04 Installation Guide
 

Viewers also liked

RICOH THETA Meetup presentation Feb 28 2017
RICOH THETA Meetup presentation Feb 28 2017RICOH THETA Meetup presentation Feb 28 2017
RICOH THETA Meetup presentation Feb 28 2017
THETA Unofficial Guide
 
InstaVR - RICOH THETA Meetup presentation Feb 28 2017
InstaVR - RICOH THETA Meetup presentation Feb 28 2017InstaVR - RICOH THETA Meetup presentation Feb 28 2017
InstaVR - RICOH THETA Meetup presentation Feb 28 2017
THETA Unofficial Guide
 
Hdr Panoramic Photography
Hdr Panoramic PhotographyHdr Panoramic Photography
Hdr Panoramic Photography
David Morris
 
My theta experience
My theta experienceMy theta experience
My theta experience
Masahiro Kisono
 
CS 354 Project 2 and Compression
CS 354 Project 2 and CompressionCS 354 Project 2 and Compression
CS 354 Project 2 and Compression
Mark Kilgard
 
An Introduction to Writing Custom Unity Shaders!
An Introduction to Writing  Custom Unity Shaders!An Introduction to Writing  Custom Unity Shaders!
An Introduction to Writing Custom Unity Shaders!
DevGAMM Conference
 
Shader model 5 0 and compute shader
Shader model 5 0 and compute shaderShader model 5 0 and compute shader
Shader model 5 0 and compute shader
zaywalker
 
Shader Programming With Unity
Shader Programming With UnityShader Programming With Unity
Shader Programming With Unity
Mindstorm Studios
 
Geometry Shader-based Bump Mapping Setup
Geometry Shader-based Bump Mapping SetupGeometry Shader-based Bump Mapping Setup
Geometry Shader-based Bump Mapping Setup
Mark Kilgard
 
Game Programming 12 - Shaders
Game Programming 12 - ShadersGame Programming 12 - Shaders
Game Programming 12 - Shaders
Nick Pruehs
 
Shaders - Claudia Doppioslash - Unity With the Best
Shaders - Claudia Doppioslash - Unity With the BestShaders - Claudia Doppioslash - Unity With the Best
Shaders - Claudia Doppioslash - Unity With the Best
BeMyApp
 
Optimizing unity games (Google IO 2014)
Optimizing unity games (Google IO 2014)Optimizing unity games (Google IO 2014)
Optimizing unity games (Google IO 2014)
Alexander Dolbilov
 
Vidéo 360°, nouvel outil d'engagement pour les marques ?
Vidéo 360°, nouvel outil d'engagement pour les marques ? Vidéo 360°, nouvel outil d'engagement pour les marques ?
Vidéo 360°, nouvel outil d'engagement pour les marques ?
Vanksen
 
How to Podcast The Ultimate Guide to Podcasting by: John Lee Dumas
How to Podcast The Ultimate Guide to Podcasting by: John Lee DumasHow to Podcast The Ultimate Guide to Podcasting by: John Lee Dumas
How to Podcast The Ultimate Guide to Podcasting by: John Lee Dumas
John Dumas
 
Installations
InstallationsInstallations
Podcasting In Education
Podcasting In EducationPodcasting In Education
Podcasting In Education
Duarte Velez Grilo
 
RICOH THETA x IoT Developers Contest : Cloud API Seminar (2nd installation)
RICOH THETA x IoT Developers Contest : Cloud API Seminar (2nd installation)RICOH THETA x IoT Developers Contest : Cloud API Seminar (2nd installation)
RICOH THETA x IoT Developers Contest : Cloud API Seminar (2nd installation)
contest-theta360
 
CSR and the new 2015 environment law in China (abstract) - Maverlinn
CSR and the new 2015 environment law in China (abstract) - MaverlinnCSR and the new 2015 environment law in China (abstract) - Maverlinn
CSR and the new 2015 environment law in China (abstract) - Maverlinn
Olivier Coispeau
 
THETA S による身代わりテレビの実装(完結編)
THETA S による身代わりテレビの実装(完結編)THETA S による身代わりテレビの実装(完結編)
THETA S による身代わりテレビの実装(完結編)
KatsuyaENDOH
 
Presentation to GPs at Yorkshire Clinic May 2016
Presentation to GPs at Yorkshire Clinic May 2016Presentation to GPs at Yorkshire Clinic May 2016
Presentation to GPs at Yorkshire Clinic May 2016
Sanjay Verma
 

Viewers also liked (20)

RICOH THETA Meetup presentation Feb 28 2017
RICOH THETA Meetup presentation Feb 28 2017RICOH THETA Meetup presentation Feb 28 2017
RICOH THETA Meetup presentation Feb 28 2017
 
InstaVR - RICOH THETA Meetup presentation Feb 28 2017
InstaVR - RICOH THETA Meetup presentation Feb 28 2017InstaVR - RICOH THETA Meetup presentation Feb 28 2017
InstaVR - RICOH THETA Meetup presentation Feb 28 2017
 
Hdr Panoramic Photography
Hdr Panoramic PhotographyHdr Panoramic Photography
Hdr Panoramic Photography
 
My theta experience
My theta experienceMy theta experience
My theta experience
 
CS 354 Project 2 and Compression
CS 354 Project 2 and CompressionCS 354 Project 2 and Compression
CS 354 Project 2 and Compression
 
An Introduction to Writing Custom Unity Shaders!
An Introduction to Writing  Custom Unity Shaders!An Introduction to Writing  Custom Unity Shaders!
An Introduction to Writing Custom Unity Shaders!
 
Shader model 5 0 and compute shader
Shader model 5 0 and compute shaderShader model 5 0 and compute shader
Shader model 5 0 and compute shader
 
Shader Programming With Unity
Shader Programming With UnityShader Programming With Unity
Shader Programming With Unity
 
Geometry Shader-based Bump Mapping Setup
Geometry Shader-based Bump Mapping SetupGeometry Shader-based Bump Mapping Setup
Geometry Shader-based Bump Mapping Setup
 
Game Programming 12 - Shaders
Game Programming 12 - ShadersGame Programming 12 - Shaders
Game Programming 12 - Shaders
 
Shaders - Claudia Doppioslash - Unity With the Best
Shaders - Claudia Doppioslash - Unity With the BestShaders - Claudia Doppioslash - Unity With the Best
Shaders - Claudia Doppioslash - Unity With the Best
 
Optimizing unity games (Google IO 2014)
Optimizing unity games (Google IO 2014)Optimizing unity games (Google IO 2014)
Optimizing unity games (Google IO 2014)
 
Vidéo 360°, nouvel outil d'engagement pour les marques ?
Vidéo 360°, nouvel outil d'engagement pour les marques ? Vidéo 360°, nouvel outil d'engagement pour les marques ?
Vidéo 360°, nouvel outil d'engagement pour les marques ?
 
How to Podcast The Ultimate Guide to Podcasting by: John Lee Dumas
How to Podcast The Ultimate Guide to Podcasting by: John Lee DumasHow to Podcast The Ultimate Guide to Podcasting by: John Lee Dumas
How to Podcast The Ultimate Guide to Podcasting by: John Lee Dumas
 
Installations
InstallationsInstallations
Installations
 
Podcasting In Education
Podcasting In EducationPodcasting In Education
Podcasting In Education
 
RICOH THETA x IoT Developers Contest : Cloud API Seminar (2nd installation)
RICOH THETA x IoT Developers Contest : Cloud API Seminar (2nd installation)RICOH THETA x IoT Developers Contest : Cloud API Seminar (2nd installation)
RICOH THETA x IoT Developers Contest : Cloud API Seminar (2nd installation)
 
CSR and the new 2015 environment law in China (abstract) - Maverlinn
CSR and the new 2015 environment law in China (abstract) - MaverlinnCSR and the new 2015 environment law in China (abstract) - Maverlinn
CSR and the new 2015 environment law in China (abstract) - Maverlinn
 
THETA S による身代わりテレビの実装(完結編)
THETA S による身代わりテレビの実装(完結編)THETA S による身代わりテレビの実装(完結編)
THETA S による身代わりテレビの実装(完結編)
 
Presentation to GPs at Yorkshire Clinic May 2016
Presentation to GPs at Yorkshire Clinic May 2016Presentation to GPs at Yorkshire Clinic May 2016
Presentation to GPs at Yorkshire Clinic May 2016
 

Similar to Play RICOH THETA 360 Videos in Unity Shanyuan Teng

Qditor user guide for windows pc
Qditor user guide for windows pcQditor user guide for windows pc
Qditor user guide for windows pc
Qditor Video Editor
 
Game Programming I - Introduction
Game Programming I - IntroductionGame Programming I - Introduction
Game Programming I - Introduction
Francis Seriña
 
The Basics of Unity - The Game Engine
The Basics of Unity - The Game EngineThe Basics of Unity - The Game Engine
The Basics of Unity - The Game Engine
OrisysIndia
 
Free video editing software
Free video editing softwareFree video editing software
Free video editing software
SmartPixel
 
Qditor pip user guide for windows pc
Qditor pip user guide for windows pcQditor pip user guide for windows pc
Qditor pip user guide for windows pc
Qditor Video Editor
 
Presentación Unity
Presentación UnityPresentación Unity
Presentación Unity
Laura Milena Parra Navarro
 
Unity 3D
Unity 3DUnity 3D
Unity 3D
gema123
 
unity gaming programing basics for students ppt
unity gaming programing basics for students pptunity gaming programing basics for students ppt
unity gaming programing basics for students ppt
KathiriyaParthiv
 
Streaming Video into Second Life
Streaming Video into Second LifeStreaming Video into Second Life
Streaming Video into Second Life
Videoguy
 
Readmey
ReadmeyReadmey
Readmey
Kim Mi
 
Readme
ReadmeReadme
Readme
Sumit Mishra
 
Non interactive materials
Non interactive materialsNon interactive materials
Non interactive materials
u082929
 
Tenvis IPROBOT 3 English User Manual
Tenvis IPROBOT 3 English User ManualTenvis IPROBOT 3 English User Manual
Tenvis IPROBOT 3 English User Manual
SecurityCameraTalk
 
adobe premiere pro.ppt
adobe premiere pro.pptadobe premiere pro.ppt
adobe premiere pro.ppt
VeronicGomez
 
【Unite Tokyo 2018】“100 Must-see Assets for 2018” by Virtual YouTuber, Cyber G...
【Unite Tokyo 2018】“100 Must-see Assets for 2018” by Virtual YouTuber, Cyber G...【Unite Tokyo 2018】“100 Must-see Assets for 2018” by Virtual YouTuber, Cyber G...
【Unite Tokyo 2018】“100 Must-see Assets for 2018” by Virtual YouTuber, Cyber G...
Unity Technologies Japan K.K.
 
JS Days Mobile Meow
JS Days Mobile MeowJS Days Mobile Meow
JS Days Mobile Meow
Greg Schechter
 
Manual after effects us
Manual after effects usManual after effects us
Manual after effects us
miacademy
 
Windows Movie Maker 2010
Windows Movie Maker 2010Windows Movie Maker 2010
Windows Movie Maker 2010
Ellery July
 
Moviemaker 09-22-2010 2
Moviemaker 09-22-2010 2Moviemaker 09-22-2010 2
Moviemaker 09-22-2010 2
jose alvites
 
Cross platform game development
Cross platform game developmentCross platform game development
Cross platform game development
Jerel Hass
 

Similar to Play RICOH THETA 360 Videos in Unity Shanyuan Teng (20)

Qditor user guide for windows pc
Qditor user guide for windows pcQditor user guide for windows pc
Qditor user guide for windows pc
 
Game Programming I - Introduction
Game Programming I - IntroductionGame Programming I - Introduction
Game Programming I - Introduction
 
The Basics of Unity - The Game Engine
The Basics of Unity - The Game EngineThe Basics of Unity - The Game Engine
The Basics of Unity - The Game Engine
 
Free video editing software
Free video editing softwareFree video editing software
Free video editing software
 
Qditor pip user guide for windows pc
Qditor pip user guide for windows pcQditor pip user guide for windows pc
Qditor pip user guide for windows pc
 
Presentación Unity
Presentación UnityPresentación Unity
Presentación Unity
 
Unity 3D
Unity 3DUnity 3D
Unity 3D
 
unity gaming programing basics for students ppt
unity gaming programing basics for students pptunity gaming programing basics for students ppt
unity gaming programing basics for students ppt
 
Streaming Video into Second Life
Streaming Video into Second LifeStreaming Video into Second Life
Streaming Video into Second Life
 
Readmey
ReadmeyReadmey
Readmey
 
Readme
ReadmeReadme
Readme
 
Non interactive materials
Non interactive materialsNon interactive materials
Non interactive materials
 
Tenvis IPROBOT 3 English User Manual
Tenvis IPROBOT 3 English User ManualTenvis IPROBOT 3 English User Manual
Tenvis IPROBOT 3 English User Manual
 
adobe premiere pro.ppt
adobe premiere pro.pptadobe premiere pro.ppt
adobe premiere pro.ppt
 
【Unite Tokyo 2018】“100 Must-see Assets for 2018” by Virtual YouTuber, Cyber G...
【Unite Tokyo 2018】“100 Must-see Assets for 2018” by Virtual YouTuber, Cyber G...【Unite Tokyo 2018】“100 Must-see Assets for 2018” by Virtual YouTuber, Cyber G...
【Unite Tokyo 2018】“100 Must-see Assets for 2018” by Virtual YouTuber, Cyber G...
 
JS Days Mobile Meow
JS Days Mobile MeowJS Days Mobile Meow
JS Days Mobile Meow
 
Manual after effects us
Manual after effects usManual after effects us
Manual after effects us
 
Windows Movie Maker 2010
Windows Movie Maker 2010Windows Movie Maker 2010
Windows Movie Maker 2010
 
Moviemaker 09-22-2010 2
Moviemaker 09-22-2010 2Moviemaker 09-22-2010 2
Moviemaker 09-22-2010 2
 
Cross platform game development
Cross platform game developmentCross platform game development
Cross platform game development
 

Recently uploaded

Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
saastr
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 

Recently uploaded (20)

Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 

Play RICOH THETA 360 Videos in Unity Shanyuan Teng

  • 1. Project: Play 360 Videos in Unity By Shanyuan Teng https://github.com/tanyuan http://tengshanyuan.com/
  • 2. Basic Idea Sphere: 360 Video Camera
  • 3. Install Unity Please note that different versions of Unity are not compatible. You should export/import packages (.unitypackages) for cross versions. Export as packages before updating your Unity. For this example: 5.3.4f1 Personal
  • 6. Save the scene! (360Video.unity) Unity might crash at any time so please Ctrl + S / Cmd + S frequently.
  • 7. 1. Place the main camera to the origin (0, 0, 0)
  • 8. 2. Create a big sphere called VideoSphere that surrounds the camera
  • 9. Unity default texture can only be seen from outside, so we need a custom shader to make inside texture visible. A material contains a texture (what to render) and a shader (how to render)
  • 10. 3. Create a folder Materials and create a material (360Video)
  • 11. Drag material 360Video to Inspector of VideoSphere
  • 12. 4. Create a folder Shaders and create a shader (InsideVisible)
  • 13. Double click to edit. Replace the code from the repo.
  • 14. Drag InsideVisible to material of VideoSphere
  • 15. 5. Create a folder Videos, drag the video inside, and drag it to the material as texture. It might take a while importing videos to Assets. (even 10+ min)
  • 16. Now we need to tell Unity to play the video texture. We use the built-in MovieTexture.
  • 17. 6. Create an empty GameObject and name it VideoPlayback
  • 18. Add a script VideoPlayback.cs to VideoPlayback Add Component > Create a C Sharp script > Edit Script
  • 19. Paste the code from the repo.
  • 20. 6. Drag VideoSphere to Sphere Every public member will appear in Inspector.
  • 21. 7. Click play! You can live adjust Main Camera Position and Rotation to find other Pokémon.
  • 22. Any adjustment in Play mode will be lost. Write down the value if you need to save for later use.
  • 23. 8. Play sound Add Component > Audio Source > select Audio Clip as the same with the video
  • 24. Stream from 360 camera Ricoh Theta S as an example
  • 25. 1. Switch to LIVE mode on Theta S While holding the camera icon button, press power button to go to LIVE stream mode. Then connect it to computer via USB.
  • 26. 2. Install RICOH THETA UVC Blender (Mac, Win) Richo Theta S captures dual fisheye views, while this driver can blend the two views into a single equirectangular view. 即時串流應用程式 https://theta360.com/ct/support/download/ RICOH THETA S - Dual Fisheye (native) THETA UVC Blender - Equirectangular (with driver)
  • 27. 2. Add a script (WebCamStream) to VideoPlayback Drag the VideoSphere and specify Camera Number. Device 0: RICOH THETA S Device 1: THETA UVC Blender Device 2: FaceTime HD Camera Play once and check Unity console: Uncheck Check
  • 28. Note: 360 Video on mobile devices Unity built-in MovieTexture does not support mobile platforms (iOS, Android). AVPro Video plugin ($450) provides good support for mobile and high resolution videos.