Learn a new technology, there are three magic:
- Magic 1: Master the user API manuals provided by the manufacturer
- Magic Weapon 2: Master Demo sample provided by manufacturers
- Magic 3: "A demo model for every researcher"
Therefore, the study of Magic Mirror 4 technology, also is also.
Storm Mirror 4 is the CardBoard VR solution for hardware + Storm VR SDK software.
Hardware
Magic Mirror 4 hardware provides display container tools, mainly composed of 2 convex lenses and plastic helmets. So in order to see the effect of the VR effect cool, you must rely on more than 5 inch Android phone –720p above, the Storm Magic Mirror SDK to do the app into the inside, through the storm mirror convex lens to see the effect of VR-this cardboard way VR, is based on the Google CardBoard 2 years ago "inspired".
Reference: Storm Mirror 4 Adaptation Model list (updated 2015.12.2)
Online also said dozens of yuan, you can assemble Google Cardboard, but for DIY hardware, I do not have much power, more than 100 yuan, buy a ready-made storm mirror 4, very good.
Storm SDK Software
SDK Software is the Unity3d Programmer's focus.
This picture is the unity3d level of the 360-degree picture provided by the Magic Mirror, where we can see some of the SDK software frameworks:
- UI: Here the main use of Ugui, made a button to return to the main interface. In VR, Ugui's 3D UI effect is obvious, there is Ugui unity is the original, the effect is good, so UI selection Ugui is a big trend.
- mojingmain,mojingvrhead: Responsible for gyroscope data reception, horizontal coordinate x and vertical coordinate y data.
- Mojinginputmanager: is responsible for the mobile phone Bluetooth input control, directly take the use can, Magic mirror factory equipped with magic mirror Bluetooth and Xiaomi Bluetooth controller, generally speaking, Bluetooth handle is more common peripheral input, possibly with Oculus Touch will sublimate.
- Gazepointer\pose3d: The small yellow dots in front of the eye. This is a cool practice in VR applications, when you do not have a Bluetooth controller, you can use this track point to achieve functional selection. Through the code, see a lot of fluent english comments, I searched for GitHub, originally that year Google Cardboard code, exactly, hehe.
- Mojingeye: A VR application, to use 2 camera, respectively, is left, right, similar to the human eye.
———————————————————————————————————
Common Q&a of VR
1 can apps be reused for PCs and apps?
Reply: cannot be reused. The app is on the phone, the PC is *.exe, and it can't be reused. If it is a 3D chip source then you can.
2 Myopia lens problem?
Reply: Storm Mirror 4, provide the space is very big, I 600 degree myopia, with glasses, no problem. Say then, Oculus Rift provides 3 sets of lenses, for <=400 degree myopia, no problem at all.
3 Hurt eye problems?
Answer: This is my most worried, but tried for a few days, found seemingly do not hurt the eyes, online check a bit-
The most important part of virtual reality is that the continuous 3D rendering with deep information is perceived by the human eye.
First, in order to generate the depth of information, it gives each eye to create a picture, the two images have a little bit of a visual offset, so that can simulate the parallax of the human eye, so-called Parallax is the human brain to deal with objects seen in different locations to produce the depth of information. Second, the result is a better visual effect, which distorts the image to simulate the spherical surface of the human eye, which can be achieved by the barrel distortion technique.
==> when using the Storm mirror 4, your eyes are actually watching the vision at all times.
4 Market maturity issues?
Response: The current technical limitations, is still mature, if the technology breakthrough: 2k+ screen, 60fps+, <20ms these 3 elements, and VR price significantly reduced, is the VR content of the market stage of rapid development – perhaps 2016Q3 will have a good market.
5 What to use to develop VR products?
Answer: Mainly Unity3d,ue4, and Unity3d occupy more than 70%, it is said. VR for cattle x in the PC VR, but the initial storm magic mirror more than 100 yuan price, do mobile version of the app, it is Unity3d's forte also.
6 image anti-lens distortion?
Response: Distorted English words distortion, the line on the object after the lens imaging into a curved phenomenon. The distortion is caused by the change of the lens magnification with the angle between the beam and the spindle. See the Encyclopedia in detail: distortion.
I checked some online, a new book "Learning Virtual Reality", PDF Link: Http://pan.baidu.com/s/1c1lP64C
Engaged for a long time, finally understand, Storm Magic mirror and the Storm video is a gang, very good, especially the manufacturers can advance with the times, admire!
To review Unity3d's 3D math again, I understand that this in VR technology, the application will be many:
C # Programmer's consolidation of the Unity 3D Note (10): Unity3d's 3D mathematical model of displacement and rotation
Reprint please specify transfer from "Unity3d for VR Learning" (2): Storm Mirror Frame exploration
Unity3d for VR Learning (2): Storm Mirror Frame exploration