3Dmigoto VR mod for DCS : new zoom, label masking and Pimax Parallel Projection fix - Page 2 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 06-16-2019, 09:36 PM   #11
cuervo111
Member
 
Join Date: Aug 2011
Location: London, UK
Posts: 182
Default

Quote:
Originally Posted by lefuneste01 View Post
The label masking is working by adding a "mask" drawn by pixel shaders.
Unfortunately, a LOT of pixel shader are used for planes, and most of them are dedicated to a specific plane. I made them for the plane I have, but F18 and F14 (at least) may have lacks. So did you try with a FC3 plane, the Huey or the Shark, the Harrier,...?

The label masking is off by default, it must be triggered by pressing LALT + F10.
And I did not check if it works in 2D...Maybe shaders for labels are not the same...I'll have a look, but I wont have the time before at least 2 weeks.
Thanks for your answer! Yes I tried it with the Huey because I saw your screenshot.

I tried to use lalt f10 and also changing the default in the settings file so I guess it's something specific to non VR rendering?

Out of curiosity, are you a 3d graphics developer or something like that? Pretty awesome stuff, regardless of this issue!
__________________
DCS Rosetta, my automatic DCS mission and campaign translator: https://forums.eagle.ru/showthread.php?t=233877
cuervo111 is offline   Reply With Quote
Old 06-17-2019, 03:55 PM   #12
lefuneste01
Member
 
Join Date: Oct 2010
Location: france
Posts: 381
Default

Quote:
Originally Posted by cuervo111 View Post
Out of curiosity, are you a 3d graphics developer or something like that? Pretty awesome stuff, regardless of this issue!
Not at all, I'm just a guy that has some basic IT knowledge and make a lot of rough "test and see results". Not very efficient, I spend much more time than a real dev would.
Nethertheless, the 3dmigoto lib is great and help a lot, the guy who made it is a real dev. Kegetys also.
lefuneste01 is offline   Reply With Quote
Old 06-27-2019, 09:17 PM   #13
lefuneste01
Member
 
Join Date: Oct 2010
Location: france
Posts: 381
Default

I updated the first post : the 2.2 version supports now label masking in 2D.
lefuneste01 is offline   Reply With Quote
Old 07-02-2019, 09:31 PM   #14
twells555
Junior Member
 
Join Date: Jan 2018
Posts: 39
Default How to install

Hi all,

A few questions about installing the mod. I'm using the Pimax5k+, have parallel projection turned off, and am using the normal fov. I installed the mod using ovgme and can see the dll's and files in the bin directory with the DcsWorld executable. I mapped the DcsworldVR zoom key to num* per the install instructions. Oh yeah, I'm using the latest 2.2 version without kegotis installed....usually have kegotis installed but the latest update is giving me some trouble, so I'm trying this mod without it...Dcs performance is surprisingly good since the last update even without the shader mod...

But when I start Dcs with the mod enabled via ovgme, the initial menu screen is quite messed up...almost looks like the basic dcs zoom feature when parallel project is turned off...but worse...very hard to explain...but it looks like its zooming in by default...and when I then press the key I have mapped to zoom...it seems to unzoom and looks better, but still quite messed up. LOL...sorry, its hard to explain! But its painful...

I obviously messed something up somewhere...or missed a step...seems to work fine for others... For the Pimax Normal FOV do I need to modify one of the user files to make it look right? I tried pressing the end and pagedown keys with the zoom held to adjust things per the install instructions but that didn't help at all...
tim
__________________
Fargo
I7-7700, GTX1080Ti,32GRam,Pimax 5k+,TM WartHog, MTG Pedals
twells555 is offline   Reply With Quote
Old 07-03-2019, 10:58 AM   #15
lefuneste01
Member
 
Join Date: Oct 2010
Location: france
Posts: 381
Default

Quote:
Originally Posted by twells555 View Post
Hi all,

A few questions about installing the mod. I'm using the Pimax5k+, have parallel projection turned off, and am using the normal fov. I installed the mod using ovgme and can see the dll's and files in the bin directory with the DcsWorld executable. I mapped the DcsworldVR zoom key to num* per the install instructions. Oh yeah, I'm using the latest 2.2 version without kegotis installed....usually have kegotis installed but the latest update is giving me some trouble, so I'm trying this mod without it...Dcs performance is surprisingly good since the last update even without the shader mod...

But when I start Dcs with the mod enabled via ovgme, the initial menu screen is quite messed up...almost looks like the basic dcs zoom feature when parallel project is turned off...but worse...very hard to explain...but it looks like its zooming in by default...and when I then press the key I have mapped to zoom...it seems to unzoom and looks better, but still quite messed up. LOL...sorry, its hard to explain! But its painful...

I obviously messed something up somewhere...or missed a step...seems to work fine for others... For the Pimax Normal FOV do I need to modify one of the user files to make it look right? I tried pressing the end and pagedown keys with the zoom held to adjust things per the install instructions but that didn't help at all...
tim
Strange. Can you try with Low FOV in Pimax ? Did you use same graphics options than in the first post ? Do you use IPD change in DCS VR option ?
Normally if anything is triggered, the display should be as standard game, so nothing is to be changed and I do not understand why you have a kind of shifted images. What the PP fix do is to shift right and left image to an opposite direction only when zooming.
If you setup Mirror display in steamVR for both eye, you will see black bar for each image when pressing num*. Can you check that there is no black bars if you do not use num* ?
Can you have a look in the bin directory and suppress d3dx_user.ini fileif it exists ? It will be generated again at next DCS launch with defaut values.
Can you try to setup a zoom level as described in first post and save it ?
lefuneste01 is offline   Reply With Quote
Old 07-04-2019, 12:03 AM   #16
twells555
Junior Member
 
Join Date: Jan 2018
Posts: 39
Default

Hi Lefuneste01...Thank you for your quick reply. Lets see...
Yes, I will try low FOV this evening and get back to you...
I do not change the IPD in DCS or move the Pitool option from its default position. All pimax are at default for everything and parallel projection is turned off.

Not sure what graphics options you are asking about 'in the first post'...I set the UI VR zoom option to use the num* key in DCS and then tried holding that key and adjusting with the end and pagedown key...is that what you mean? Doing that did not focus the view using either key and didn't seem to have much effect at all...

I am a bit confused by this line in the first post:

"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."

What is modded zoom? (I used the NUMPAD* key)

I don't know how to set up Mirror display in steamVR but I will google it and try that. (I'm not a 'gamer'....I fly dcsworld flight sim and thats all, so other than the settings super sampling stuff I never go into steamVR, just start steam from Pitool and then launch Dcsworld) I'll try and get back to you when I figure it out...

When I try it this evening I will delete the x3dx_user.ini file and let it regenerate itself...

tim
__________________
Fargo
I7-7700, GTX1080Ti,32GRam,Pimax 5k+,TM WartHog, MTG Pedals
twells555 is offline   Reply With Quote
Old 07-04-2019, 06:13 PM   #17
lefuneste01
Member
 
Join Date: Oct 2010
Location: france
Posts: 381
Default

Quote:
Originally Posted by twells555 View Post
Not sure what graphics options you are asking about 'in the first post'..
Look at the image containing DCS graphics settings


Quote:
Originally Posted by twells555 View Post
What is modded zoom? (I used the NUMPAD* key)

The quick zoom I added with the mod. Setup low FoV in Pitool and press HOME key when in cockpit.
lefuneste01 is offline   Reply With Quote
Old 07-04-2019, 07:44 PM   #18
cuervo111
Member
 
Join Date: Aug 2011
Location: London, UK
Posts: 182
Default

Hey lefuneste, quite excited to see you are working on this again.
However the 2d masking is still not working for me. The plugin seems to be properly installed because the zooming functionality is there.
I also see a strange effect while zooming normally now. There is a portion of the screen black at the right of the screen that becomes smaller until it diseappears and goes back to normal in about a second.

I tried with the huey. Maybe I am missing something?
__________________
DCS Rosetta, my automatic DCS mission and campaign translator: https://forums.eagle.ru/showthread.php?t=233877
cuervo111 is offline   Reply With Quote
Old 07-05-2019, 12:53 PM   #19
lefuneste01
Member
 
Join Date: Oct 2010
Location: france
Posts: 381
Default

Stupid question : did you activate label masking by LALT+F10 ?


Regarding the black part of the screen : That's normal if you use NUM* to zoom but do not have a Pimax. You should remove the following lines in user_keymapping_zoom.ini:

[Key4]
;for Pimax 5k/8k only : set Xoffset for DCS build in zoom with no PP
Key = NO_MODIFIERS VK_MULTIPLY
; Key = NO_MODIFIERS VK_LEFT
type = hold
; delay = 750
; transition_type = cosine
transition = 850
release_transition = 850
;------------------------
; Do not modify these lines
$zoomSetting = 4
$zoomFactor = 1.0
; run = CommandListZoomVR
; $imageXoffset = 0.234999925
$imageXoffset = 1


I will setup a easier way to disable this function in future versions
lefuneste01 is offline   Reply With Quote
Old 07-06-2019, 07:59 AM   #20
lefuneste01
Member
 
Join Date: Oct 2010
Location: france
Posts: 381
Default

The mod is broken with the last beta version. I have to rebuild it.

Last edited by lefuneste01; 07-07-2019 at 07:25 PM.
lefuneste01 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 12:09 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.