Jump to content



Photo
- - - - -

Change the background colour of VPX Vr room?


Best Answer kiwi , 28 October 2024 - 12:18 PM

I think you need a simple room, like the one I used here https://www.vpforums...&showfile=18552.

 

In the VPX editor you have to zoom out the table so you can select the square primitive (Room) that surrounds it, copy it and paste it into your table.

 

For the color of the room you can try the materials that you find in your table,

in the primitive panel there is a drop-down menu with all the materials already present,

or you can create a new material yourself in the color you prefer.

 

You can also use the image (RoomMap) of the room that you find in the table I linked to you,

it must be exported from the image manager and imported into your table, also in this case a material must be assigned to the primitive of the room.

Go to the full post


  • Please log in to reply
13 replies to this topic

#1 dethlin

dethlin

    Neophyte

  • Members
  • Pip
  • 5 posts

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

  • Favorite Pinball: adams family

Posted 27 October 2024 - 10:26 AM

Hi Everyone,

I want to try Mixed Reality mode with my headset and for that to work I need to change the background colour from black to green. Is there a way to do this?

 

thanks :-)



#2 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 27 October 2024 - 11:02 AM

Click the backglass button in the editor. Change the background color on the right at the top.

"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


#3 dethlin

dethlin

    Neophyte

  • Members
  • Pip
  • 5 posts

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

  • Favorite Pinball: adams family

Posted 28 October 2024 - 09:33 AM

Click the backglass button in the editor. Change the background color on the right at the top.

That works for desktop mode but its still black in vr room. I'm using a non vroom table so you would think that changing it as you said would work and just pull that color into the room. But thank you for pointing me there anyways :-)



#4 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,695 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 28 October 2024 - 12:18 PM   Best Answer

I think you need a simple room, like the one I used here https://www.vpforums...&showfile=18552.

 

In the VPX editor you have to zoom out the table so you can select the square primitive (Room) that surrounds it, copy it and paste it into your table.

 

For the color of the room you can try the materials that you find in your table,

in the primitive panel there is a drop-down menu with all the materials already present,

or you can create a new material yourself in the color you prefer.

 

You can also use the image (RoomMap) of the room that you find in the table I linked to you,

it must be exported from the image manager and imported into your table, also in this case a material must be assigned to the primitive of the room.



#5 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 28 October 2024 - 01:26 PM

If you just want some sort of background and don't care about the cabinet floor or ceiling. You can just open any vr table click on the 2 walls make sure they are set to visible. Then copy and paste them in the new table. You would also need to export the textures for the 2 walls and assign a material. Most tables already have a usable material like say playfield or wood or metal or plasticwithanimage.

Edited by unclewilly, 28 October 2024 - 01:27 PM.

"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


#6 dethlin

dethlin

    Neophyte

  • Members
  • Pip
  • 5 posts

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

  • Favorite Pinball: adams family

Posted 28 October 2024 - 01:35 PM

Thank you everyone! that's pointed me in the right direction.



#7 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,695 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 28 October 2024 - 04:43 PM

I think you need a simple room, like the one I used here https://www.vpforums...&showfile=18552.

 

In the VPX editor you have to zoom out the table so you can select the square primitive (Room) that surrounds it, copy it and paste it into your table.

 

For the color of the room you can try the materials that you find in your table,

in the primitive panel there is a drop-down menu with all the materials already present,

or you can create a new material yourself in the color you prefer.

 

You can also use the image (RoomMap) of the room that you find in the table I linked to you,

it must be exported from the image manager and imported into your table, also in this case a material must be assigned to the primitive of the room.

I didn't notice that the primitive object is invisible, just check the "Visible" box in its properties panel.



#8 MrZitus

MrZitus

    Neophyte

  • Members
  • Pip
  • 7 posts

  • Flag: Spain

  • Favorite Pinball: theatre of magic

Posted 28 October 2024 - 09:18 PM

Still trying to see the table correctly in passtrough with virtual desktop and quest 3... table looks transparent even with backglass/POV in green. Any ideas



#9 dethlin

dethlin

    Neophyte

  • Members
  • Pip
  • 5 posts

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

  • Favorite Pinball: adams family

Posted 28 October 2024 - 11:34 PM

Still trying to see the table correctly in passtrough with virtual desktop and quest 3... table looks transparent even with backglass/POV in green. Any ideas

Grab one of the VR Room Templates. Make an image with rgb 0,255,0. Import it into the template then change the image for the floor, ceiling and both walls with the edit \ select element they will have VR on them so scroll down. Select then in properties on the right change the image to the green one you imported. then In virtual desktop configure button for passthrough change it to RGB 0,255,0 and change the top slider to around 38% and it will work. you have to add the vroom to the table you are using. I only got that far as yet. I'll work on one of the tutorial templates and add two more walls for the back area on the weekend and post it with the steps when I get time.  But as a proof of concept its way better than just using black as the passthrough alpha. Not sure why the backglass colour change option does not work for non vr setup tables. But everyones comments lead me to try the vr room template idea.   


Edited by dethlin, 28 October 2024 - 11:35 PM.


#10 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,148 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 29 October 2024 - 04:51 AM

The passthrough compatible tables that Panasony usually posts on the VR Pinball Group discord usually have a pure white sphere as the key colour.

 

Ext2K also posts MR compatible rooms, both here on VPF and VPU. 
 

Panasony and Ext2K recommend the following settings in VD. 
 

 Chromakey color  RGB = 255 : 255 : 255
 Similarity=2, Smoothness=2
 
Panasony mentioned he uses white as other colours tend to look a bit weird around the border edge of the table (a green border for instance if green is used).
 
In addition, if you use a different tonemapper to what they use in their tables, this can cause the MR not to work correctly, resulting in semi transparency and other issues such as a fuzzy feathered edge around the table borders. You nay also need to increase similarity settings which causes issues. I believe this is because the pure white then becomes something other than 255 255 255 if non standard tonemapping is used.
 
 
I was thinking about this some more today and feel that it would be handy to be able to define in the engine what colour an empty background is other than the standard black. At least then, VR tables with an ultraminimal room option with just a black background might be easily made into MR.
 
I might make the suggestion at github and see if it gets any love. 

Edited by Gravy, 29 October 2024 - 04:53 AM.

Pinball Addict


#11 dethlin

dethlin

    Neophyte

  • Members
  • Pip
  • 5 posts

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

  • Favorite Pinball: adams family

Posted 29 October 2024 - 10:46 PM

 

The passthrough compatible tables that Panasony usually posts on the VR Pinball Group discord usually have a pure white sphere as the key colour.

 

Ext2K also posts MR compatible rooms, both here on VPF and VPU. 
 

Panasony and Ext2K recommend the following settings in VD. 
 

 Chromakey color  RGB = 255 : 255 : 255
 Similarity=2, Smoothness=2
 
Panasony mentioned he uses white as other colours tend to look a bit weird around the border edge of the table (a green border for instance if green is used).
 
In addition, if you use a different tonemapper to what they use in their tables, this can cause the MR not to work correctly, resulting in semi transparency and other issues such as a fuzzy feathered edge around the table borders. You nay also need to increase similarity settings which causes issues. I believe this is because the pure white then becomes something other than 255 255 255 if non standard tonemapping is used.
 
 
I was thinking about this some more today and feel that it would be handy to be able to define in the engine what colour an empty background is other than the standard black. At least then, VR tables with an ultraminimal room option with just a black background might be easily made into MR.
 
I might make the suggestion at github and see if it gets any love. 

 

I didn't think of white! I'll check the discord and add it to my tables. thank you Gravvy <3



#12 MrZitus

MrZitus

    Neophyte

  • Members
  • Pip
  • 7 posts

  • Flag: Spain

  • Favorite Pinball: theatre of magic

Posted 03 November 2024 - 05:08 PM

So basically to make a passtrough VR work, I have to learn how to use the tables editor. Reminds me when I wanted to change some detail on a UT map, and I ended up creating full worlds. I don't have the time now.



#13 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,148 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 04 November 2024 - 02:28 AM

So basically to make a passtrough VR work, I have to learn how to use the tables editor. Reminds me when I wanted to change some detail on a UT map, and I ended up creating full worlds. I don't have the time now.

Yes, that is the nature of the beast that is VPX. Perhaps at some point in time we may see it enabled in the engine as an option.

 

 

I have added the feature as a request at Github if anyone would like to comment on it there:

https://github.com/v...all/issues/1992


Edited by Gravy, 04 November 2024 - 02:47 AM.

Pinball Addict


#14 timkingblue

timkingblue

    Neophyte

  • Members
  • Pip
  • 2 posts

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

  • Favorite Pinball: The Shadow

Posted 01 January 2025 - 08:18 PM

Still trying to see the table correctly in passtrough with virtual desktop and quest 3... table looks transparent even with backglass/POV in green. Any ideas

 
If you move the controller pointer above or below the main VD window and pull the trigger, additional settings appear.
Virtual-Desktop-head-lock.jpg
One of the settings is "Transparency" which makes everything semitransparent. You may have this toggled on accidentally.