Jump to content



Photo
* * * * * 1 votes

Can VPX do Anaglyph 3D?


  • Please log in to reply
458 replies to this topic

#81 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 25 November 2021 - 10:42 PM

Now will come the list

 

Pindler's List

 

A list of all Anaglyph worthy VPX tables


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#82 kds70

kds70

    Enthusiast

  • Members
  • PipPipPip
  • 176 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Eight Ball Deluxe

Posted 25 November 2021 - 10:43 PM

at this time we need to give vpx.exe some command line parameters to start with those options ... thank you once more :boxing:


-------------------

VPin: Williams Time Warp Cabinet (1979), 4K playfield: 40″ Iiyama X4071UHSU, backglass: 32″ LG, Pin"2"DMD, Pincontrol1, LEDWiz, leaf switches / buttons, nudging, tilt, plunger, 10 siemens contactors, knocker, shaker, gear, rgb flasher, PC: Intel i5 [email protected], 8 GB Ram, Zotac GTX 1070 Mini, Win10
Real Pin: Eight Ball Deluxe LE, Centaur 2, Mr. & Mrs. Pac-Man, Rolling Stones, Funhouse


#83 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 25 November 2021 - 10:57 PM

at this time we need to give vpx.exe some command line parameters to start with those options ... thank you once more :boxing:

 

visualpinball.exe -3D anaglyph
something like that maybe would be nice and simple


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#84 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,147 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 25 November 2021 - 11:30 PM

 

 

The other setting i guess would be trivial given proper RGB filter values
and that would simply be the following options

Red\Cyan Anaplyph
Red/Cyan Dubois Anaglyph
Red/Cyan Anachrome Anaglyph

Magenta/Green Anaglyph
Blue/Amber Colorcode 3D Anaglyph

 

Which again, is simply taking existing and giving the filters different chroma values.
We could probably find out those values for you?

 

Yea i know, give new toy and i ask for more.


 

 

So I finally figured out that I needed a Github account to actually be able to click on the compiled file links and download. Odd that github doesnt warn you about why a file link is not clickable. Anyway have downloaded anaglyph version and it already seems to have the options you wanted, just need to click on the drop down 3d menu and scroll it down for more settings.


Pinball Addict


#85 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,147 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 25 November 2021 - 11:52 PM

Here ya go: https://github.com/v...runs/1502927498

Let me know how it goes..

 

 

Hi again @toxie . Finally got it downloaded after I figured out I needed a github account for links to activate. I feel like a bit of an idiot but am also left wondering why github doesn't tell me I need an account when I tried to click the file downloads.

Tested a couple of tables (I dont have glasses yet) and found that your native solution is much faster than running anaglyph with reshade superdepth3d. I tried both and superdepth nearly halves my framerate on Pinbot test table, averages about 76fps with your solution and just under 40fps roughly with superdepth3d.

One thing that superdepth 3D has however is the function to swap eyes? Not sure if this can be achieved with your solution just by putting a negative value in the 3D separation field or would it need to be coded differently?

The reason for this is I have noticed that some 3D glasses suppliers seem to have swapped lens sides for certain colours combos, perhaps this is to overcome patent issues?

I am now pretty excited to get a selection of different glasses and try out each mode to see which works best.


Pinball Addict


#86 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 26 November 2021 - 12:27 AM

seems to have the options you wanted, just need to click on the drop down 3d menu and scroll it down for more settings.

 

 

 

??


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#87 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,147 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 26 November 2021 - 01:28 AM

 

seems to have the options you wanted, just need to click on the drop down 3d menu and scroll it down for more settings.

 

 

 

??

 

 

pinball3d.jpg


Edited by Gravy, 26 November 2021 - 01:28 AM.

Pinball Addict


#88 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 26 November 2021 - 02:16 AM

 

 

 

 

 

 

Apparently, video was lost on you

You must get out more
:)


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#89 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,147 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 26 November 2021 - 02:49 AM

 

 

 

 

 

 

 

Apparently, video was lost on you

You must get out more
:)

 

Kind of... I wasnt sure if you had understood me and the video didnt really help haha. I'm usually pretty good with obscure references but yeah I do need to get out more. :)


Pinball Addict


#90 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 26 November 2021 - 02:52 AM

Jack is obscure?
:(


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#91 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,147 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 26 November 2021 - 04:54 AM

Jack is obscure?
:(

I must have been away camping the day that meme arrived on the scene... or washing my hair or something. :)


Pinball Addict


#92 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 26 November 2021 - 05:44 AM

For all of 1993?

Long walkabout


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#93 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 26 November 2021 - 10:21 AM

 

at this time we need to give vpx.exe some command line parameters to start with those options ... thank you once more :boxing:

 

visualpinball.exe -3D anaglyph
something like that maybe would be nice and simple

 

No need for this. Just leave the option enabled and toggle 3D on/off with "F10".   :)


 


Oh my, i think it works better than reshade, not as taxing on the eyes
It will be a bit until i can test it on something better than this laptop.

But i just randomly threw Diablo and Alien Warrior at it, and aside from having to turn up environmental lighting, which is to be expected

it seems to preliminarily work good

 

I wonder if a few settings could be added?
maybe one that automatically increases Environmental Emission scale by XX amount, XX being user defined

 

The other setting i guess would be trivial given proper RGB filter values
and that would simply be the following options

Red\Cyan Anaplyph
Red/Cyan Dubois Anaglyph
Red/Cyan Anachrome Anaglyph

Magenta/Green Anaglyph
Blue/Amber Colorcode 3D Anaglyph

 

Which again, is simply taking existing and giving the filters different chroma values.
We could probably find out those values for you?

 

I could expose 2 more options:

Monochrome <-> Color 0..1

Contrast 0..X

 

Could that help?


 

One thing that superdepth 3D has however is the function to swap eyes? Not sure if this can be achieved with your solution just by putting a negative value in the 3D separation field or would it need to be coded differently?

The reason for this is I have noticed that some 3D glasses suppliers seem to have swapped lens sides for certain colours combos, perhaps this is to overcome patent issues?

Sounds like a good idea!  :)



#94 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 26 November 2021 - 12:36 PM

 

 

at this time we need to give vpx.exe some command line parameters to start with those options ... thank you once more :boxing:

 

visualpinball.exe -3D anaglyph
something like that maybe would be nice and simple

 

No need for this. Just leave the option enabled and toggle 3D on/off with "F10".   :)


 


Oh my, i think it works better than reshade, not as taxing on the eyes
It will be a bit until i can test it on something better than this laptop.

But i just randomly threw Diablo and Alien Warrior at it, and aside from having to turn up environmental lighting, which is to be expected

it seems to preliminarily work good

 

I wonder if a few settings could be added?
maybe one that automatically increases Environmental Emission scale by XX amount, XX being user defined

 

The other setting i guess would be trivial given proper RGB filter values
and that would simply be the following options

Red\Cyan Anaplyph
Red/Cyan Dubois Anaglyph
Red/Cyan Anachrome Anaglyph

Magenta/Green Anaglyph
Blue/Amber Colorcode 3D Anaglyph

 

Which again, is simply taking existing and giving the filters different chroma values.
We could probably find out those values for you?

 

I could expose 2 more options:

Monochrome <-> Color 0..1

Contrast 0..X

 

Could that help?

 

 

I did not see that the list would scroll down for more options
On laptop is was at bottom of the screen, so i thought it had just one
I think it has everything, though i am not sure if one equates to anachrome or not
Anachrome is red/cyan but the red filter is made to allow some red to bypass for better color tones, and has a diopter correction on the red lens
And i am not sure it is terribly worth it as actual anachrome glasses are not super easy to find

 

I am not sure if anyone would use monochrome, but eh sure, could help someone if they are having an oversaturation problem, it is usually the other way around, wanting to boost color saturation to regain color tone.
Contrast could maybe be useful, may help on some screens that cannot adjust any better than they already are


Now if i only had time to mess with it on a real PC with a real screen that has good color and brightness etc

Still, if it looks impressive on this, it has to look really good on something better, right?


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#95 dan_shane

dan_shane

    Enthusiast

  • Members
  • PipPipPip
  • 138 posts
  • Location:Okolona, KY

  • Flag: United States of America

  • Favorite Pinball: Lord of the Rings

Posted 26 November 2021 - 10:06 PM

I downloaded the latest VPX 10.7 build and extracted only the Vpinball.exe into my folder. The red/cyan anaglyph adds incredible depth on my Atgames Legends Pinball cabinet, especially on multi-level tables like THE SHADOW.  The real standout is CREATURE FROM THE BLACK LAGOON. The clear ramps and funnels seem to reach into the sky.  LORD OF THE RINGS works pretty well with the added dimension, though the playfield colors don't look great. I increased the brightness on several tables to compensate for the colored lenses.  The effect is outstanding.  I'm ordering some quality plastic glasses to replace my cardboard freebies. 



#96 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,147 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 27 November 2021 - 12:47 AM

 

I am not sure if anyone would use monochrome, but eh sure, could help someone if they are having an oversaturation problem, it is usually the other way around, wanting to boost color saturation to regain color tone.

Contrast could maybe be useful, may help on some screens that cannot adjust any better than they already are

 

Keep in mind there are quite a few black and white colour mods of tables so the monochrome would likely be appealing to those that use those mods as you could instantly create that effect with any table.

Also, reshade has a black and white mode if anyone just wants to see how any table will look in black and white, and dont necessarily want 3D.


Edited by Gravy, 27 November 2021 - 03:32 AM.

Pinball Addict


#97 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 27 November 2021 - 06:18 AM

I could expose 2 more options:

 

Monochrome <-> Color 0..1

Contrast 0..X

 

Could that help?

 


 

 

Could you expose an option that works on AMD?

I got about 5 minutes to at least try it really quick on a real PC

 

Does not work unless disabling alt depth buffer, at which point the 3d works
but all the bad things that come from disabling that appear.

 

With alt depth buffer enabled, it is as if no 3d mode was checked at all


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#98 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 28 November 2021 - 07:25 AM

Unfortunately there is nothing i can tweak for AMD anymore.   :/

With depth buffer reads its all about whacky behavior with DirectX9  :/

 

Apart from that, here a new build https://github.com/v...runs/1512137120

with flipped modes (e.g. cyan/red instead of red/cyan), the desaturation option, and a contrast option.



#99 ludovids

ludovids

    Enthusiast

  • Validating
  • PipPipPip
  • 181 posts
  • Location:Owego, NY

  • Flag: United States of America

  • Favorite Pinball: LOTR IJ MM TAF Tommy TOTAN TZ

Posted 28 November 2021 - 06:41 PM

 

Do you still have the 3d glasses and able to run another test? I'd be interested to know if both lenses of the glasses black out when the glasses are rotated at 90 degrees to the landscape screen. LCD screens use polarising filters in the screens and unless they are circular polarised they will have issues when rotating the glasses. Linear polarising filters black out if another linear filter in a pair of 3d glasses for instance is rotated.

If they do go black when the glasses are rotated when tuned off then your rotation issue may be fixed by the possible solution I mentioned earlier.

 

 

Got a fresh battery, gave this a try, and it worked!

 

3d_t.jpg

 

In the image, the 3D glasses are oriented as they would be with me wearing them and standing at the end of the cab. So they are oriented 90 degrees from how they are meant to be for watching TV, and you can see that the inner portion of each lens is black due to the polarization of the TV and each lens. The outer portion of each lens is resting on top of a piece of a plastic sandwich bag, oriented so that it cancels the polarization of the lens, allowing the TV image to be seen thru the lens.

 

Apparently, the way these glasses work then is they are passively linear polarized with an orientation that matches watching the TV from the normal landscape perspective, and actively linear polarized 90 degrees from the passive, in synch with the image (left or right) displayed on the TV.

 

@Gravy: What kind of polarising filter do I need to get to be able to give this a better test? I think I need a sheet of plastic with the correct polarising property that I can cut to fit the glasses. I will then be able to make a good comparison between this and anaglyph 3D.

 

From wikipedia:

In many applications it is possible to use a quarter-wave plate to produce circularly polarized light, but this is only possible for light of a limited range of wavelengths which is linearly polarized to start with.

 

RealD 3D glasses are circularly polarized, so they may consist of a linear polarizing layer followed by a quarter-wave plate. Just need to orient them so the linear polarization matches up with the TV, and I will hopefully get the effect I am looking for.

 

3d0.jpg

 

Placing the RealD 3D lenses in front of the active 3D glasses works, but as you can see above with the balloon in the right lens, there is bad ghosting. Also, lots of brightness is lost.


Edited by ludovids, 28 November 2021 - 11:13 PM.

ASRock Z270M Extreme4, i5-7600K, 16GB G.SKILL TridentZ DDR4 3200, EVGA GeForce GTX 1070 SC

Samsung 850 EVO M.2, Samsung UN40JU7100 4K playfield, Samsung SynchMaster 2232 backglass, Pinscape on VirtuaPin Plunger Kit v3


#100 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 28 November 2021 - 08:44 PM

In general, anaglyph 3D will always be worse than polarized glasses. Simply as anaglyph can never display the full color range and also easier leads to fatigue.