Skip to content

VR HMD goggles setup google cardboard, colorcross, opendive

Gildas edited this page Sep 19, 2022 · 8 revisions

You can use opentrack to make a custom VR helmet similar to Oculus Rift with your smartphone.

Virtual Reality

Smartphone requirements:

  • 1080p (4,5-6" depending of goggles) screen (720p will have poor image quality, but works too). Recommended is 2560x1440px
  • gyroscope sensor
  • Android operating system
  • Samsung Galaxy S7, S6, Note 4 or LG G5, G4, G3 preffered (2560x1440px screen)
  • Nexus 5 or Samsung Galaxy S4 prefferred for Cardboard gogles.
  • for 2560x1440px resolution preffered a smartphone with USB 3.0 interface.
  • ... more DPI on screen is always better.

Hardware requirements:

  • smartphone PC USB cable.

VR gogles you can use:

  • Chinavision ColorCross (best choice, they don't need lens correction, and have large lenses) ~ 20 USD with world shipping. Easy to buy on fasttech.com or dx.com
  • Google Cardboard
  • OpenDive / Durovis Dive
  • Baofeng Mojing III and IV
  • ... and all similar

From left: Open Dive, Colorcross, Google Cardboard

Sample configuration file for opentrack. You can customize if you like or you dont want configure opentrack manualy (as below) https://dl.dropboxusercontent.com/u/73783868/opentrack_vr_tutorial/elite_vr.ini

Mappings and Accela filter configuration may need individual tuning depending on smartphone or individual game.

1) Connect smartphone and PC to the same network. Please use USB connection - it should support 30-60 fps with 1080p video image. Wifi will be too slow.

a) Turn on airplane mode (turn off GSM/NFC/GPS/Wifi/BT modules).

b) enable USB tethering on smartphone

c) make sure the PC and smartphone are in the same subnet (you can ping your smartphone from PC).

2) Install opentrack 2.3 on your PC

a) set the tracker to FreePIE and configure it as seen on image below

b) set mappings as you see on images below

c) set center button in Keys tab.

d) enable 5555 UDP port in your PC firewall (for the FreePIE tracker)

e) set protocol to Freetrack 2.0 Enchanced (depending on game)

f) on mappings tab set axes invertion (may depend on game)

3) Install FreePIE Android Client on your smartphone

a) FreePIE Client (apk) is located in _your_OpenTrack_installation_directory\contrib\freepie-udp

Remember to enable "allow installation from unknown sources" on your smartphone before install. You will be prompted with option to go to the settings if you haven't enabled this.

b) configure the FreePIE android client as you see on image below. Remember - target IP is your PC IP.

4) Configure the video stream.

a) If you have nVidia and GeForce experience software you can use MoonLight: Instruction how to configure: http://forum.xda-developers.com/showthread.php?t=2505510

b) if you have other card, ATI for example you can use Splashtop video stream: http://www.splashtop.com/downloads

5) Game configuration

a) Remember, your game need to support non standard Side By Side mode, without 50% horizontal squeeze. Game need to support resolutions in 8:9 proportions. For example, 1920x1080 is 16:9 proportion. You need 960x1080 per one eye. Two eyes is 1920x1080 on your screen.

Example of non standard SBS view with correct aspect ratio

b) if game supports only standard SBS view with 50% horizontal squeeze or you using Tridef3D http://www.tridef.com/ you need force game to run in non standard resolution 1920x2160 in 8:9 proportions and it should be resized by streaming software to correct proportions.

Example of standard SBS view with 50% horizontal squezze. Look at egg planets... 1920x2160 resolution stream should correct it and it should look like non standard SBS in point a).

6) setting non standard 1920x2160 (for 1080p screen) in 8:9 resolution if game don't support non standard SBS view. 2560x2880 will be for 1440p screen in LG G3 or note4.

a) if you have Nvidia card you can do this in Nvidia control panel

b) if you have ATI card you can make it in registry http://www.wsgf.org/forums/viewtopic.php?t=21972&f=63

7) Prepare your VR goggles

Better models of VR goggles have lens adjustment. Make sure your VR goggles are properly adjusted.

In my case it was: I measured a distance between center of eyes and set centers of lenses to this value. My distance between centers of eyes is 40mm.

This is personal settings, adjustment method depend of your eyes, you need to prepare VR for your own way. If you have problem with adjusting goggles consult it with your eye doctor.

8) Run everything

a) Start opentrack

b) start FreePIE Tracker on your smartphone

c) start streaming game in correct resolution

d) put helmet on head

phone should be mounted on a headset at the same position as on image below (don't laugh):

e) use your defined before center button

9) Enjoy your cheap homemade VR!

Here's a video: http://youtu.be/3bH46VKHLUM