Sunday, July 31, 2016

Augmented Reality for Firefox on Android

Firefox 4.4 for Android.
The Firefox orientation system has been tricky to work with, but using PORTRAIT mode with these values for alpha, beta, gamma.
Gives a glitch free Virtual Reality / Augmented Reality system.

It works with the rotation code from an earlier post.

Swap rx, ry, rz with lx, ly, lz for portrait resolution.
Un-optimized commercial build 30 fps on LG G3.

*update: Firefox deviceOrientation now works perfectly. The landscape version works on Chrome and Firefox. Can now do VR/AR in any orientation on any system.



***IMPORTANT***

Someone has a patent for GPS and VR/AR so I wouldn't recommend using GPS in games. Python and HTML5 now offer a different way to get positional data. 
Also was able to create AR without a camera with my new arcade machine.


G A M E  O V E R








Sunday, May 29, 2016

2.5D Digitizing

Has been a goal of mine for a long time to create digitized 2.5D objects. 2.5D is an engineering term for mould making, in computer graphics documents clearly state that a heightmap is a 2.5D structure.

A game sprite using Anti-photo (2003). The program takes a 2D photo and a depth image, and recreates the original 3D scene that the photo has captured.
This object was taken from the net. The model is of poor quality, the face is basically a cone. With voxels the human brain is able to overlook small discrepancies.
I will be testing depth maps from the net and posting outputs here.
Voxel power.
Background objects still have plenty of detail.
Outdoor scene.
Inaccurate depth map.

Architecture.
All structures are defined in perspective, so is non-structures (space). Space leaping is a simple greater than and less than operation.The i7 will be able to run 30fps no problems. A lookup table increased the performance from 10 fps to 60 fps. 

Saturday, February 13, 2016

Phone Gap

Just got Phonegap 0.2.1 working!

Using Windows 10, you need to allow the application through the Windows Firewall. Then you have to allow the port you are going to use through your Anti-Virus application.
Start up a desktop Wi-Fi hotspot and connect phone to that. Run Phonegap Desktop, then run Phonegap Developer on phone. Enter IP and Port number and everything is running.