Blog

Creating a Steam VR Environment

Now that you have created or captured some 3D content for virtual reality (VR) (post), the next logical step is to experience it in VR. This is particularly useful for visualizing information about cultural heritage, since the information is easier to manipulate and distribute in a digital form. Additionally, it allows scholars all around the world to develop creative ideas using VR technology that would otherwise be impossible. For example, the University Hall (U-Hall) building, the former home of the University of Virginia’s basketball teams, was scanned before its recent demolishment. After processing, this data could pave the way to creating an entirely virtual U-Hall experience for new students who have never seen the building, alumni who want to remember old memories, or researchers studying the architecture and history of U-Hall.

To get started, creating a SteamVR environment is a relatively straightforward way to get spatial content into a multiuser VR environment. The default setting for the SteamVR environment is the SteamVR Home, but SteamVR allows users to change it to a custom environment that can include a virtual representation of their 3D content. Even though the example below uses a zebra fish model, the steps can be applied equally as well to any other model, like a building of historic architecture.

To create a custom SteamVR environment, follow the steps below:

  1. Click on the SteamVR icon from the desktop (as shown in the picture) or in the upper right corner of Steam.
    [Step 1]

  2. Make sure your VR headset is connected by ensuring that the headset icon is green.
    [Step 2]

  3. Before beginning the process to create the SteamVR environment, check some settings to make sure everything is configured correctly.
    [Step 3]

  4. Make sure that the check box for the “Use SteamVR Home” setting is on.
    [Step 4]

  5. To start the SteamVR environment process, go to the “Create/Modify an Environment” action under the “Workshop” category.
    [Step 5]

  6. If there isn’t an addon already, click “Create Empty Addon” to create the overall project for this environment.
    [Step 6]

  7. Once the addon has been created and named, click on it and click the “Launch Tools” button to initiate the project.
    [Step 7]

  8. Two windows will open. The first one is the SteamVR preview window.
    [Step 8]

  9. The second one is the master window for all the tools. Click the third icon from the top left, which is the one that looks like a person, to launch the Model Editor.
    [Step 9]

  10. For this tutorial, we will be using the Zebra Fish model’s .FBX files from Google Poly found at this link (https://poly.google.com/view/elRLfCW4QZB).
    [Step 11]

  11. In the .ZIP file download (second item in the folder), there is a .FBX file (first item in the folder) that will be imported into the environment. Extract that file from the .ZIP file.
    [Step 14]

  12. Click “New VMDL From Mesh File” to create a new Valve Model (VMDL) file from the 3D content’s file (or in this example, the .FBX file of the zebra fish model).
    [Step 15]

  13. Find the mesh file of the 3D content and click on it.
    [Step 16]

  14. A warning box should pop up. Click “OK” to ignore it and resume the process.
    [Step 17]

  15. This screen is the next window that opens. The default values should be similar to the ones in the picture. A few settings need to be changed here. First, click on the button next to the “Destination Directory” text field, which should be empty.
    [Step 18]

  16. It should automatically direct you to the correct folder. In this folder, create a subfolder.
    [Step 19]

  17. Click on that subfolder that was just created.
    [Step 20]

  18. Upon returning to the model creation window, give the Valve Model a new name if desired. The collision type should be changed here if needed as well. The “No Collision” setting does not apply physics to the 3D model. The “Hull” setting applies a coarse boundary, like a cube or a sphere, which saves on processing power. The “Exact” setting follows the exact geometry of the 3D content, which is very resource-intensive.
    [Step 21]

  19. This window is what should open after completing the instructions for the previous window.
    [Step 22]

  20. With the Model Editor still open, go back to the main screen and click on the Hammer (Map Editor) tool in the top left corner.
    [Step 23]

  21. The screen will be blank at first, so create a new map by clicking on File and New.
    [Step 24]

  22. A new, blank SteamVR world map has opened up now. The top-center window is the 3D view and the bottom-left-center window is the 2D overhead view.
    [Step 25]

  23. Find the file path to the Valve Model file. The picture should show the default file path.
    [Step 26]

  24. Once in the correct folder, drag the Valve Model file into the top-center window (the 3D view).
    [Step 27]

  25. The model should appear in both the 3D and 2D views.
    [Step 28]

  26. Zoom into the view until the model appears more clearly.
    [Step 29]

  27. Click the light bulb icon to the left and search for the “info_player_start” item.
    [Step 30]

  28. Click in either of the view windows to place the selected item. The views should now have a person that is visible.
    [Step 31]

  29. This step is optional. To restrict the movement possibilities around the object, click on the light bulb icon again and search for the “vr_teleport_marker” item. Click around the view windows to place the icons. With these markers, the user can easily jump around between the designated teleport spots. Without these markers, the user can teleport to any spot around the model, which is less restrictive, but also more power-intensive for the computer.
    [Step 32]

  30. Once finished placing any necessary teleport markers, exit the light bulb icon and click the markers that are already placed to move them around in the X-, Y-, and Z-axes.
    [Step 33]

  31. Go to File → Build Map to construct the VR map, or just hit F9.
    [Step 34]

  32. When the Build Map window pops up, click the Build button to initiate the process of constructing the VR environment.
    [Step 35]

  33. Once the process is completed, the SteamVR preview window in the Step 8 picture should change and the window should change to show a part of the 3D view of the built environment. Now put on the VR headset and enjoy your very own custom SteamVR environment!
    [Step 37]

Cite this post: Abhishek Gupta. “Creating a Steam VR Environment”. Published July 23, 2019. https://scholarslab.lib.virginia.edu/blog/create-steamvr-environment/. Accessed on .