Jump to content



Photo
* * * * * 3 votes

VR frontend - wip

vr frontend frontend vr

  • Please log in to reply
79 replies to this topic

#21 basbi

basbi

    VPX Launcher

  • Members
  • PipPipPip
  • 68 posts

  • Flag: Germany

  • Favorite Pinball: indiana jones

Posted 23 February 2020 - 10:34 PM

I don't have this problem, like you can see in the video.

I don't have this in 2d VPX too.

 

I run all vpx software (vpiname) in 32bit on win10.

I don't activate external DMD.

I have a gtx 1070 from Nvidia.

I use my oculus quest via third party usb 3.1 linkable.

 

Oculus software is allways loaded at system start. It's the device driver for steam vr.

I tried OpenComposite instead of steam vr without success in VPX.

I think steam vr is the only possible renderer for vrvpx.

 

But everything's works for me. Perhaps we can find your problem.


Edited by basbi, 23 February 2020 - 10:39 PM.


#22 Rawd

Rawd

    Pinball Wizard

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

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 23 February 2020 - 11:06 PM

I have the same problem. I am using HTC Vive Pro.

OK.  Thanks for the info.   This rules out the Oculus software as being the culprit.

 

 

@Basbi..   I think I have all the same settings as you do.  I'm using an Nvidia 980ti with original Rift + 4 cameras.



 


#23 basbi

basbi

    VPX Launcher

  • Members
  • PipPipPip
  • 68 posts

  • Flag: Germany

  • Favorite Pinball: indiana jones

Posted 23 February 2020 - 11:21 PM

 

I have the same problem. I am using HTC Vive Pro.

OK.  Thanks for the info.   This rules out the Oculus software as being the culprit.

 

 

@Basbi..   I think I have all the same settings as you do.  I'm using an Nvidia 980ti with original Rift + 4 cameras.

 

But if your 2d VPX without Rift & steam VR doesn't unload the last played table correctly, it sounds like a problem outside VR.

I can open and close as many tables in VPX as I want. Perhaps it's something with the ram? I have 16 GB.

 

We should first set up VPX 2d so that it behaves as it should. In the VR-facebook group, someone also told me about the memory problem. He must always close the program completely before starting the next table.

It would also be no problem for me to close the program completely and start it again automatically. To do this, I would build a utility that monitors VPX and restarts it when you close it. With each restart, it loads and starts the next table or menu. But this will slow things down. Loading speed will not be as good as now. The menu.vpx is there in a second. The loading time of the next table depends on its size and complexity but is fine from ssd too.



#24 Rawd

Rawd

    Pinball Wizard

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

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 23 February 2020 - 11:33 PM

But if your 2d VPX without Rift & steam VR doesn't unload the last played table correctly, it sounds like a problem outside VR.

 

 

My 2D VPX works fine.  Its just on the odd occasion that I need to restart VPX.   16gb ram here.

 

In VPVR settings, I am using RGBA 8, and Shader.


Edited by Rawd, 24 February 2020 - 01:15 AM.


 


#25 Rawd

Rawd

    Pinball Wizard

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

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 24 February 2020 - 01:20 AM

OK.. I figured it out!

 

In my VPVR settings, I changed it from "VR Auto-detect" to "VR Enabled".

 

It works perfectly now!  :)   Hopefully this also helps others with the same issue.

 

This is a really great solution Basbi.  Thank you for your work on this.


Edited by Rawd, 24 February 2020 - 04:44 AM.


 


#26 lizard

lizard

    Enthusiast

  • Platinum Supporter
  • 318 posts
  • Location:Australia

  • Flag: Australia

  • Favorite Pinball: Kiss

Posted 24 February 2020 - 07:31 AM

Thanks Rawd for finding a solution. Basby thanks for your efforts for the front end solution, i haven't tried it yet as i am in the middle of replacing my floor coverings an have my stuff all over the place, looking forward to it though.

 

Cheers



#27 otro5

otro5

    Enthusiast

  • Members
  • PipPipPip
  • 65 posts

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

  • Favorite Pinball: Lady Luck (1976)

Posted 24 February 2020 - 09:00 AM

Sorry. Its possible/easy change or add new tables?

 

Thanks a lot.



#28 basbi

basbi

    VPX Launcher

  • Members
  • PipPipPip
  • 68 posts

  • Flag: Germany

  • Favorite Pinball: indiana jones

Posted 24 February 2020 - 10:06 AM

Sorry. Its possible/easy change or add new tables?

 

Thanks a lot.

 

I don't know if it's "easy". You can change the Arrays in the head of Menu.vpx and add your Table-Filenames. You also need the images for the spinner.

Perhaps we can find a better solution for this. This project is just at the beginning.


Edited by basbi, 24 February 2020 - 10:06 AM.


#29 Rawd

Rawd

    Pinball Wizard

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

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 24 February 2020 - 10:37 AM

 

I don't know if it's "easy". You can change the Arrays in the head of Menu.vpx and add your Table-Filenames. You also need the images for the spinner.

Perhaps we can find a better solution for this. This project is just at the beginning.

 

Is it possible for VP to read an outside .txt file for the tables/spinners list?  Could it grab images from a directory/folder for the spinners?



 


#30 jadez

jadez

    Neophyte

  • Members
  • Pip
  • 1 posts

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

  • Favorite Pinball: bally

Posted 24 February 2020 - 12:57 PM

Great effort. 

I don't understand however why you guys aren't looking at it far easier via simply AHK scripts and something like bigbox or any frontend really. So here is what I am doing.

 

- I use vrdesktop and then launchbox.

- I use Launchbox in Bigbox mode. Add my tables there in launchbox with VPX_GL as the emulator. 

- After exiting a game it comes back to vrdesktop bigbox screen and i can use my controllers to pick next table and click play.

- Some AHK magic is needed maybe for your system where you kill VPX_GL and launch it every time you pick a table. This will ensure every new table loaded will infact make it to your HMD. 

- The bigbox or hyperspin or any front-end can have usual all existing graphics, logo, flyers etc. 

 

if doing it all via VR, might I suggest instead of modifying VPX you simply build a unity project that is like a VR front-end if you like and has default launch options for VPX embedded and runs off a JSON or XML file for table list. If you truly want a VR room where you have pinnies with attract videos playing on each. No time unfortunately my end but that could be another way to go, select left flipper - new pinball, backglass and attract videos playing on it, click enter and play. Exit key brings back to VR Front-end so you can pick next and so on.


Edited by jadez, 24 February 2020 - 12:59 PM.


#31 unclewilly

unclewilly

    sofa king.....

  • VIP
  • 5,207 posts
  • Location:Baltimore, Maryland

  • Flag: United States of America

  • Favorite Pinball: tz, tom, big hurt, who dunnit



Posted 24 February 2020 - 01:50 PM

Havent looked at the script yet. A nice addition might be to add a flasher object to the table and another array of playfield screenshots and have the flasher object show the playfield screenshot of each table when its spinner if shown

"it will all be ok in the end, if it's not ok, it's not the end"
 
Monster Bash VP10 WIP https://dl.dropboxus... (vpx)WIP15.vpx

uw2.gif


#32 basbi

basbi

    VPX Launcher

  • Members
  • PipPipPip
  • 68 posts

  • Flag: Germany

  • Favorite Pinball: indiana jones

Posted 24 February 2020 - 02:31 PM

Havent looked at the script yet. A nice addition might be to add a flasher object to the table and another array of playfield screenshots and have the flasher object show the playfield screenshot of each table when its spinner if shown

 

I've done a menu.vpx with table screenshots in one of the VROOM placeholder primitive table. It dosen't look nice. Pseudo 3D looks ugly in real 3D.

The menu.vpx has to build by someone with table-creation skills. At the moment i don't have them.

 

Great effort. 

I don't understand however why you guys aren't looking at it far easier via simply AHK scripts and something like bigbox or any frontend really. So here is what I am doing.

 

- I use vrdesktop and then launchbox.

- I use Launchbox in Bigbox mode. Add my tables there in launchbox with VPX_GL as the emulator. 

- After exiting a game it comes back to vrdesktop bigbox screen and i can use my controllers to pick next table and click play.

- Some AHK magic is needed maybe for your system where you kill VPX_GL and launch it every time you pick a table. This will ensure every new table loaded will infact make it to your HMD. 

- The bigbox or hyperspin or any front-end can have usual all existing graphics, logo, flyers etc. 

 

if doing it all via VR, might I suggest instead of modifying VPX you simply build a unity project that is like a VR front-end if you like and has default launch options for VPX embedded and runs off a JSON or XML file for table list. If you truly want a VR room where you have pinnies with attract videos playing on each. No time unfortunately my end but that could be another way to go, select left flipper - new pinball, backglass and attract videos playing on it, click enter and play. Exit key brings back to VR Front-end so you can pick next and so on.

 

This project is just at the beginning.
The targets could be:

  • Stay in 1 app (Here our VPX_GL)
  • Switch tables without leaving to steam VR.
    Show a loading Icon or something instead of steam VR.
    (Here we need someone with good c++ skills.)
  • Perhaps we don't need a menu.vpx in the future.
    We can create a menuobject for our VR-Tables, that shows the tables and let us toggle and select them inside the tables VR.
  • The setup of our tables can be done with an config file or with an editor dialog in vpx.

I'm new to the VR-vpx world. I try to analyse the project sources at the moment. My c++ skills are really bad. I have 2 kids and a fulltime job - so i have only time at weekends. So it can take time. 

 

Now to your suggestion:

Do you switch between 2D and 3D? Do you switch between your cabinet and the vr controlls?

This is exactly, what i want to prevent with this project.


Edited by basbi, 24 February 2020 - 02:59 PM.


#33 basbi

basbi

    VPX Launcher

  • Members
  • PipPipPip
  • 68 posts

  • Flag: Germany

  • Favorite Pinball: indiana jones

Posted 24 February 2020 - 03:01 PM

Is it possible for VP to read an outside .txt file for the tables/spinners list?  Could it grab images from a directory/folder for the spinners?

 

These are the next steps. I want separate userconfig from menu.vpx.

 

I don't know, if we should use table-names or images.

If we create a jukebox-like element, i'll prefer just the names for tables.

 

I don't know if we can load images in the vpx-table dynamically. Is there a pinball doing this at the moment?

What i can try is creating a function for this and compile an new VPX_gl.exe.

Afterwards we can use this feature in our menu.vpx.

 

I'm new to table-creation with vpx, but i think we have many possibilities for this.


Edited by basbi, 24 February 2020 - 03:12 PM.


#34 TouchMaster97

TouchMaster97

    Enthusiast

  • Members
  • PipPipPip
  • 153 posts

  • Flag: Netherlands

  • Favorite Pinball: Haunted House

Posted 24 February 2020 - 03:46 PM

VP VR Frontend? Sounds promising, I'm thinking it may be a giant room where VP tables can be put in.

 

Is there a video to show what this Frontend is like? I'm legitimately curious.



#35 basbi

basbi

    VPX Launcher

  • Members
  • PipPipPip
  • 68 posts

  • Flag: Germany

  • Favorite Pinball: indiana jones

Posted 24 February 2020 - 04:08 PM

VP VR Frontend? Sounds promising, I'm thinking it may be a giant room where VP tables can be put in.

 

Is there a video to show what this Frontend is like? I'm legitimately curious.

 

How about reading post #1?



#36 basbi

basbi

    VPX Launcher

  • Members
  • PipPipPip
  • 68 posts

  • Flag: Germany

  • Favorite Pinball: indiana jones

Posted 24 February 2020 - 07:09 PM

New Menu.vpx released in alpha 5.

The array structure didn't change, so you can paste your customizations in the new one.

 

If you want to edit and test your own Menu.vpx in 2D (much easier), you can set 

MenuFunctions = False

To make it work in my version of VPX_GL, you have to set this to True again.

 

When i planed this menu, i want only a menu without the table stuff. I want the spinning spinners without balls, but you can't do this. So i used the example table to build it. Now i removed everything and hide the balls and sounds, so it looks like a real menu.

 

I hope you'll enjoy it as I do.


Edited by basbi, 24 February 2020 - 07:11 PM.


#37 unclewilly

unclewilly

    sofa king.....

  • VIP
  • 5,207 posts
  • Location:Baltimore, Maryland

  • Flag: United States of America

  • Favorite Pinball: tz, tom, big hurt, who dunnit



Posted 24 February 2020 - 10:12 PM

When launching the tables in vr. Does this use your compiled version of vpxgl?

If so do you update the vpxglwith calligulas updates.
Just asking as i saw he just updated the vr version

"it will all be ok in the end, if it's not ok, it's not the end"
 
Monster Bash VP10 WIP https://dl.dropboxus... (vpx)WIP15.vpx

uw2.gif


#38 basbi

basbi

    VPX Launcher

  • Members
  • PipPipPip
  • 68 posts

  • Flag: Germany

  • Favorite Pinball: indiana jones

Posted 25 February 2020 - 08:19 AM

When launching the tables in vr. Does this use your compiled version of vpxgl?

If so do you update the vpxglwith calligulas updates.
Just asking as i saw he just updated the vr version

Not yet. Will make this as soon as possible.

Thanks for reporting.



#39 Caligula_

Caligula_

    Enthusiast

  • Platinum Supporter
  • 74 posts

  • Flag: Germany

  • Favorite Pinball: Addams Family

Posted 26 February 2020 - 08:59 AM

 

When launching the tables in vr. Does this use your compiled version of vpxgl?

If so do you update the vpxglwith calligulas updates.
Just asking as i saw he just updated the vr version

Not yet. Will make this as soon as possible.

Thanks for reporting.

 

Hi basbi,

 

can you share the source code of the frontend? Then I could integrate it in the regular VPVR build.

 

Thanks

 

Caligula



#40 basbi

basbi

    VPX Launcher

  • Members
  • PipPipPip
  • 68 posts

  • Flag: Germany

  • Favorite Pinball: indiana jones

Posted 26 February 2020 - 02:33 PM

 

 

When launching the tables in vr. Does this use your compiled version of vpxgl?

If so do you update the vpxglwith calligulas updates.
Just asking as i saw he just updated the vr version

Not yet. Will make this as soon as possible.

Thanks for reporting.

 

 

 

Hi basbi,

 

can you share the source code of the frontend? Then I could integrate it in the regular VPVR build.

 

Thanks

 

Caligula

 

 

 

If i have it running, i will share my source code. I have to fix a memory error and must check slow loadingspeeds with 10.7.


Edited by basbi, 26 February 2020 - 07:19 PM.






Also tagged with one or more of these keywords: vr frontend, frontend, vr