Jump to content



Photo
* * * * * 13 votes

VP with VR headset


  • Please log in to reply
2044 replies to this topic

#561 Rawnei

Rawnei

    Enthusiast

  • Platinum Supporter
  • 320 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: There's too many good ones but I really love the atmosphere in Cirque Voltaire!

Posted 06 May 2019 - 01:32 PM

 

Fix for flasher based DMD's, unzip in the VPX\glshader directory, will make all flasher based DMD's work properly including CV.

 

Can you explain in detail where to place these glfx files, and how to implement them in the editor?

 

 

Look in your Visual Pinball folder, in there you should have a folder named glshaders, in that folder you have the same files that are in this zip, overwrite those files with the new ones and you are done.



#562 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 06 May 2019 - 03:39 PM

 

 

Fix for flasher based DMD's, unzip in the VPX\glshader directory, will make all flasher based DMD's work properly including CV.

 

Can you explain in detail where to place these glfx files, and how to implement them in the editor?

 

 

Look in your Visual Pinball folder, in there you should have a folder named glshaders, in that folder you have the same files that are in this zip, overwrite those files with the new ones and you are done.

 

 

Incredible! Highly recommended!! Thank you very much! CV almost looks real now.

 

I got some frame drops here and there, but I had that before. Man, I need a new GPU, anybody has a 2080 or 2080ti to give away?


Edited by blindpeser, 06 May 2019 - 03:41 PM.


#563 rob046

rob046

    Often Emulated, Never Duplicated

  • Members
  • PipPipPipPipPip
  • 2,025 posts
  • Location:Central PA

  • Flag: United States of America

  • Favorite Pinball: 8 Ball Deluxe, ToM, & Funhouse



Posted 06 May 2019 - 04:06 PM

Following this. Likely getting a Rift S once it releases. Pinball in VR has so much potential now & in the years to come. Any installation instructions on this? Don't have time to look through 30 pages worth of posts.



#564 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 06 May 2019 - 04:24 PM

https://sourceforge....etting started/

 

https://www.reddit.c...ball_vr_pinsim/

 

 

start with this table. probably overall the best experience:

 

https://vpinball.com...-family-vr-vpx/



#565 Dez88

Dez88

    Hobbyist

  • Members
  • PipPip
  • 19 posts

  • Flag: England

  • Favorite Pinball: NBA Fastbreak

Posted 06 May 2019 - 05:23 PM

 

 

 

Fix for flasher based DMD's, unzip in the VPX\glshader directory, will make all flasher based DMD's work properly including CV.

 

Can you explain in detail where to place these glfx files, and how to implement them in the editor?

 

 

Look in your Visual Pinball folder, in there you should have a folder named glshaders, in that folder you have the same files that are in this zip, overwrite those files with the new ones and you are done.

 

 I need a new GPU, anybody has a 2080 or 2080ti to give away?

 

 

Thanks for the heads up on the table. It stutters on the 2080ti though, so save your money for now:)



#566 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 06 May 2019 - 06:03 PM


 


 


 


Fix for flasher based DMD's, unzip in the VPX\glshader directory, will make all flasher based DMD's work properly including CV.

 
Can you explain in detail where to place these glfx files, and how to implement them in the editor?
 
 
Look in your Visual Pinball folder, in there you should have a folder named glshaders, in that folder you have the same files that are in this zip, overwrite those files with the new ones and you are done.
 
 I need a new GPU, anybody has a 2080 or 2080ti to give away?
 
 
Thanks for the heads up on the table. It stutters on the 2080ti though, so save your money for now:)

Ok, what is this about? I have a bit stuttering on some events and during multiball. Most of the times the ball runs smooth with my 1080.

#567 Rawnei

Rawnei

    Enthusiast

  • Platinum Supporter
  • 320 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: There's too many good ones but I really love the atmosphere in Cirque Voltaire!

Posted 06 May 2019 - 06:45 PM

Runs well on my 1080ti and Ryzen 5 1600x.

 

Can sometimes slow down on TAF VR room version when there are a lot of things going on.



#568 Dez88

Dez88

    Hobbyist

  • Members
  • PipPip
  • 19 posts

  • Flag: England

  • Favorite Pinball: NBA Fastbreak

Posted 06 May 2019 - 07:31 PM

Perhaps i'm running an older build, 10.6? it went all psycho when the head popped up a few times, then completely locked up.

 

To be honest it's been a while, FX2VR dragged me in, and it's been the joy of online racing that's taken the rest of my time.



#569 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 07 May 2019 - 08:37 AM

@Caligula: DDH69 is working on a neat a way to get rumble done for Pinsim. Another board has to be put into the Pinsim for that. Just for my interest. Is it possible to implement xinput support into vpvr, like mentioned in the following links? As far as I know input and output is bound to to xinput on xbox 360 controllers.

 

https://www.codeproj...n-C-with-XInput

https://docs.microso...bration-effects


https://lcmccauley.w...tutorial-part2/


Edited by blindpeser, 07 May 2019 - 08:38 AM.


#570 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 10 May 2019 - 08:21 AM

Hey @Rawnei, I just noticed you made some fixes on vpvr. Do we get a new version soon?



#571 Caligula_

Caligula_

    Enthusiast

  • Platinum Supporter
  • 74 posts

  • Flag: Germany

  • Favorite Pinball: Addams Family

Posted 12 May 2019 - 03:34 PM

New version is online. With latest (R3699) patches from VPX, the bugfixes from Rawnei and the BAM Headtracking support from Rafal (ravarcade.pl). Sadly I could not spend much time on the project myself (so no big contributions from my side).

 

@Blindpeser: Rumble is not a big problem from technical point of view (I wanted to port the input handling to SDL which also has rumble support: https://wiki.libsdl....ryForceFeedback), but the bigger question is when should rumble be activated? Should it be a table specific feature or should it happen when a ball is hit with a flipperfinger, by the plunger  or other "generic" events? When do other Pinball games rumble (I don't play Pinball with gamepad and neither my keyboard nor my PinSimController have Rumble).



#572 mouja

mouja

    Hobbyist

  • Silver Supporter
  • 14 posts

  • Flag: France

  • Favorite Pinball: F14-Tomcat

Posted 12 May 2019 - 06:23 PM

I don't know what's wrong with this update for me, but I get either a white/grey screen (white render filling the entire screen), or either a black screen. For information I only found the R3696 patch)

 

(Otherwise thanks so much Caligula for this VR plugin ! I'm spending all my free time with it since 1 week. I will post tonight a few things.)



#573 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 12 May 2019 - 06:39 PM

@Caligula: DDH69 just finished a pretty neat rumble solution. The great thing is that it is working w/o additional code in the table or the vpx engine. But you an additional board and a bit hardware to get this run. This lets the motors rumble by bumpers, slings and flips hits.

On the other hand there is no rumble for ball rolling, drop target hit and other toy hits. And there is no rumble for special events like jackpots, multiball starts and wizard mode starts.

A softwa

#574 Rawnei

Rawnei

    Enthusiast

  • Platinum Supporter
  • 320 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: There's too many good ones but I really love the atmosphere in Cirque Voltaire!

Posted 13 May 2019 - 03:57 AM

I don't know what's wrong with this update for me, but I get either a white/grey screen (white render filling the entire screen), or either a black screen. For information I only found the R3696 patch)

 

(Otherwise thanks so much Caligula for this VR plugin ! I'm spending all my free time with it since 1 week. I will post tonight a few things.)

 

Do you have Post-Processing Anti-Aliasing turned on in video settings? Turn that off.

 

You can use Brute-force 4x SSAA if your computer can handle it but the other AA modes will break it.



#575 gear323

gear323

    VPXVR is awesome.

  • Members
  • PipPipPip
  • 324 posts
  • Location:New Jersey

  • Flag: United States of America

  • Favorite Pinball: All

Posted 13 May 2019 - 04:19 AM

New version is online. With latest (R3699) patches from VPX, the bugfixes from Rawnei and the BAM Headtracking support from Rafal (ravarcade.pl). Sadly I could not spend much time on the project myself (so no big contributions from my side).

 

@Blindpeser: Rumble is not a big problem from technical point of view (I wanted to port the input handling to SDL which also has rumble support: https://wiki.libsdl....ryForceFeedback), but the bigger question is when should rumble be activated? Should it be a table specific feature or should it happen when a ball is hit with a flipperfinger, by the plunger  or other "generic" events? When do other Pinball games rumble (I don't play Pinball with gamepad and neither my keyboard nor my PinSimController have Rumble).

 

Hi Calgula, 

 

Pinball FX3 did a really good job with the rumble force feedback and that works with an XBOX gamepad as well as with the PinSim VR controller if your Pinsim has the rumble motors installed. My PinSim happens to have an H-Bridge with an external power supply and larger motors and adjustable voltage but that is a special use case.  Below are a list of things that should activate the force feedback.

 

1. Kickers

2. Bumpers

3. SlingShots

4. Knocker

5. Shaker

 

If it is possible to give the user control with a slider or numeric value for the strength and duration of each of these force feedback events individually that would be ideal.  I would think this would be global for all tables once set up but if we could have a text file parameters on a per table basis that will override the global settings if the file exists for example that would be amazing!

 

Thanks Calgula!! 


Edited by gear323, 13 May 2019 - 04:31 AM.


#576 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,637 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 13 May 2019 - 04:57 AM

Regarding rumble, have a look at this thread https://www.vpforums...showtopic=42253

 

This solution supports fully adjustable rumble speeds on either motor in all 4 Xbox controllers if you really want.  It requires no changes to tables or getting VPX to try and run the device directly.  Able to be set for any standard toy output, so bumpers, slings, drop targets, knocker, shaker, fan, chimes, etc.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#577 mouja

mouja

    Hobbyist

  • Silver Supporter
  • 14 posts

  • Flag: France

  • Favorite Pinball: F14-Tomcat

Posted 13 May 2019 - 08:29 PM

 

I don't know what's wrong with this update for me, but I get either a white/grey screen (white render filling the entire screen), or either a black screen. For information I only found the R3696 patch)

 

(Otherwise thanks so much Caligula for this VR plugin ! I'm spending all my free time with it since 1 week. I will post tonight a few things.)

 

Do you have Post-Processing Anti-Aliasing turned on in video settings? Turn that off.

 

You can use Brute-force 4x SSAA if your computer can handle it but the other AA modes will break it.

 

 

 

Oh thanks it fixed the issue... with a great bonus aside from that !  The visual clarity is now much better. It looks cleaner, sharper, shinier. I feell like having a new HMD. :-)
 

Thank you for the fix about the flasher based DMDs also. That offers a lot of freedom with the size and the position of the DMD, very useful in VR.

With your fix I'm currently reworking a lot of tables with a big and transparent DMD. For my personal taste I also add a very shiny ball with a new environment lightning, a lockdown bar often missing, useful mainly in VR, and some other visual adjustments for a more confortable VR viewing. The backglass is modified also, illuminated by default, and more darker below for matching with the transparent DMD.


https://www.youtube....h?v=iGObX3h-_Mo

 

https://uptobox.com/1vsforwtgye6

 

(sorry I repost, I badly edited.)

 

Oh thanks it fixed the issue... with a great bonus aside from that !  The visual clarity is now much better. It looks cleaner, sharper, shinier. I feell like having a new HMD. :-)
 

Thank you for the fix about the flasher based DMDs also. That offers a lot of freedom with the size and the position of the DMD, very useful in VR.

With your fix I'm currently reworking a lot of tables with a big and transparent DMD. For my personal taste I also add a very shiny ball with a new environment lightning, a lockdown bar often missing, useful mainly in VR, and some other visual adjustments for a more confortable VR viewing. The backglass is modified also, illuminated by default, and more darker below for matching with the transparent DMD.

https://www.youtube....h?v=iGObX3h-_Mo

 

https://www.youtube....h?v=iH1W8WAHUm0

 

Link for the Addam's Family table

https://uptobox.com/1vsforwtgye6


Edited by mouja, 13 May 2019 - 08:37 PM.


#578 Rogerooo

Rogerooo

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: Portugal

  • Favorite Pinball: Medieval Madness

Posted 14 May 2019 - 02:35 AM

Amazing stuff, this is such a breath of fresh air for VP and virtual pinball in general. I have a quick question though and sorry if this has already been asked.

 

How do you maintain multiple installations/versions of VPX on the same machine?

I mean, when you specifically configure VPX_GL for VR (AA off and other settings to improve performance) those visual preferences are stored globally on your system and looks like they affect the regular VPX editor for desktop playing, even if you duplicate the VPX installation folder. Can the settings for VPinballX_GL be stored in an ini file on the game's folder? It would be more convenient to easily switch between devices/play sessions.

 

Keep up the good work!

 

EDIT: Think I found a simple solution for my problem. Since Visual Pinball stores the settings in the Windows registry we can change the values using a .reg file that can be opened when we start VPinballX.exe with a batch file. This was my method if you guys want to follow it.

 

1. Open the registry editor (if you don't know how to do it follow this guide for your Windows version)

 

2. Navigate to the following path: HKEY_CURRENT_USER\Software\Visual Pinball\VP10\Player

    You should see a list of the game's settings starting with AdaptiveVSync, AddCreditKey, etc.

    WARNING: Don't make any changes here, the registry should be handled via Visual Pinball only!

 

3. Save your current settings into a .reg file by going to File -> Export...

    For simplicity save the file into your VP root folder, where the game's executable is.

    Keep the Registry Editor open because it will be necessary again later.

 

4. Open VPinballX_GL.exe (no need to load a table)

 

5. Go to Preferences -> Video/Graphics Options...

 

6. Change the settings according to the mode you want to configure next. For instance, if you had your preferences set up for VR playing, the .reg file we saved earlier has those settings saved, so we need to change the values for regular screen playing. In my case I just clicked the "Set for HighEnd PC" button but take your time to pick the appropriate settings for your system/setup and test them if necessary. Vice versa if you want to set up VR preferences instead.

 

7. After changing the visual options press OK and close Visual Pinball.

 

8. Go back to the Registry Editor and press F5 to refresh the values.

 

9. Repeat step 3 but save the file with a diferent name. In my case, the 2 files I saved were named after the executable's filename, VPinballX_GL.reg for the VR settings and VPinballX.reg for the regular desktop playing settings.

    You can close the Registry Editor.

 

10. Now that we have the 2 sets of options saved we can use them to automatically change the settings every time we open the game using a simple batch file to achieve this.

      Create 2 new blank files inside the root folder of VP (where the game's executable is) and rename them VPinballX.bat and VPinballX_GL.bat for opening their respective executables (the name is not important but make sure the extension is .BAT)

 

11. Open the VPinballX.bat file with the notepad and copy and paste the following lines of code into it and save. (The first line silently loads the registry edits without requesting user input for permissions, thats what the "/S" flag stands for. The second line just opens VPinballX. Really simple stuff)

 

regedit.exe /S VPinbalX.reg
start VPinballX.exe
 
12. Do the same with these lines for the VPinballX_GL.bat
 
regedit.exe /S VPinbalX_GL.reg
start VPinballX_GL.exe

 

13. If everything is in the correct place and there were no errors we can now open the game by using these batch files we created. Check if the correct changes are applied for each program.

 

That's it, not too complicated but it's very useful if you want to play the game on the same system without worrying about configurations. Let me know if you guys need any help or if you have a simpler solution.


Edited by Rogerooo, 14 May 2019 - 04:38 AM.


#579 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 14 May 2019 - 08:54 AM

Regarding rumble, have a look at this thread https://www.vpforums...showtopic=42253

 

This solution supports fully adjustable rumble speeds on either motor in all 4 Xbox controllers if you really want.  It requires no changes to tables or getting VPX to try and run the device directly.  Able to be set for any standard toy output, so bumpers, slings, drop targets, knocker, shaker, fan, chimes, etc.

Awesome work! Going to put this together on sunday I think.



#580 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 14 May 2019 - 08:01 PM

@Caligula_ & @Rawnei: Thanks for all the work! I just found a bug I think. Not sure if it is due to VPX or VPVR: When I dim the environment lighting to almost zero and change the night/day settings to almost night everything is dark but the playfield. It seems to keep the same brightness, no matter what. And I miss the AA settings in the new build. Have a bit more flickering here and there.

 

@3rdaxis: Could you please send me a message? Thanks mate