TwinFan / LiveTraffic

LiveTraffic is an X-Plane multiplayer plugin, which fills your sky with live air traffic based on public flight tracking data.
https://twinfan.gitbook.io/livetraffic/
Other
101 stars 24 forks source link

Better rendering of aircraft labels in VR - Option to Switch off in internal views #69

Open winterkoenig opened 5 years ago

winterkoenig commented 5 years ago

Current Situation / Problem

  1. Aircraft labels are only rendered on the right eye in VR. That makes them hard to read and destroys the spatial immersion.
  2. Aircraft labels are aligned horizontally to the display, not to the scene. If the VR user tilts his head to the side, then the labels will do the same. This is unexpected, looks weird and destroys the spatial immersion.

As of now, aircraft labels are not usable in VR.

Observed with Oculus Rift CV1, Windows 10, X-Plane 11.30 64bit.

Suggested Solution The aircraft labels should be rendered in 3D into the scene, at least if VR is activated. A simple, flat rendering on both eye's display would not work because it would place the labels somewhere out of the spatial context, presumably too near to the VR user's point of view. Where exactly the labels should be placed is difficult to say and probably needs to be determined experimentally.

This should resolve both issues described above together.

Alternatives I think a discussion with exchange of experiences regarding this topic and VR optimization in general is necessary.

Benefits The VR users are a growing number, especially in the X-Plane community. A lot of developers see this and adjust their software (aircrafts and plugins) for use in VR. I am convinced that many VR aviators would like it if they can use the full potential of LiveTraffic in VR and not only the aircraft model rendering.

TwinFan commented 5 years ago

Rendering in 3D is unfortunately no option any longer...I had to specifically move it out to 2D rendering on request of Ben Supnik, see #63. X-Plane's text drawing options aren't numerous...

The only thing I can offer in the short term is an option to switch labels off in

but keep them in external views.

Personally, I don't have a VR rig (yet?) and am not into 3D drawing, so I can't solve it any better myself. If anyone else can: help is certainly appreciated.

TwinFan commented 5 years ago

With that delivery the workaround is in, and a good fix (labels as real 3D objects) will be pushed out to later. Maybe the later multiplayer lib forks have a solution for it.

TwinFan commented 5 years ago

Rebasing multiplayer lib on latest muroneko/master puts labels back in 3D drawing and solves SSAA issue differently. That should display labels correctly also in VR mode.

TwinFan commented 5 years ago

Tests say labels appear in left eye only.

Sent with GitHawk

TwinFan commented 5 years ago

Two options:

I still have no VR rig and no intention of buying one soon. So all of this requires more time and the help of closed beta testers for actually comparably little effect. So that’s pushed out to after 1.0.