Jump to content



Photo
* * * * * 12 votes

Dev thread: Road to DX9


  • Please log in to reply
2087 replies to this topic

#641 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 23 February 2014 - 02:13 PM

Same here:  E allows me to  exit table and exit Hyperpin.  win7 x64



#642 insx

insx

    Enthusiast

  • Members
  • PipPipPip
  • 121 posts

  • Flag: United Kingdom

  • Favorite Pinball: Revenge From Mars

Posted 23 February 2014 - 02:16 PM

Can somebody tell me why exiting in HyperPin isn't wrking with the dx9 version?

I have a couple of tables that don't exit properly to Hyperpin (T2 Chrome and Diner). I normally exit tables with Q but I have to take the extra step of pressing ESC to come back to Hyperpin.



#643 krille81

krille81

    Enthusiast

  • Members
  • PipPipPip
  • 197 posts

  • Flag: Sweden

  • Favorite Pinball: Junk Yard, White Water, Star Wars (Data East)

Posted 23 February 2014 - 02:27 PM

Why can't i load the vp dx9 exefile in piballx?


Sent from my iPhone using Tapatalk

#644 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 23 February 2014 - 02:37 PM

Tested with VP9_DX9_test5a.  Defender playfield, plastics and apron fixed.  Light inserts get blacked out dynamically depending on whats happening on table.  This table has basic lighting.  Individual light Insert toggle between a dim insert image and a lit insert image, but I also have a light called PFGI which covers the entire playfield.  It toggles between dim playfield, pf, and lit playfield, pf_on - in both of these images pure black is used where all the individual lights insert objects are located.  NOTE:  In the image manager, pf and pf_on have that neon green color specified as transparent, not black

 

When games starts, PFGI is changed to state on, so playfield is bright.  That causes all the inserts to be pure black.  As table is played, light inserts are turned on and off, so the inserts replace the black, until i change the PFGI light state and black inserts shown again.

 

So it appears, that for light objects, pure black(0,0,0) was always transparent.  I guess the remaining question would be what other object have this rule also...

 

def2.png



#645 andyco40

andyco40

    Enthusiast

  • Members
  • PipPipPip
  • 106 posts
  • Location:Preston UK

  • Flag: United Kingdom

  • Favorite Pinball: Attack from mars

Posted 23 February 2014 - 03:00 PM

clarkkent: I have no pros with hyperpin either exiting im on win 7 64bit.

plus I don't like pinballX its to much messing around to get jukebox to work,on hyperpin much better.



#646 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,325 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 23 February 2014 - 03:11 PM

I always thought the pure black being transparent in the old VP was a bug more than a feature :) In any case it was an "abused feature" :)


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#647 Arcade4

Arcade4

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,686 posts
  • Location:Beaumont, TX.

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 23 February 2014 - 03:42 PM

Had time to test a few tables yesterday with the new 5abeta.

Most of them played and looked great.

Only noticed two things so far.

Scared Stiff still has the black insert problems unless they are lit. (Sorry don't know what version as I renamed it ages ago, but it is probably the latest)

The tube on Xenon looks like Spiderman made it with his web shooter. (Maybe it looked like that before DX9 but I don't think so.)



#648 ClarkKent

ClarkKent

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,552 posts

  • Flag: Austria

  • Favorite Pinball: Q*Bert's Quest, Red's and Ted's Road Show, Dialed In, Big Bang Bar

Posted 23 February 2014 - 04:03 PM

Can somebody tell me why exiting in HyperPin isn't wrking with the dx9 version?

I have a couple of tables that don't exit properly to Hyperpin (T2 Chrome and Diner). I normally exit tables with Q but I have to take the extra step of pressing ESC to come back to Hyperpin.

Ok. That's at least prove that I'm not the only one having that problem. There must be something wrong. It's no solution to press ESC first as I do not have such button on my cab...

#649 Arcade4

Arcade4

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,686 posts
  • Location:Beaumont, TX.

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 23 February 2014 - 04:16 PM

I am using this with Hyperpin as well. No problems exiting the tables so far with any version of the test Betas.



#650 frans

frans

    Enthusiast

  • Members
  • PipPipPip
  • 209 posts
  • Location:Sao Paulo - Brasil

  • Flag: Brazil

  • Favorite Pinball: Fun House

Posted 23 February 2014 - 04:40 PM

BUG: Blackout JP Salas - NO lights on



#651 Les73gTx

Les73gTx

    Preschooler

  • Members
  • PipPipPipPip
  • 523 posts
  • Location:Maine

  • Flag: United States of America

  • Favorite Pinball: Power Play, BoP, JackBot, MM, AFM, CV, MB,Champions Pub, CftBL, ToM, and Many More

  • PS3 Gamer Tag: LCT0819, Les73gtx
  • 360 Gamer Tag: PissPoorShot

Posted 23 February 2014 - 05:31 PM

Why can't i load the vp dx9 exefile in piballx?


Sent from my iPhone using Tapatalk

.
.
I can load it just fine. Just make sure you rename the vp dx9 exe to VPinball.exe or whatever your settings are for PinballX

Sent from my SAMSUNG-SGH-I747 using Tapatalk


les73gtx___atomicpin-pc.png
                                                                      


#652 Horrible

Horrible

    Enthusiast

  • Members
  • PipPipPip
  • 138 posts
  • Location:London

  • Flag: United Kingdom

  • Favorite Pinball: Data East Star Wars, Star Trek 25th

Posted 23 February 2014 - 06:10 PM

Have tested the new v5a under Hyperpin on win 7 64bit. all works as expected.

 

Checked the Monopoly problem with led lights previously reported and mine are also blacked out when they should be red as seen with Vpinball 921 Rev 922 .


Win 7 Pro 64 Bit Sp1, [email protected], 8GB DDR3 RAM

NVIDIA GeForce GTX 950 2Gb, NVIDIA GeForce GT 610 1Gb

Crucial MX250Gb Primary' Samsung 840 128 Gb Backup

Corsair CX750 PINDMD3


#653 krille81

krille81

    Enthusiast

  • Members
  • PipPipPip
  • 197 posts

  • Flag: Sweden

  • Favorite Pinball: Junk Yard, White Water, Star Wars (Data East)

Posted 23 February 2014 - 06:18 PM

Thank you les73gtx i will try that again :)


Sent from my iPhone using Tapatalk

#654 bodydump

bodydump

    down and out

  • VIP
  • 578 posts
  • Location:California

  • Flag: United States of America

  • Favorite Pinball: High Speed, Creature

Posted 23 February 2014 - 06:23 PM

More issues with Airborne

 

This one appears to be more of the layer ordering problem:

In DX9

airborne-dx9.jpg

 

In 9.2

airborne-proper.jpg

 

 

This one is an issue with the lights.  In the circled areas you can see the edge of the light objects used to create the GI

In DX9

airborne-gi-problem.jpg

 

In 9.2 not edges

airborne-gi-proper.jpg



#655 mukuste

mukuste

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 854 posts

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

  • Favorite Pinball: Centaur

Posted 23 February 2014 - 06:27 PM


 

And the vsync option in the table options does not work right - it's always turned on no matter if I use 0 or 1. It can only be turned off here when setting it to 0 in the video options of VP...

 

 

Hm, I thought toxie fixed it, but it's probably a very minor bug.

 

 

 

 


 

I just ran VP8 and they do not render as black.

 

Best Regards,

Todd.

 

 

So this means they are invisible then?

 

 

 

 

Ok, here are my conclusions to the 'black' issues and the ramp bug...

The apron image used for WCS (and I would assume Airborne as well) are actually using pure black (which should result in being transparent)... with that being said, I think I have figured out which circumstances allow for this behavior. If the image is used on a 'Wall', pure black is transparent (as well as any color assigned in the image manager) but if 'side visible' is checked with no image assigned, then any transparent sections (whether from pure black or set color from image manager) are then filled in with pure black... assign a side image or uncheck 'side visible' then the pure black and set colors from the image manager are then transparent again.

EDIT: Correction... it seems with messing around a little bit more that only the set color from the image manager is used for the TOPS of walls... I was testing with a solid color image in the previous tests which behaved as desribed, but with an actual image, black was still black regardless.

About the ramp bug... This seems to be a layering order issue. I can achieve the same visual result on the dx7 builds by sending the ramp with the 'wcsramplip' image to the back causing the edges where it intersects the other alpha ramps to become visibly transparent because it is higher 'physically' but ordered lower.

 

 

I understand the black=transparent issue now (thanks to mfuegemann who sent me a test table which clarified the issues immensely). Basically, pure black in VP9 is transparent on any object which is "rendered dynamically". It does not matter whether it gets there via object color or through the texture, and it doesn't depend on the transparency color set for the texture. So this means, it's not transparent on static walls, but it IS transparent on walls with the "Droppable" flag set.

 

Then in addition, most table elements support the transparency color set from the image manager, so you can end up with two different transparent colors (black and another one) in some cases. The visual quality is much higher using a true transparency color however.

 

(The exact definition of "rendered dynamically" here is "is rendered using sprite blitting in VP9", so excludes alpha ramps and primitives.)

 

And yes, the ramp issue comes from depth ordering. Haven't looked into it deeper yet though.

 

 

 

Tested with VP9_DX9_test5a.  Defender playfield, plastics and apron fixed.  Light inserts get blacked out dynamically depending on whats happening on table.  This table has basic lighting.  Individual light Insert toggle between a dim insert image and a lit insert image, but I also have a light called PFGI which covers the entire playfield.  It toggles between dim playfield, pf, and lit playfield, pf_on - in both of these images pure black is used where all the individual lights insert objects are located.  NOTE:  In the image manager, pf and pf_on have that neon green color specified as transparent, not black

 

When games starts, PFGI is changed to state on, so playfield is bright.  That causes all the inserts to be pure black.  As table is played, light inserts are turned on and off, so the inserts replace the black, until i change the PFGI light state and black inserts shown again.

 

So it appears, that for light objects, pure black(0,0,0) was always transparent.  I guess the remaining question would be what other object have this rule also...

 

 

I have a pretty good idea what causes that. Unfortunately, since those textures don't have black set as their transparency, I probably can't fix it. You might try to change that and see if it helps.

 

 

 

I always thought the pure black being transparent in the old VP was a bug more than a feature :) In any case it was an "abused feature" :)

 

It's weird for sure, it doesn't seem like it's documented anywhere, but people did rely on it in many cases. It's rather tricky to work around now... I can't promise compatibility for all cases.

 

 

 

Had time to test a few tables yesterday with the new 5abeta.

Most of them played and looked great.

Only noticed two things so far.

Scared Stiff still has the black insert problems unless they are lit. (Sorry don't know what version as I renamed it ages ago, but it is probably the latest)

The tube on Xenon looks like Spiderman made it with his web shooter. (Maybe it looked like that before DX9 but I don't think so.)

 

I played several rounds of SS today (VP91x_1.4.4FS) and noticed no issues. Is that your version?


Edited by mukuste, 23 February 2014 - 06:29 PM.


#656 ClarkKent

ClarkKent

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,552 posts

  • Flag: Austria

  • Favorite Pinball: Q*Bert's Quest, Red's and Ted's Road Show, Dialed In, Big Bang Bar

Posted 23 February 2014 - 06:28 PM

Have tested the new v5a under Hyperpin on win 7 64bit. all works as expected.

 

Checked the Monopoly problem with led lights previously reported and mine are also blacked out when they should be red as seen with Vpinball 921 Rev 922 .

Interesting. As soon as I rename the latest test 5 to VPinball.exe and use it with HyperPin (on Win7 x64 here), all HyperPin keys (like F, I, E) do not work. Only if I press ESC first - then these keys are all working. As soon as I use the regular DX7 version VPinball rev922 as VPinball.exe all is normal and all keys work. Weird, isn't it?

 

Can somebody help?

 

Edit: I noticed if I press one of the keys right after the table was loaded and starts, it works. Some seconds later it does not accept the keys anymore. Only when stopping VP with "Q" or "ESC" - then the keys work again. So the new VP must block these keys in some way I think. Using latest FPlaunch WIP10.

 

As this does not happen with the regular release this has to do something with the new test version.


Edited by ClarkKent, 23 February 2014 - 07:07 PM.


#657 DJRobX

DJRobX

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 941 posts
  • Location:Valencia, CA

  • Flag: United States of America

  • Favorite Pinball: F14 Tomcat

Posted 23 February 2014 - 06:32 PM

SS is perfect for me too.    I didn't see any glitches at all.



#658 insx

insx

    Enthusiast

  • Members
  • PipPipPip
  • 121 posts

  • Flag: United Kingdom

  • Favorite Pinball: Revenge From Mars

Posted 23 February 2014 - 07:40 PM

 

 

Can somebody tell me why exiting in HyperPin isn't wrking with the dx9 version?

I have a couple of tables that don't exit properly to Hyperpin (T2 Chrome and Diner). I normally exit tables with Q but I have to take the extra step of pressing ESC to come back to Hyperpin.

Ok. That's at least prove that I'm not the only one having that problem. There must be something wrong. It's no solution to press ESC first as I do not have such button on my cab...

 

Same here, I can connect a keyboard but I don't want to have one connected all the time. Is it certain tables doing this for you or all of them? I'm pretty sure it's something to do with B2S not exiting.



#659 ringorian

ringorian

    Enthusiast

  • Members
  • PipPipPip
  • 199 posts

  • Flag: Germany

  • Favorite Pinball: road show

Posted 23 February 2014 - 07:52 PM

Can somebody tell me why exiting in HyperPin isn't wrking with the dx9 version?

I have a couple of tables that don't exit properly to Hyperpin (T2 Chrome and Diner). I normally exit tables with Q but I have to take the extra step of pressing ESC to come back to Hyperpin.

Ok. That's at least prove that I'm not the only one having that problem. There must be something wrong. It's no solution to press ESC first as I do not have such button on my cab...

Same here, I can connect a keyboard but I don't want to have one connected all the time. Is it certain tables doing this for you or all of them? I'm pretty sure it's something to do with B2S not exiting.

Why dont you buy a wireless keyboard, you dont have to let it connected .. ;)


#660 witek-pl

witek-pl

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Location:Tychy Poland

  • Flag: Poland

  • Favorite Pinball: Stern pinballs

Posted 23 February 2014 - 08:19 PM

On my P4 [email protected] + Radeon 3850AGP (i know it`s sucks) most of VP9 tables  (VP9.2 especially) are not playable. But not with this DX9 version, now i can play without any major speed issues. Great job guys.