3DMIGOTO VR zoom and label masking

Home > User Files > 3DMIGOTO VR zoom and label masking
DCS: World 2.5
Other
3DMIGOTO VR zoom and label masking

3DMIGOTO VR zoom and label masking

Type - Mod
Author - lefuneste01
Date - 08.02.2020 09:45
This mod provides the following features:
• 3 strenghts of instantaneous VR zoom with a kind of binocular view look (that can be disabled). They can be stacked with built in DCS VR zooms.
• Setup mode with help text to customize zoom settings
• Label masking by cockpit frame
• Lightening of cockpit colors
• use of build in DCS VR zoom without parallel projection for Pimax 5k+/8k
• copy/paste of radio messages and F10 map coordinates to easier JTAC coordinates conversion (see forum link below for more informations)
• mirror sun glare (too high and not synchronized for each eye) can be disabled
• scaling of NVG in VR so it is possible to see below them
• Sharpen filter for cockpit

More informations here : https://forums.eagle.ru/showthread.php?t=242134

This mod provides the following features:
• 3 strenghts of instantaneous VR zoom with a kind of binocular view look (that can be disabled). They can be stacked with built in DCS VR zooms.
• Setup mode with help text to customize zoom settings
• Label masking by cockpit frame
• Lightening of cockpit colors
• use of build in DCS VR zoom without parallel projection for Pimax 5k+/8k
• copy/paste of radio messages and F10 map coordinates to easier JTAC coordinates conversion (see forum link below for more informations)
• mirror sun glare (too high and not synchronized for each eye) can be disabled
• scaling of NVG in VR so it is possible to see below them
• Sharpen filter for cockpit

New VR zooms are activated by pressing INS (10x zoom) or HOME (5x zoom) or PAGE UP (2x zoom) keys
If you are using a Pimax you must map DCS world zoom to NUM* Key or spy glass key to NUM -

Zoom feature
------------
Default zoom settings are set to zero. In order to modify convergence for your VR helmet / IPD do the following:
• Press Left shift + F7 to enter Setup mode. This will display an help text with current mode activated, keys to use and and current values for settings.
• Press and maintain the zoom key you want to set: INS or HOME or PAGE UP for modded zoom or NUMPAD* for DCS world VR zoom or NUM- for DCS world SpyGlass VR zoom.
• Target an object far for modded zoom or a MFD for DCS zoom
• Multiple press the keys (only a press will change value, holding key is seens as a single keypress) according to the setting you want to change.
• You can toogle Very coarse, coarse or fine mode for Increment used to change settings. Change will be lower in fine mode and higher in very coarse mode
• Once happy with the setting, release zoom key and press LALT+F12, it will be saved.
• Binocular like mask can be disabled by pressing DELETE key.
• The following setting can be changed for each zoom level (including stacked ones):
   view convergence
   aims convergence
   view height (y position)
   height shift between left and right eye

NVG feature
-----------
• When in NVG mode, press LShift+F7 to enter Setup mode. This will display the same help text than for zoom, but with NVG options.
• The following settings can be changed:
   NVG scale
   NVG position convergence ("NVG out")
   NVG in view convergence ("NVG In")

Help text position is defined for Pimax 5k+ with low FoV. You may need to adjust it by modifying this section in the file "user_settings.ini" (one setting for normal view and one setting for NVG view):
        ;-----------------------
        ; Help message position
        ;-----------------------
        [ResourceHelperPos]
        type = StructuredBuffer
        array = 1
        ; upper left corner coordinate (0=>1)
        data = R32_FLOAT +0.35  +0.35       +0.35 +0.35
        ;                 X&Y pos (no NVG) | X&Y pos (in NVG)
    Basically, the two first number are UV coordinates of uppel left corner of help text when in normal view, the two last numbers are UV coordinates of uppel left corner of help text when in NVG view

Sharpen filter for cockpit (MSAA must be off)
--------------------------
Sharpen filter is toggled On/Off by pressing LAlt+F8 key. Sharpen is applyed only on cockpit to avoid shimmering on landscape and optimize performance. If requested I may setup 2 settings for cockpit
and landscape.
Sharpen strenght and luma can be customized in user_keymapping.ini file for activation by key press or defined by default in user_setting.ini file.
Toggle setting in user_keymapping.ini are in the section below:
    Key = ALT no_ctrl no_shift VK_F8
    type = cycle
    ; 0 = no sharpen,  the higher it is, the more sharpen
    $sharpenValue = 3, 0.0
    ; mul factor for luma (brightness) : 1.0 : no change, <1.0 : dimmer, > 1.0 : brighter
    $sharpenLuma = 1.25, 1.0

Default values in user_var_initialization.ini are in the section below:
    ;----------------
    ; default value for sharpen
    ;----------------
    ; 0 = no sharpen,  the higher it is, the more sharpen
    $sharpenValue = 0.0
    ; mul factor for luma (brightness) : 1.0 : no change, <1.0 : dimmer, > 1.0 : brighter
    $sharpenLuma = 1.0

Cockpit colors (works in 2d too)
--------------
Cockpit color lightening can be toggled by LSHIFT+F1. It can be modified by modifying lines
$cockpitColorAdd = 0.01, 0.0
$cockpitColorMul = 1.0, 1.0
In user_keymapping.ini

Label masking (works in 2d too)
-------------
Label masking by cockpit frame is off by default and can be toggled by LALT+F10

Mirror sun glare
----------------
Mirror sun glare can be toggled off/on by LShift+F8

Radio messages copy/paste
-------------------------
Radio messages copy can be copied in cockpit view by LSHIFT+F3.
It will appears reddish in front of you and in map view (F10). When in map view, a new LSHIF+F3 will add map coordinates at bottom of radio message (when in cockpit view). Either Radio or Map coordinates are updated when pressing LSHIFT+F3 in the appropriate view.
Radio messages and map coordinates can be toggled on/off by pressing LSHIFT+F5 and erased by LALF+F5



Key binging can be modified in files users_settings\user_keymapping.ini or users_settings\user_keymapping_zoom.ini

Installation : It is best to use Jsgme or ovgme, but you can unzip the contail of the zip into dcs world install dir.

Unsintallation : It is best to use Jsgme or ovgme, but you can use the provided uninstall.bat

The mod has been tested with the graphics settings joined.
Is is not compatible with kegetys mod.
Global cockpit illumination and SSAA should be off.

Known bugs:
•  Mouse not working with new zooms
•  Dynamic illumination in cockpit not zoomed
•  Some glitches in zoom when using MSAA
•  Sea color changing when zooming
•  Label not masked when zooming in some situation
•  Out of sync convergence during transition when using Pimax zoom without PP


It may eat 2 to 3 fps.

This mod is only possible because of the work of people making the Helix or 3Dmigoto libs, see http://helixmod.blogspot.com or https://github.com/bo3b/3Dmigoto/releases
Sharpen algorithm and lot of code for it taken from here : https://astralcode.blogspot.com/2018/11/reverse-engineering-rendering-of_13.html

02/08/2020: version 3.2 : compatibility with OB 2.5.5.41962 and stable 2.5.5.41371, bug fixes
01/12/2020: version 3.1 : bug fixes
12/29/2019: version 3.0.0 : compatibility with OB and stable 2.5.5.41371, sharpen, new zoom & NVG setting mode with help text, setting for PP fix for spyglass zoom, bug fixes
12/14/2019: version 2.8.0 : bug fixes (message copy should work with all maps, icon masking should also work in all situation)
12/08/2019: version 2.7.0 : compatibility with stable and OB DCS  2.5.5.40647, support for spyglass VR zoom without PP for Pimax.
09/08/2019: version 2.6.3 : compatibility with 2.5.5.35461 and stable version, improved copy/paste for radio messages, add convergence for NVG view, fix for F18 HUD
08/31/2019: version 2.6.2 : bug fix
08/25/2019: version 2.6.1 : added 2 missing shader for MSAA2x and MSAA4x (needed for PP fix, color modification and radio messages copy)
08/15/2019: version 2.6 : compatibility with  2.5.5.34644
08/04/2019: version 2.5.1 : fix cusor and kneepad too dark by default
08/03/2019: version 2.5 : bug fixes, no more need to declare PS shaders for label masking, normal and modded zoom can be stacked, support for kegetys mod (but only for specific settings)
07/07/2019: version 2.3 : compatibility with 2.5.5.33184
06/27/2019: version 2.2: label masking is working in 2D mode
06/10/2019: version 2.1 : support of MSAA 2X and 4X, added shaders for Normandy and Persian Gulf maps
06/09/2019: version 2.0 : compatibility with 2.5.5.31917 Open Beta and copy/paste for radio and map coordinates
06/01/2019; version 1.8.1 there was a mistake in config. file for Pimax PP Fix
06/01/2019; version 1.8, glitch with sea  and PP fix out of sync with zoom fixed
  • License: Freeware - Free version, Unlimited distribution
  • Language: Any language
  • Size: 11.26 Mb
  • Downloaded: 591
  • Comments: 2
Tags: 3DMIGOTO, VR, ZOOM, Labels
FOLLOW US