KEMBAR78
Prototyping in aframe | PDF
Prototyping for
Virtual Reality (VR)
since 2008 ...
Interior
Designer
Am an entrepreneur now bit selfish
“2018 - Investing in talking to people”
VR | AR | MR | XR
Understand the difference or similarities
Virtual | Augmented | Mixed | Extended
Virtual Augmented Mixed Extended
Virtual
Immersive
Block the real world
Teleport to a new world and time
Part of simulation
Augmented
Overlay information
View the real world
Present in time and space
Part of real world
VR Concepts
FOV - Field of view
FOV - Field of view
FOV - Field of view
Latency / Video lag
Expected: 7 ms
Current: 50 ms
Oculus: 30-40 ms
Mobile VR: 40-90 ms
Vive: 8-10 ms
Degree of Freedom - DOF
3 DOF
6 DOF
Extended reality
Input - Interaction
Headset
Gaze
Controller - 3 DoF
Controller - 6 DoF
VR Design
fundas
Context Users Goals
Design Process
Experience
Immersion
Learning
Explore
Media
Gamers
Enterprise
Entertainment
Gaming
Healthcare
Automotive
Manufacturing
Design
user personas, conceptual flows, wireframes, an interaction model
Digital Designer
for
Real Space
Skybox
Skybox and
placement of
information
Googles’ design guidelines for VR
1. Using a Reticle
2. UI Depth & Eye Strain
3. Using Constant Velocity
4. Keeping the User Grounded
5. Maintaining Head Tracking
6. Guiding with Light
7. Leveraging Scale
8. Spatial Audio
9. Gaze Cues
10. Make it Beautiful
In the age of
digital tools for
design and
prototyping
We are going
to use paper
wireframing
Paper
wireframing
Warm up
A typical stop sign is 1.82 meters tall (around 6
feet).
A traffic light is 4.57 meters tall (around 15 feet).
Tools for VR prototype and development
Aframe
Setup the system
●
●
Let’s get started
1 2 3...
First scene
<html>
<head>
<script src="https://aframe.io/releases/0.6.1/aframe.min.js"></script>
</head>
<body>
<a-scene>
</a-scene>
</body>
</html>
<html>
<head>
<script src="https://aframe.io/releases/0.6.1/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-box color="red"></a-box>
</a-scene>
</body>
</html>
Right hand co-ordinate system
Units are in meter
<html>
<head>
<script src="https://aframe.io/releases/0.6.1/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-box color="red" position=”0 10 -10” rotation=”0 90 15” scale=”1.2 1.2
1.2”></a-box>
</a-scene>
</body>
</html>
Position Rotation Scale
Basic
Geometry
Do share screenshots
and link @infivr
<html>
<head>
<script src="https://aframe.io/releases/0.6.1/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-box color="red" position=”0 10 -10” rotation=”0 90 15” scale=”1.2 1.2
1.2”></a-box>
<a-sky color="#222"></a-sky>
</a-scene>
</body>
</html>
Setting up environment <a-sky>
<html>
<head>
<script src="https://aframe.io/releases/0.6.1/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-box color="red" position=”0 10 -10” rotation=”0 90 15” scale=”1.2 1.2
1.2”></a-box>
<a-sky color="#222" src=”abc.jpg”></a-sky>
</a-scene>
</body>
</html>
Setting up environment <a-sky> of your own
<html>
<head>
<script src="https://aframe.io/releases/0.6.1/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-assets> <a-img id=’’ src=’’/> </a-assets>
<a-box color="red" position=”0 10 -10” rotation=”0 90 15” scale=”1.2 1.2
1.2”></a-box>
<a-sky color="#222" src=”abc.jpg”></a-sky>
</a-scene>
</body>
</html>
Asset management <a-assets> <a-img>
Lights
<a-light type="ambient"
color="#445451"></a-light>
<a-light type="point"
intensity="2" position="2 4
4"></a-light>
Animation
<a-animation
attribute="position"
from="0 0 0"
to="0 2.2 -5"
direction="alternate"
dur="2000"
repeat="indefinite">
</a-animation>
Let’s tickle
them...
Interactivity
Move around
Build your own
VR Experience
My
co-ordinates
VR design resources

Prototyping in aframe