Tutorial de Unity para trabajar con Cardboard VR en 2023

  Рет қаралды 6,395

Miguel Escalera

Miguel Escalera

10 ай бұрын

En este tutorial les mostraré cómo configurar un proyecto de Unity para soportar Google Cargboard y hacer una pequeña experiencia de realidad virtual usando un smartphone. Me quedó medio accidentada la narración por no haber hecho script, pero espero les sirva.
En realidad no se puede hacer con "cualquier" smartphone. Se necesita uno de gama media-alta o alta y con Android 12, para que soporte el API 31. Si logran resolver el problema de los metal-material en APIs inferiores, puede hacerse desde API 23, que sería en android 7.
Estos son los assets y recursos que se necesitarán:
Unity 2021 (unity hub)
unity.com/download
Cliente GIT
git-scm.com/downloads
Activación de herramientas de desarrollador en Android
developer.android.com/studio/...
Guía de Cardboard oficial
developers.google.com/cardboa...
Plugin de Cardboard en GiHub
github.com/googlevr/cardboard...
Asset de Unity - Low Poly Dungeons Lite
assetstore.unity.com/packages...
Lineas de configuración en mainTemplate.gradle
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'com.google.android.gms:play-services-vision:20.1.3'
implementation 'com.google.android.material:material:1.6.1'
implementation 'com.google.protobuf:protobuf-javalite:3.19.4'
Lineas de configuración en gradleTemplate.properties
android.enableJetifier=true
android.useAndroidX=true
Música de fondo - Elevate por BenSound
www.bensound.com/royalty-free...
License code: C5JYFOYKTBTXGZR1

Пікірлер: 37
@Roger_EC
@Roger_EC 2 ай бұрын
Hola amigo esas imágenes las sacaste de tu zapatito también?
@JosedeJesusMendozaReyes
@JosedeJesusMendozaReyes 2 ай бұрын
JAJJAJAJAJAJJA
@saturno7838
@saturno7838 Ай бұрын
Es el de el video original o es un broma? Por que se parece
@nicolemacias3528
@nicolemacias3528 3 ай бұрын
No sabes cuanto te agradezco ame! tu manera de explicar solo un pequeño error que no te acercaste mucho a tu microfono te escuche muy bajito pero creeme me esforze mucho para escucharte y saber bien lo que decias por eso gracias, sos un genio!
@ermatiwe
@ermatiwe 2 ай бұрын
Y terminó siendo un depravado, ojalá se lo cobren en la cárcel.
@ez3800
@ez3800 Ай бұрын
Ocupas Unity para convertir a VR los videos que grabas con tu zapato?
@srjrcamilo2854
@srjrcamilo2854 7 ай бұрын
Hola! Gracias por tu tutorial podrías subir tu proyecto a git? 😁
10 ай бұрын
Hola! Gracias por tu tutorial. Lo probé en la versión 2021.3.30f1 y me salta un error que dice: "Please initialize Cardboard XR loader before calling this function" Lo estoy haciendo en una Macbook Pro mid 2015 con Intel i7, 16 GB de RAM con AMD Radeon R9 M370X 2 GB y macOS Monterey Versión 12.6.2 Tenés idea cuál puede ser el problema?
@juanjosepazzanini5452
@juanjosepazzanini5452 3 ай бұрын
Tengo el mismo problema, lo pudiste solucionar?
@arredondomezaluisarturo3717
@arredondomezaluisarturo3717 2 ай бұрын
cárcel para este humano despreciable
@saturno7838
@saturno7838 Ай бұрын
Es el real ?
@CAEDALPE
@CAEDALPE Ай бұрын
👏🏻👏🏻👏🏻👏🏻👏🏻👏🏻👏🏻
@bryankennygutierrezconde2467
@bryankennygutierrezconde2467 4 ай бұрын
en mi cel, se mueve muy lentamente, apenas si se mueve, como soluciono eso
@migue0583
@migue0583 2 ай бұрын
No todos los celulares pueden con el renderizado estereoscópico, además de que unity no es lo más eficiente que hay. Te sugiero empieces con una escena y sólo un par de objetos 3D simples, para medir que tanto puedes estresar a tu cel. Si es excesivamente lento, puede se un problema de incompatibilidad.
@alexfons3667
@alexfons3667 2 ай бұрын
@@migue0583 ya valiste madres bro
@RodrigoCA-qi7je
@RodrigoCA-qi7je Ай бұрын
​@@alexfons3667por qué lo dices Bro ?
@alexfons3667
@alexfons3667 Ай бұрын
@@RodrigoCA-qi7je ah, este wey fue cachado hace unas semanas usando una cámara en sus tenis para tomarle videos a chicas desde abajo de sus faldas. También es maestro en una universidad así que no sabemos a cuantas alumnas jóvenes les pudo haber hecho esto
@RodrigoCA-qi7je
@RodrigoCA-qi7je Ай бұрын
@@alexfons3667 osea pero está libre o si lo metieron al bote ?
@galleta155cr8
@galleta155cr8 5 ай бұрын
No puedo importar el paquete del plugin de cardboard
@csdl910
@csdl910 10 ай бұрын
Excelente, funciona solo para Android? O también iOS? Saludos
@migue0583
@migue0583 2 ай бұрын
Hola. Si, funciona para Android y también iOS. Pero necesitas una computadora Mac para compilar el proyecto y hacer el build. Investiga cómo llevar proyectos de unity a iOS. No es un proceso obvio, pero tampoco imposible. Éxito.
@i-m-alien
@i-m-alien 7 ай бұрын
1...thank you for including the scripts 2...If I had a menu with several buttons for different scenes, how can I stop and play the videos whenever I want? 3...My video looks squished inside the sphere. am I missing something? Have you ever seen it happen? 4...Is it possible to insert objects I can interact with in unity while having a 360 video playing as background? 5...Is it possible to add some simple interaction, like buttons to jump from one clip to other? Or pause or run the clips, or display menus, images or text? Thank you for the video! 6...how to deal with a up-down type of 360 VR video? 7...would be great to learn how to create hotspots in a 360 scene which could trigger other videos 8...Can you list the versions of all the software used? 9...my app view dont move on my phone? 10..i try to install my app after exporting as a apk but in my phone i get a black view and any moves 11..App generated is openend in my device but show only a black screen for a few seconds and later it close without give any error, I did all the tutorial steps 12..my video is a tad zoomed in which is a little distracting 13...create an android app that can play a slideshow of 360 images i am using in Lumion apk some 360 images 14...VR videos size are so high. In fact, i want to use oculus go internal file path for open my video in my application. How can i access my videos filepath using unity app? 15...Samsung 360-degree camera. Is it possible to transfer the video from the camera directly to the PC? Or do I need a Samsung smartphone to link it to my PC? 16...video seems to have distortion lines due to the sphere (I think), the top and the bottom of the sphere are the encounter of the 4 distortion lines. The real video don't have this lines. Did someone find the same problem?! 17...what is the maximum limit for the android platform in Unity? 18...I'm currently developing a VR. I would like to ask, can a mouse and keyboard be used for controls for this VR instead of motions from your mobile? 19...Is it possible with 4k video. I can't find a way to do that. 20...problem with downloading the GVR sdk (I cannot download the package for unity I could only download the .zip file ) 21...I can’t seem to get the google cardboard split screen effect when saved, it also doesn’t move when the phone adjusts angle. Any help?
@blaze-cwc8859
@blaze-cwc8859 8 ай бұрын
¿Probar la escena en unidad ya no funciona? Por favor respóndeme =(
@joseemilianopenamillan9538
@joseemilianopenamillan9538 2 ай бұрын
xd
@marioelperuano462
@marioelperuano462 2 ай бұрын
Una pregunta cuando lo convierto en apk y lo coloco en mi cel, se me cierra el juego, es por algo q hice mal? Xq segui todos los pasos y aún asi me sale ese error
@migue0583
@migue0583 2 ай бұрын
Sí se está instalando? Puede ser un problema de permisos de Android para ejecutar apps. Te recomiendo usar android studio para conectar tu cel y ver los mensajes de LogCat, cuando ejecutas el APK. Eso sirve tanto para proyectos de unity como de Android studio. Con eso puedes identificar el error para buscarle solución. Suerte
@marioelperuano462
@marioelperuano462 2 ай бұрын
@@migue0583 Si se instalo, bueno a un amigo le salio y me paso su archivo y asi lo solucione xd, pero aun no se xq me salia ese error.
@ELAFRO23
@ELAFRO23 5 ай бұрын
se puede caminar?
@migue0583
@migue0583 2 ай бұрын
No automáticamente, cómo sucede en un oculus. Pero intenta usar la funcionalidad de Gaze de Cardboard para teletransportarte en la escena.
@ez3800
@ez3800 Ай бұрын
Man y se puede caminar llevando una cámara en el zapato?
@osvaldocanseco2394
@osvaldocanseco2394 2 ай бұрын
Tu eres tu peor enemigo.
@RodrigoCA-qi7je
@RodrigoCA-qi7je Ай бұрын
Sabes hacer modelado 3d ?? Necesito cursos de modelado 3d
@CAEDALPE
@CAEDALPE Ай бұрын
No te va a responder porque tiene problemas con la justicia.
@RodrigoCA-qi7je
@RodrigoCA-qi7je Ай бұрын
@@CAEDALPE por qué 🤯🤯🤯? Cuenta chisme ?? Esta en la cárcel o que pedo ?!!!!
@bordindv5578
@bordindv5578 Ай бұрын
@@RodrigoCA-qi7je Lo atraparon grabando debajo de faldas de mujeres, busca su nombre en Google
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 527 М.
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 34 МЛН
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 46 МЛН
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 115 МЛН
Como Crear Realidad Virtual En Unity!  VR 👓 📱
21:23
LuisCanary
Рет қаралды 2,9 М.
The perfect imperfection of Google's Material You
15:47
David Imel
Рет қаралды 408 М.
Dark Souls I - Enemy size comparison
8:37
Miguel Escalera
Рет қаралды 514 М.
Realidad Virtual Google Cardboard Tutorial Unity - Configuración
10:49
Google VR Cardboard Tutorial - Unity 2019
6:25
Valem
Рет қаралды 138 М.
choosing a game engine is easy, actually
15:08
samyam
Рет қаралды 320 М.
Lo ÚLTIMO en Realidad Aumentada: Actualización de ARCore
3:13
Unity Adventure
Рет қаралды 6 М.
Create VR App for android in Unity 3D
23:01
Enrique Pérez Martín
Рет қаралды 17 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 3,2 МЛН
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 7 МЛН
Что еще за съемные фронталки от Vivo? #vivo
0:41