Jump to content



Photo
- - - - -

Problem with playfield LED display matrix in VR


  • Please log in to reply
12 replies to this topic

#1 xzotic

xzotic

    Pinball Fan

  • Platinum Supporter
  • 637 posts

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

  • Favorite Pinball: TOTAN

Posted 06 February 2023 - 07:52 AM

Hey Guys,

I've fired up a non-VR vpx table - Stern's World Poker Tour (Tried Bigus mod and FSS tables) and I know these won't necessarily work right out the gate if not optimised for VR. However the table looks and plays great (with either version) without any changes except for the playfield Dot Matrix Display which is supposed to show the poker hand cards. Everything else, including the DMD etc is all good. Just nothing displays on the playfield LED matrix.

 

I've looked at the code and the LED objects but with my limited knowledge I can't see what needs to change to get them working in VR. I tried raising the z access but that just raises the LED's off the playfield. They still don't light up.  I also tried 'bringing them to front' but that didn't help either.

 

It's one of my favourite tables so it would be great if there is a simple fix so that the playfield matrix works in VR.

 

Any thoughts or ideas would be appreciated. Thanks. 


|

|

___________________________________________

YouTube: www.spaciesarcade.com


#2 bigus1

bigus1

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,009 posts
  • Location:Brisbane, Australia

  • Flag: Australia

  • Favorite Pinball: Firepower

Posted 06 February 2023 - 08:20 AM

You could try messing with the depth bias.  On layer 6 make a box around the lights and select all 490 LED lights then try different values for depth bias. 10000, minus 10000, zero, 1, -1, anything you like.  I don't have VR to test but the number makes no difference in DT, although it's currently set at 2000 for some reason.



#3 xzotic

xzotic

    Pinball Fan

  • Platinum Supporter
  • 637 posts

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

  • Favorite Pinball: TOTAN

Posted 06 February 2023 - 02:07 PM

Thanks Bigus (thanks also for all your great mods!)  :love39:

 

Playing with just the Depth Bias didn't yield any change regardless of value. So I stripped back all other table objects and lights away on the playfield to see if anything was being rendered in-front of the light matrix somehow. However again no change. So I copied the values from one of the table insert lights and then they appeared. There was some bad blooming so I dialed the setting values down until they became nice and clear.

 

These are the values that work for me:

LIGHT SETTINGS (Once all are selected on Layer 6)

Intensity: 100

Fade up: 20

Fade Down: 20

Falloff Range: 20

Falloff Power: 0

 

RENDER MODE

Type: Halo

Halo Height: -0.03

Modulate: 1

Transmit: 0

 

BULB

Visible: Checked

Static Mesh: Checked

Bulb Size: 8.5

 

These are likely not to be optimal settings but they seem to work great and I can now play the table!

 

Thanks Bigus for the steer to get me on the right path.  :dblthumb:

 

Hopefully someone can take this beauty and wrap a casino VR room around it! :)

 

Cheers and again thank you.


|

|

___________________________________________

YouTube: www.spaciesarcade.com


#4 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 07 February 2023 - 04:56 AM


Hopefully someone can take this beauty and wrap a casino VR room around it! :)

I'm not a visual Pinball author/artist, but I can give it a shot to add it to VR .

EDIT : I just looked at bigus his version and out of the box this is showing this for me :

Attached File  OculusScreenshot1675747444.jpeg   101.77KB   2 downloads

The leds on the PF and the DMD are showing fine.
But as I don't have this beauty as VR, I will try to give it a VR room , cabinet etc

Edited by Mike DA Spike, 07 February 2023 - 11:16 AM.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#5 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 08 February 2023 - 12:23 PM

Ok. it's getting a room, a cab and a backbox now

 

Attached File  Spoiler.jpeg   83.07KB   1 downloadsAttached File  spoiler2.jpeg   120.32KB   0 downloads

 

 


331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#6 xzotic

xzotic

    Pinball Fan

  • Platinum Supporter
  • 637 posts

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

  • Favorite Pinball: TOTAN

Posted 08 February 2023 - 04:49 PM

Ok. it's getting a room, a cab and a backbox now

 

attachicon.gif Spoiler.jpegattachicon.gif spoiler2.jpeg

 

 

Oh WOW! Great!  :otvclap: That's awesome!

 

Not sure why the version I had didn't work for me, but oh well learnt a few things about the lights in the process. 

 

Thanks so much for working on the VR Room! 


|

|

___________________________________________

YouTube: www.spaciesarcade.com


#7 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 09 February 2023 - 09:05 AM

I bump into a problem that I didn't created, but not able to fix as well ...
When I jsut take the original table and run it in VR, it runs at an average of 48 FPS.
All my other tables runs with 90 FPS.

This causes that this table isn't running in VR smoothly.

 

I have a pretty decent system (Ryzon 7 5700X with a RTX3080)

Running the table in normal (cabinet) mode it is running at 165Fps. 
Sorry for this.

if anyone wants to test , please send me a PM for a link with a test version (not finished yet)


Edited by Mike DA Spike, 09 February 2023 - 09:37 AM.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#8 xzotic

xzotic

    Pinball Fan

  • Platinum Supporter
  • 637 posts

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

  • Favorite Pinball: TOTAN

Posted 09 February 2023 - 03:40 PM

Hmmm... When I run WPT in VR it is running at flat 90FPS....here are the stats:

wpt_fps.png

 

I'm running:

Intel i9 12900KF @5 GHZ

RTX 3080 Ti

 

Res is 3860x3784 

 

Can you please give me a table name of one that works smooth at 90FPS for you and I can test it on mine to see if it runs with a much lower load than WPT. 


Edited by xzotic, 09 February 2023 - 03:44 PM.

|

|

___________________________________________

YouTube: www.spaciesarcade.com


#9 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 09 February 2023 - 04:02 PM

I checked the fps from visual pinball itself. Gpu and cpu not crazy high.
Running for example GOT or another large table is running fine.

My Meta 2 is runing at 3936x1984

You use steam vr? I use pcvr (as steam should have some overhead)
I checked with my NVidia Geforce experience, but this doesn't give me any related information about FPS

Attached File  Screenshot.png   974.25KB   0 downloads


Edited by Mike DA Spike, 09 February 2023 - 04:31 PM.

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#10 xzotic

xzotic

    Pinball Fan

  • Platinum Supporter
  • 637 posts

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

  • Favorite Pinball: TOTAN

Posted 12 February 2023 - 09:23 AM

ok here are the stats from the test table with the vr room you sent me:

wpt_fps_room.png

 

I'm running WMR with SteamVR on a HP Reverb G2

 

GPU up14% and CPU up 5% with the room vs without. Stays about the same during gameplay and even multiball. 

So still 90FPS here and all good on my setup however appreciate that may not be the case on other configurations. 

 

Interestingly had to apply my light changes to your test table to see the playfield LED matrix again. Not sure why this aspect is still different on your setup to mine.


Edited by xzotic, 12 February 2023 - 02:26 PM.

|

|

___________________________________________

YouTube: www.spaciesarcade.com


#11 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 13 February 2023 - 03:49 AM

Yeah, really odd.
studlygoorite has almost the same config as I Have and experience the same fps.
Rajo Joey will take a look at this as well .

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#12 xzotic

xzotic

    Pinball Fan

  • Platinum Supporter
  • 637 posts

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

  • Favorite Pinball: TOTAN

Posted 15 February 2023 - 05:34 PM

OK I found something interesting.

 

I get bad frame rates when running the WPT table via VPX-VR-Launcher4. Pushes GPU to 98-99%. However when I run it straight from VPX it's back to 74% GPU and 90FPS again....

 

I found the same issue happens with Sega Star Wars Trilogy. I haven't found the problem with any other table however. 

 

What is even stranger is that the other tables that still play smooth 90FPS through VPX-VR-Launcher4 are also hitting 98-99% GPU. Again those same tables are only 70 odd% GPU run just from VPX. 

 

So for me, running WPT and Sega Star Wars Trilogy via the launcher gives me bad frames but all other tables are OK. Yet all appear to be maxing out the GPU via the Launcher?  :think:

 

My VR Launcher is configured with suspendmode=1 and startfocusgrab=0 as this is the only combination where it correctly goes back to the menu after exiting a game (at least on my setup).

 

Hope this helps to try and narrow down what might be happening here.


Edited by xzotic, 15 February 2023 - 05:34 PM.

|

|

___________________________________________

YouTube: www.spaciesarcade.com


#13 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 16 February 2023 - 03:23 AM

I don't use VPX-VR launcher.
All test where done via direct launch and pbx, but thanks for checking.

I will try your settings for vpx-vr launcher as well, as I could never exit a table (and tried a lot of combinations)

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters