Board index FlightGear Development New features

Suggestion: An app for Google Cardboard that mirrors FG

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Suggestion: An app for Google Cardboard that mirrors FG

Postby nulln » Thu May 04, 2017 6:19 am

My suggestion is simple: An app to mirror FlightGear so it can be viewed in a vr headset like Google Cardboard. It'll probably lag too much, but maybe there's some way to overcome that (i.e compression of frames sent to phone? a protocol similar to vnc, but faster?).

One thing I suggest is running a small instance of FG on the phone, but it does something like this?
nulln
 
Posts: 20
Joined: Mon Apr 17, 2017 7:51 am
Callsign: N323DD
Version: 2017.1.3
OS: Ubuntu 16.10

Re: Suggestion: An app for Google Cardboard that mirrors FG

Postby Parnikkapore » Thu May 04, 2017 11:47 am

I was thinking about that a year ago! In fact, I attempted to implement the headtracking part in HTML (Sorry, that's the language I know most!), But it's a bit too laggish... Not to mention the images....
There are free alternatives to every program you encounter. You just have to find them.
Parnikkapore
 
Posts: 715
Joined: Thu Oct 29, 2015 10:16 am
Callsign: HS-FGS
Version: next [PPA]
OS: Mint 18

Re: Suggestion: An app for Google Cardboard that mirrors FG

Postby ludomotico » Thu May 04, 2017 1:10 pm

This suggestion is more or less the same than this thread: viewtopic.php?f=6&t=22640

Keep in mind the split screen is already implemented: Menu->3D options->split screen.

The part that is not yet implemented is adding a barrel distortion to each camera. I'm not familiar with Google Cardboard, but the Oculus needs at least a barrel distortion in each one of the cameras like this:

Image

(Actually, the oculus needs a slightly different barrel distortion for each one of the RGB channels)

Vik has already implemented distortion to one camera (viewtopic.php?f=6&t=31058), and I'm quite sure the same idea can be used for Oculus/Google cardboard.

The headtracking part can be implemented using ideas similar to any other headtracking device: http://wiki.flightgear.org/Head_tracking. Actually, I implemented headtracking with the Oculus in less than 15min years ago. My implementation does not work with the current generation of VR devices, but the idea is the same.
User avatar
ludomotico
 
Posts: 990
Joined: Tue Apr 24, 2012 1:01 pm
Version: git
OS: Debian GNU/Linux

Re: Suggestion: An app for Google Cardboard that mirrors FG

Postby nulln » Thu May 04, 2017 2:06 pm

On a seperate yet somewhat related note, you could also use Playstation Move hand things + vr headset or just the HTC Vive to use the controls for the aircraft (throttle, yoke, mixture, anything that can be used with hands) and allocate some buttons on those hand controllers to rudder pedals. I'd do this myself, but I can't do that level of code, and I don't have any of the things I just mentioned.

I'm just tossing around ideas :p
nulln
 
Posts: 20
Joined: Mon Apr 17, 2017 7:51 am
Callsign: N323DD
Version: 2017.1.3
OS: Ubuntu 16.10

Re: Suggestion: An app for Google Cardboard that mirrors FG

Postby Tarbell » Wed Oct 11, 2017 1:27 pm

nulln wrote in Thu May 04, 2017 2:06 pm:On a seperate yet somewhat related note, you could also use Playstation Move hand things + vr headset or just the HTC Vive to use the controls for the aircraft (throttle, yoke, mixture, anything that can be used with hands) and allocate some buttons on those hand controllers to rudder pedals. I'd do this myself, but I can't do that level of code, and I don't have any of the things I just mentioned.

I'm just tossing around ideas :p


That sounds like a good idea. I think it's a bit too much for me, has anyone else tried coding something like this?
Tarbell
 
Posts: 1
Joined: Thu Oct 05, 2017 1:51 pm

Re: Suggestion: An app for Google Cardboard that mirrors FG

Postby aTazul » Thu Oct 19, 2017 2:31 am

The idea of the century.
-aTazul
aTazul
 
Posts: 24
Joined: Sun Oct 15, 2017 12:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: AT2017, BAW999
Version: 2017.3.1
OS: Windows 7


Return to New features

Who is online

Users browsing this forum: No registered users and 1 guest