Skip to Main Content

Use Library Tech: Virtual Reality (VR)

Virtual Reality (VR)

virtual network of pods

Caltech Library now has a Virtual Reality Workstation that is available to the Caltech Community.  The Workstation includes a HTC Vive goggles, 2 Vive controllers, and a computer with a Nvidia GeForce GTX 1070 graphics card.  

To use the workstation, email techlab@library.caltech.edu

Have you used the workstation?  How was your experience?  Send us feedback at helpdesk@library.caltech.edu

Available Software

Many pre-installed VR programs are available through Steam, which you can find in the Start menu.  Login information is provided on the cart information sheet.  You can download other free VR software from the Steam store, although software that is not on the supported list may be removed at any time.  If you'd like us to install other software, contact us at helpdesk@library.caltech.edu

VR Software from the Caltech Community - A list of VR software that you can download and use, created by the Caltech Community.  You'll have to unzip the _data folder and move the folder with content to the same level as the .exe application.

Tips and Tricks

  • The VR workstation is set to use all the space within the orange tape on the carpet.  It is best if you move all tables and chairs to the side of the room.  The tables fold up by pulling a lever under the table top toward the edge of the table.
  • You can adjust size of the head strap using Velcro tabs on both sides.
  • It can be helpful to set your Interpupillary distance (IPD).  Measure your IPD by using the card in the cart, or following the instructions at http://doc-ok.org/?p=898.  Set your IPD by adjusting the knob on the lower right hand side of the headset.
  • If you wear glasses it can be easier to get your glasses positioned first, before putting on the head strap.  The distance between the headset and lenses can be adjusted by popping out the gray rings on the side of the headset and rotating.  Make sure to push the gray rings back in once you are happy with the distance.
  • The lenses can sometimes get dirty.  You can gently clean them with the microfiber cloth in the cart. 

Custom Visualizations

Creating Custom Environments in Unity

The workstation has Unity 5.6.3p1, which can be used to create new interactive worlds.  It’s easy to import a 3D object generated elsewhere and place it into a VR environment.

To set up a basic environment:

  • Open SteamVR
  • If you need to log into unity, see the information sheet on the cart.
  • Open up Unity and make a New project.  Click Add Asset Package and check SteamVR.   Save the project to your IMSS share
  • You’ll get a list of recommended project settings.  Click Accept All
  • There are lots of panels in the Unity environment.  Click Scene in the top center of the winodw to see your working environment, and click project on the lower left to see the contents of your project.
  • In the lower right hand panel you'll see a SteamVR folder under Assets.  These are the elements you need to make Unity talk to the VR goggles. 
  • Double Click on SteamVR and Prefabs
  • Drag CameraRig and SteamVR to your project (the panel just above assets)
  • Delete Main Camera (you’re using the VR goggles as your camera)
  • Click on the CameraRig in your project.  You'll see information about the camera in the right hand Inspector panel. Find Steam VR_Play Area and set the size to “Calibrated”
  • Drag your .mtl file from where you saved on the computer it to "Assets" (right on top of the text)
  • Drag your .obj file to "Assets".
  • Your object will show up in the middle panel when you click on "Assets".  Drag your object to your scene, which is in the middle of the Unity workspace.
  • Move and orient your object in the play space by using the cross symbol in the middle of object. Click/drag on each axes to move the object.
  • You can rotate the object by changing to rotate mode.  Mode buttons are in the top left of the unity interface, and rotate is the button with circular arrows. Rotate the object by clicking/dragging along an axis of rotation.
  • Click the play button at the top of the window to view the object in the 3D goggles!
  • Click File/Save Project to save
  • You can package your visualization as a Windows program (.exe) by clicking File/Build and Run and using the default setting

Visualizing Proteins

  • Download your pdb file
  • Open up VMD (Under Start/University of Illinois)
  • Go to File/New Molecule and find your pdb file
  • Go to Graphics/Representations
  • Change the Drawing Method to something volumetric (New Cartoon works well).  You may have to hit “Create Rep” to generate the representation and “Delete Rep” to delete the lines (these won’t show up in the VR environment)
  • You can pick out segments of the protein by using the Selected Atoms area (enter something like “chain A”
  • For each color you want to use, use a separate representation.  You can select a solid color by selecting the “ColorID” Coloring method
  • Turn off axes by clicking Display/Axes/Off
  • Save your representation by going to “File/Render” and selecting “Wavefront (OBJ and MTL)” Click the “Browse” button.  Navigate to a location to save your object and type in a filename with .obj extension (eg. “rendered.obj”).  Then click “Start Rendering”.  VMD will generate an .obj and .mtl file

Sharing your VR Creation

Have you created a VR application you want to share with the Caltech community?  Upload it to https://data.caltech.edu by clicking "Submit a Data Set" and add "VR"  as a subject.  Make sure to zip your "application"_data folder and upload it along with the .exe application.  

Other Campus VR Resources

Contact each organization for more information and access

Bruce Murray Laboratory for Planetary Visualization - Division of Geological & Planetary Sciences, Arms 262.

Center for Data-Driven Discovery -  Powell-Booth Laboratory

Art House - Building 67 Annex