ebook img

Building Virtual Reality with Unity and SteamVR PDF

277 Pages·2020·10.536 MB·\277
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Building Virtual Reality with Unity and SteamVR

Building Virtual Reality with Unity and SteamVR Building Virtual Reality with Unity and SteamVR Second Edition Jeff W. Murray CRC Press Taylor & Francis Group 6000 Broken Sound Parkway NW, Suite 300 Boca Raton, FL 33487-2742 © 2020 by Taylor & Francis Group, LLC CRC Press is an imprint of Taylor & Francis Group, an Informa business No claim to original U.S. Government works Printed on acid-free paper International Standard Book Number-13: 978-0-367-27265-4 (Hardback) International Standard Book Number-13: 978-0-367-27130-5 (Paperback) This book contains information obtained from authentic and highly regarded sources. Reasonable efforts have been made to publish reliable data and information, but the author and publisher cannot assume responsibility for the validity of all materials or the consequences of their use. The authors and publishers have attempted to trace the copyright holders of all material reproduced in this publication and apologize to copyright holders if permission to publish in this form has not been obtained. If any copyright material has not been acknowledged please write and let us know so we may rectify in any future reprint. Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming, and recording, or in any information storage or retrieval system, without written permission from the publishers. For permission to photocopy or use material electronically from this work, please access www. copyright.com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that provides licenses and registration for a variety of users. For organizations that have been granted a photocopy license by the CCC, a separate system of payment has been arranged. Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used only for identification and explanation without intent to infringe. Visit the Taylor & Francis Web site at http://www.taylorandfrancis.com and the CRC Press Web site at http://www.crcpress.com To my boys: Never give up. Forget about the material and remember that if you do your best, you will always be a success to me. Also, be nice to the cat. Contents Acknowledgments, xvii Author, xix Prerequisites, xxi Introduction, xxiii Chapter 1 ◾ A Brief Introduction to the Virtual World 1 HOW LONG HAVE WE BEEN VIRTUAL? 1 BEFORE THE HEADSET 2 THE BIRTH OF THE HEAD-MOUNTED DISPLAY 2 THE ROAD TO CONSUMER VR 4 HOME PC VR 5 CONSUMER VR REBIRTH 6 COMPLICATIONS AND CHALLENGES OF VR 8 Latency 8 Juddering and Smearing 9 The Screen Door Effect 9 VR Sickness 10 VR Space 10 Tracking 10 Location-Based Entertainment 11 Tracking Infinite Spaces 11 Movement 11 Input 12 vii viii ◾ Contents Body Tracking 12 Vive Trackers 12 Motion Capture Suits 13 Hand Tracking 13 Eye Tracking 13 Feeling VR 14 DESIGNING AND DEVELOPING FOR VR 14 Plan: Any Sort of Plan Is Better than No Plan! 15 Get Your Main Interactions in Place Early 19 Test on Real People 20 Look for Combination and Flow 20 Realism Is Not Always the Most Realistic 21 RECAP 22 Chapter 2 ◾ Healthy VR Experience 25 WHAT IS INTERPUPILLARY DISTANCE AND WHY SHOULD I CARE? 25 Real IPD 25 How to Measure Your IPD 26 Virtual IPD 27 Knowing When to Stop (the Telltale Signs of Oncoming VR Sickness) 28 Dry Eyes 28 Sweating 28 Aching 29 Nausea 29 Headache 29 Take Breaks 29 Eat, Drink, and Be Virtually Merry! 30 Do Not Break Your Back Making VR Things! Test Carefully 30 RECAP 31 Contents ◾ ix Chapter 3 ◾ Getting Set Up for Unity SteamVR Development 33 INSTALLING STEAMVR 33 INSTALL THE STEAM CLIENT 33 SET UP A STEAM ACCOUNT 34 INSTALL STEAMVR 34 START STEAMVR 34 SETTING UP A UNITY PROJECT FOR STEAMVR 35 DOWNLOADING UNITY TO MAKE A NEW PROJECT 36 UNITY EDITOR CRASH COURSE 36 Editor Views and Panels 36 Terminology and Common Use Things 38 Unity Terminology 40 CREATING A NEW UNITY PROJECT 42 Downloading the SteamVR SDK for Unity 42 Setting up SteamVR in Unity 44 Setting up SteamVR Input 46 A ROOM WITH A VR VIEW 49 Download and Extract Example Project Source Files 49 Adding SteamVR to an Existing Scene 49 The SteamVR Camera Rig 50 Test the Scene 51 SteamVR Camera Positioning and Repositioning 51 SAVE THE PROJECT AND KEEP BACKUPS! 52 PROBLEMS? 53 RECAP 53 Chapter 4 ◾ The SteamVR Interaction System 55 DOWNLOAD AND EXTRACT EXAMPLE PROJECT SOURCE FILES 55 THE PLAYER PREFAB 56 MAKING THE DOOR INTERACTIVE 56

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.