Jump to content



Photo
* * * * * 13 votes

VP with VR headset


  • Please log in to reply
2044 replies to this topic

#1821 flupper1

flupper1

    Enthusiast

  • Members
  • PipPipPip
  • 464 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: Visual Pinball

Contributor

Posted 21 June 2020 - 04:40 PM

The latest beta (2020-06-16) plays and looks really good, but I am mystified by something:

For Whirlwind I made a new process for making inserts. They should look beautiful in VR, since they have depth and a nice texture. However, they do not seem to work in VR at all. I experimented a little and some preliminary findings:

- the VPX lights does not have any effect on the insert primitives as long as it is under the playfield level (halo height -8); as soon as I put it above 0 (or 0), there is some light effect, however not as it is in regular VPX. The VPX light is supposed to light the primitives from below with the transmit value.

- I use opacity 0,99 on the "insert off" texture and primitive, the light should penetrate that since it is supposed to light up to "insert on" primitive with the transmit value of 20 (at least that is how it works in regular VPX), but in VR it does not.

 

I included a demo file with two inserts form whirlwind, to check it out. In regular VPX it works as intended, in VR it does not. Hope you can fix this or point out how I could fix this!

 

https://mega.nz/file..._MwnAtl9d3xHnK4



#1822 rothbauerw

rothbauerw

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts
  • Location:Wisconsin - USA

  • Flag: United States of America

  • Favorite Pinball: Dr Who, Tee'd Off, Jive Time

Posted 21 June 2020 - 05:28 PM

 

Is Windows Defender something that should be turned off to improve performance? It’s the only virus protection I’m running. 

In the last days I have stuttering while playing VR. I disable the real-time protection and the stutter is gone. But after every new pc-start it is enabled again. I set it in the registry and in the group policies; it doesn't work. I have to set it manually every time after a reboot. Someone has another tipp?

Gesendet von meinem CMR-W09 mit Tapatalk

 

I ran into the same issue.  Windows installed a new option "Tamper Protection".  Turn that off and your setting should stick.



#1823 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

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

  • Favorite Pinball: System 11

Posted 21 June 2020 - 05:36 PM

@flupper

 

i don’t have an answer, but I want to sincerely thank you for looking out for us VR guys with your current project. Much appreciated. 
 

I do remember having to tweak Bord’s StarLight in order to get insert lights to show through. I think I raised them just beneath the Playfield — by one unit. Prior to doing so, they were completely dark in VR, but looked perfect in desktop


Edited by Ben Logan, 21 June 2020 - 05:38 PM.


#1824 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 21 June 2020 - 06:26 PM

Flupper - No answer for you, but I tried messing around with the depth bias of the light.  If you set it to -30000, you can see it lighting up from below (under the table)...   It looks like its transmiting light to the insert from below, but I also am unable to see the light without changing its halo height to +.   Ill keep playing with it some and see...  From what I see, they are going to look sweet :)

 

EDIT:  I raised both the insert and the light above the playfield, keeping the light below the insert.  It WILL light this way, but the light is not coming through the material very nicely.   So, it has something to do with the playfield getting in the way?  And the material used for the insert I think.


Edited by Rawd, 21 June 2020 - 06:47 PM.


 


#1825 WilsonB

WilsonB

    Enthusiast

  • Members
  • PipPipPip
  • 71 posts
  • Location:Colorado Springs

  • Flag: United States of America

  • Favorite Pinball: Funhouse

  • 360 Gamer Tag: GermanMeatBeatU

Posted 21 June 2020 - 07:04 PM

 

 

 

 

Just a notice if you don't already know...
There is also an active VR Pinball group here;
https://www.facebook...oups/VRPinball/

We talked about that a lot of times? Why shouldnt we discuss anything VPX VR related stuff here? Some (or maybe a lot of?) people do not like and dont want to use Facebook. I do not have even have an account there.
And some people or maybe a lot don't like vpforums also.
So it's no problem. If you don't want to miss anything, you have to register anywhere.

Gesendet von meinem CMR-W09 mit Tapatalk

Makes sense, vpforum is known for its famous owner that sells all your private data to get another billion fast. For vpforum privacy is just a word. And yeah, vpforums owner supports another a-holes election campaign. Oh wait...

 

 

WilsonB never said you can't talk about VR stuff here, he's just letting people know there are also other options out there for people who do frequent facebook.  Don't take it so personal man.

 

Exactly..   Geesh, :BDH: just more options. If you use both.. then great.


Oculus Quest w/ Virtual Desktop for Steam Oculus Rift emulation. Win 10 Pro64/i7-9700kCPU 3.6GHz /  Nvidia RTX 2080 Super


#1826 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 21 June 2020 - 08:38 PM

The latest beta (2020-06-16) plays and looks really good, but I am mystified by something:

For Whirlwind I made a new process for making inserts. They should look beautiful in VR, since they have depth and a nice texture. However, they do not seem to work in VR at all. I experimented a little and some preliminary findings:

- the VPX lights does not have any effect on the insert primitives as long as it is under the playfield level (halo height -8); as soon as I put it above 0 (or 0), there is some light effect, however not as it is in regular VPX. The VPX light is supposed to light the primitives from below with the transmit value.

- I use opacity 0,99 on the "insert off" texture and primitive, the light should penetrate that since it is supposed to light up to "insert on" primitive with the transmit value of 20 (at least that is how it works in regular VPX), but in VR it does not.

 

I included a demo file with two inserts form whirlwind, to check it out. In regular VPX it works as intended, in VR it does not. Hope you can fix this or point out how I could fix this!

 

https://mega.nz/file..._MwnAtl9d3xHnK4

Will look into it when I get time.



#1827 Rajo Joey

Rajo Joey

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,489 posts
  • Location:Niedersachsen

  • Flag: Germany

  • Favorite Pinball: Attack from Mars, Abra Ca Dabra and many old EM-Tables

Posted 22 June 2020 - 04:29 AM

 

Is Windows Defender something that should be turned off to improve performance? It’s the only virus protection I’m running. 

In the last days I have stuttering while playing VR. I disable the real-time protection and the stutter is gone. But after every new pc-start it is enabled again. I set it in the registry and in the group policies; it doesn't work. I have to set it manually every time after a reboot. Someone has another tipp?

Gesendet von meinem CMR-W09 mit Tapatalk
 
I ran into the same issue.  Windows installed a new option "Tamper Protection".  Turn that off and your setting should stick.
Thanks, that's it.

Gesendet von meinem CMR-W09 mit Tapatalk

Rajo Joey - My front-end-files; Hundreds of Audio- and Videorecordings in high quality for Playfield (4k/60FPS) and Backglass (HD), Wheels & POV-Files: The Media-Post

https://www.facebook...02697096474910/

https://www.facebook...oups/VPAddicts/

https://www.facebook...oups/VPjunkies/


#1828 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 22 June 2020 - 05:52 PM

The light issue will be fixed in next release. :)



#1829 RYSr

RYSr

    Pinball Fan

  • Charter Member
  • 511 posts
  • Location:Mercerville (Central) NJ, USA

  • Flag: United States of America

  • Favorite Pinball: TZ - G&R - MB - CV - Metallica

Posted 23 June 2020 - 02:48 AM

Slydog43, Do you have the Capture External DMD checked in the editor preferences / Keys, nudge and DOF section? If you have the color DMD setup and working in normal VP that should do it on most VRRoom tables.



#1830 Rajo Joey

Rajo Joey

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,489 posts
  • Location:Niedersachsen

  • Flag: Germany

  • Favorite Pinball: Attack from Mars, Abra Ca Dabra and many old EM-Tables

Posted 23 June 2020 - 06:37 PM

 

Is Windows Defender something that should be turned off to improve performance? It’s the only virus protection I’m running. 

In the last days I have stuttering while playing VR. I disable the real-time protection and the stutter is gone. But after every new pc-start it is enabled again. I set it in the registry and in the group policies; it doesn't work. I have to set it manually every time after a reboot. Someone has another tipp?

Gesendet von meinem CMR-W09 mit Tapatalk
 
I ran into the same issue.  Windows installed a new option "Tamper Protection".  Turn that off and your setting should stick.
Thanks, that's it.

Gesendet von meinem CMR-W09 mit Tapatalk
Nope, doesn't work. I disabled it, but today the real-time protection is again enabled.
Maybe it doesn't work jn version 1909 no more?

Gesendet von meinem CMR-W09 mit Tapatalk

Rajo Joey - My front-end-files; Hundreds of Audio- and Videorecordings in high quality for Playfield (4k/60FPS) and Backglass (HD), Wheels & POV-Files: The Media-Post

https://www.facebook...02697096474910/

https://www.facebook...oups/VPAddicts/

https://www.facebook...oups/VPjunkies/


#1831 sebrk

sebrk

    Neophyte

  • Members
  • Pip
  • 3 posts
  • Location:Gothenburg

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness (anything goes)

Posted 24 June 2020 - 07:38 AM

Hi everyone! I'm new to Visual Pinball but not pinball in VR. To date I built two custom cabinets simulating the exact feel of a real table. However I only played Steam games so far until I got notified of the VP community and I could not be happier.

 

I still have a lot to learn about the whole setup, the lingo and whatnot but so far I have a few tables running (although with performance issues).

 

Great work on the VR version! I was wondering if there is an open repository for VRVP and if it's possible to contribute in any way?


2 PinSim VR cabinets. 2080 Ti + i9 9900K @ +38% + 16 GB RAM.


#1832 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 24 June 2020 - 07:51 AM

Hi everyone! I'm new to Visual Pinball but not pinball in VR. To date I built two custom cabinets simulating the exact feel of a real table. However I only played Steam games so far until I got notified of the VP community and I could not be happier.

 

I still have a lot to learn about the whole setup, the lingo and whatnot but so far I have a few tables running (although with performance issues).

 

Great work on the VR version! I was wondering if there is an open repository for VRVP and if it's possible to contribute in any way?

Hello, what kind of contributions are you thinking about?

 

We have two repos atm, sourceforge is the original repo but the administrator (Caligula) is MIA atm, I do commits there but the builds I post here is not from this repo: https://sourceforge.net/projects/vpvr/

 

The other repo is me and DJRobX collaborating, this is where most of the development happens at the moment, we're focusing on VR specific stuff and not so much keeping up with VPX 10.7 beta changes: https://github.com/d.../select-updates

 

The code differs a bit in these two but should work similarly with the git repo having more performance enhancements and other tweaks, hopefully we can merge these in the future.



#1833 sebrk

sebrk

    Neophyte

  • Members
  • Pip
  • 3 posts
  • Location:Gothenburg

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness (anything goes)

Posted 24 June 2020 - 08:30 AM

 

Hi everyone! I'm new to Visual Pinball but not pinball in VR. To date I built two custom cabinets simulating the exact feel of a real table. However I only played Steam games so far until I got notified of the VP community and I could not be happier.

 

I still have a lot to learn about the whole setup, the lingo and whatnot but so far I have a few tables running (although with performance issues).

 

Great work on the VR version! I was wondering if there is an open repository for VRVP and if it's possible to contribute in any way?

Hello, what kind of contributions are you thinking about?

 

We have two repos atm, sourceforge is the original repo but the administrator (Caligula) is MIA atm, I do commits there but the builds I post here is not from this repo: https://sourceforge.net/projects/vpvr/

 

The other repo is me and DJRobX collaborating, this is where most of the development happens at the moment, we're focusing on VR specific stuff and not so much keeping up with VPX 10.7 beta changes: https://github.com/d.../select-updates

 

The code differs a bit in these two but should work similarly with the git repo having more performance enhancements and other tweaks, hopefully we can merge these in the future.

 

 

 

 

 

Hey that's awesome!

 

I'm not sure yet. But depending on time (got two small girls running circles) I might be able to help out. I'm an engineer myself working within the field of graphics and AR/VR and I just like to tinker with stuff.


2 PinSim VR cabinets. 2080 Ti + i9 9900K @ +38% + 16 GB RAM.


#1834 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 24 June 2020 - 09:57 AM

Hey that's awesome!

 

I'm not sure yet. But depending on time (got two small girls running circles) I might be able to help out. I'm an engineer myself working within the field of graphics and AR/VR and I just like to tinker with stuff.

 

That's sounds really good! I myself am squeezing some dev time into it when I can, I'm more of a beginner learning as I go. Have you worked with OpenGL?



#1835 sebrk

sebrk

    Neophyte

  • Members
  • Pip
  • 3 posts
  • Location:Gothenburg

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness (anything goes)

Posted 24 June 2020 - 11:41 AM

 

Hey that's awesome!

 

I'm not sure yet. But depending on time (got two small girls running circles) I might be able to help out. I'm an engineer myself working within the field of graphics and AR/VR and I just like to tinker with stuff.

 

That's sounds really good! I myself am squeezing some dev time into it when I can, I'm more of a beginner learning as I go. Have you worked with OpenGL?

 

 

I have but with different abstractions. Anyway, I'm learning as I go just like you. I also noticed we both share the same country of origin :)

 

On another note I also read that you got some discussions going on Facebook. I've never had a Facebook account and I most likely never will. Are you perhaps available to chat on discord @Rawnei


2 PinSim VR cabinets. 2080 Ti + i9 9900K @ +38% + 16 GB RAM.


#1836 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 24 June 2020 - 12:59 PM

 

I have but with different abstractions. Anyway, I'm learning as I go just like you. I also noticed we both share the same country of origin :)

 

On another note I also read that you got some discussions going on Facebook. I've never had a Facebook account and I most likely never will. Are you perhaps available to chat on discord @Rawnei

 

 

Sure, you can shoot me a message here, right now I'm a bit pressed on time though.



#1837 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 27 June 2020 - 09:35 AM

New build available for download 2020-06-26, we're experimenting with things trying to improve performance further.
 
 
As per usual backup your "VPinballX_GL.exe" and "glshader" folder if you want to easily return to your old version, I recommend doing that since this is somewhat of an experimental build and people might get mixed performance results.
 
Just unpack and overwrite all files to install.
 
What's New:
  • Performance: Trying EASTL library instead of STL which if faster for string operations (which there is a lot of in VPVR), this decreases CPU frame-time (https://github.com/e...ronicarts/EASTL)
  • Performance: Some very minor performance optimizations in both code and shaders.
  • Shader fixes: Some bulb light fixes, fixes for rare transparency artifacts (example Guns N Roses) and bloom over-saturation
  • Feature change: The preview window now displays the right eye instead of both eyes.
 
Known Issues:
  • It's known from before that  Windows Defender interferes with both VPX and VPVR due to VBScript in tables, more specifically it's the Windows Defender Real-Time protection that increases CPU frame-time a lot, adding exclusions in Windows Defender doesn't help either. This is becoming even more apparent now when we are pushing GPU frame-times down we can clearly see that Windows Defender is stalling VPVR CPU frame-time. An easy test is to disable Real-Time protection, the result in performance can be pretty dramatic. However I personally don't recommend running without anti-virus on a computer that is connected to the internet. Since VBScript in VPX/VPVR isn't going away anytime soon we're looking to see if we can find any workarounds, I also wrote about it in the VPX 10.7 beta thread on the forums.
  • Still experimenting with OpenVR functions to make VR rendering even more smooth, this is also impacted by the Windows Defender issue.

Edited by Rawnei, 27 June 2020 - 09:36 AM.


#1838 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,472 posts
  • Location:Embrun, Ontario, Canada

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

  • Favorite Pinball: Superman, Firepower & Tron



Posted 27 June 2020 - 06:47 PM

Thanks for the new version to test.  Question:  has it been confirmed if other anti-virus also suffer from the same interference?  On my pincab, i use Windows Defender but on my VR PC I still use Avast.



#1839 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 27 June 2020 - 09:59 PM

Thanks for the new version to test.  Question:  has it been confirmed if other anti-virus also suffer from the same interference?  On my pincab, i use Windows Defender but on my VR PC I still use Avast.

I believe all anti-virus products are affected as it's Microsoft functionality at the base of it.



#1840 Rajo Joey

Rajo Joey

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,489 posts
  • Location:Niedersachsen

  • Flag: Germany

  • Favorite Pinball: Attack from Mars, Abra Ca Dabra and many old EM-Tables

Posted 28 June 2020 - 05:49 AM

 

Is Windows Defender something that should be turned off to improve performance? It’s the only virus protection I’m running. 

In the last days I have stuttering while playing VR. I disable the real-time protection and the stutter is gone. But after every new pc-start it is enabled again. I set it in the registry and in the group policies; it doesn't work. I have to set it manually every time after a reboot. Someone has another tipp?

Gesendet von meinem CMR-W09 mit Tapatalk
 
I ran into the same issue.  Windows installed a new option "Tamper Protection".  Turn that off and your setting should stick.
My message, that it solves the problem, was wrong. I searched in the net and it seems, there is no way to disable the real-time protection in win 10 1909 and 2004. After a reboot it's always enabled and you have to disable it manually.

Gesendet von meinem CMR-W09 mit Tapatalk

Rajo Joey - My front-end-files; Hundreds of Audio- and Videorecordings in high quality for Playfield (4k/60FPS) and Backglass (HD), Wheels & POV-Files: The Media-Post

https://www.facebook...02697096474910/

https://www.facebook...oups/VPAddicts/

https://www.facebook...oups/VPjunkies/