you guys need to see this
so this is a video from greg madison
which blew up on social media
and ever since i saw it i was obsessed
with it i mean
how freaking cool is this you're inside
a game that actually maps your house
so you know what like a lot of us i'm
still stuck at home because of that
pandemic outbreak
so i thought why not try to recreate
this but in my own house
and i'm taking you on this journey so
let's get started
okay so here is how we're going to make
it so this is the oculus quest headset
it has these little cameras on the front
that tracks if the player is moving in
the real world
to move accordingly in the game so to
map exactly my house we will need to
somehow recreate everything to the
centimeters ready and then position it
accordingly
so that the virtual model match the real
world which will prevent me to bang my
toes on all my furnitures does it make
sense
so to reproduce my house i found out
that the easiest way was to measure
the dimension of the room using the
augmented reality measurement app and if
you haven't tried already
go ahead it's really impressive okay
next
based on the measure i took i drew this
2d plan
so now my goal is to take this and put
it in the computer
so if you want to record this for your
own house here is a little tip for you
take a photo of the plan put it on a
quad where you want to model your house
make sure that the scale of the 2d plan
match the scale in your game
so in my case 4 square on paper
represent 1 meter
which is the side of a cube and now you
just have to reproduce your house
exactly on top of these lines
[Music]
okay there you go the raw shape of the
room is in the computer
not bad not bad i know next we need to
add some furniture that match my room
but i
got a good news like a lot of people i
get most of my stuff from that big
swedish store
and most of their furniture are
available for free on the internet so
let me just download this chair right
there and put it in my scene
a few moments later
now let's add some additional texture
that looks like the floor and wool of my
house
as always let's make everything dark so
that nobody will notice my lack of art
skill
and here you go we succeeded to model
exactly my house
already you can compare the two i think
we did a great job
okay so now is the tricky part so bear
with me
we now have a 3d model of the house that
has the correct dimension
now what we need to do is to position
this 3d model so that it will stick
where the real house is
to do so i'm going to put a marker
inside the game
at a particular location so in front of
the fridge for example
and drop the vr camera at this exact
location in the scene
this will make the default center of the
game where the tracker
is now before this in the game i need to
be extremely careful
and reset the original position of the
player at the exact position
where we put the tracker so i will drop
my headset
exactly here and reset the position by
pressing on the oculus button
in the right controller this way the
center position of the game
will match the center position of the
player and everything
should match but there is only one way
to find out
and it's to test the game
oh my god already this is freaking
unbelievable i mean i want to be totally
honest with you
the moment i started to reach out my art
to touch a wall and
i felt it at the same position i
completely freaked out
but wait if you thought this was the end
of the video
you are wrong we are not done yet if we
look at the original clip
we can see that the ends of the player
are inside the game
too so let's work on that i was able to
quickly implement end tracking using
one of my tutorial link in the
description below
and now it is time for the real fun i
want to implement some features that
will let us interact
with real object but change the virtual
world
what some would refer as mixed reality
to do so i worked on some advanced and
tracking interaction
like pinch grab double end manipulation
user interface and more from the mix
ready toolkit
by the way if you are interested to make
your own vr game with these types of
end tracking interactions i will upload
an extra
tutorial on my patreon which cover how
to implement
all of these features and by subscribing
to the 10 dollar pledge
you will also have access to 10 other
exclusive tutorials
and to all the source code of my videos
more than 30 projects in total
with this project included and it also
supports the channel so what do you want
more after implementing some end
tracking interaction
this is the final result
it's over guys
[Music]
i really love how this product turned
out especially this 2d plan
here that i've set at the exact height
of my table
this way it felt like i was touching a
real surface
while in vr and this coffee mug was also
another test that i wanted to make to
see what would happen
when manipulating a moving object in the
real world
and this was not without spilling some
coffee all over the place so i'm curious
what do you think of this project
what feature would be awesome to see
with this mixed reality setup
tell me what you think in the comment
section below for me i'm still getting
surprised by the uses of vr
i mean as shown by the hype cycle of
emerging technology by gartner
we know that vr is in a mature state and
it's true we are thinking this
technology more and more everywhere
in real use case and not just for gaming
but still
one thing is for sure there is more
potential to this technology that we
will see when headset gets smaller and
more powerful
and i want to end this video by a quote
from mark zuckerberg email that was
leaked in february
only thought about vr once you have a
good vr ar system
you no longer need to buy phones or tvs
or many other physical objects
they can just be game apps in a digital
store
is this where we are added with vr maybe
but what this project has shown me is
that it was indeed possible
and maybe closer than we can think it is
anyway that is all for today thank you
for watching this video till the end
as always make sure to like this video
so that youtube will recommend it to
other vr lovers just like you
if you are interested by learning more
about how to create your own end
tracking application
with advanced features come check out my
patreon the link is in the description
below
on that matter a big thanks to the new
patreon who joined this week
you guys are the reason i'm able to do
this have a nice day and see you soon
[Music]
you