Download VP9_DX9_test3 here:
VP9_DX9_test3.zip 652.29KB
145 downloads
Important: instead of fullscreen mode, run in "windowed fullscreen" mode.
I'm really curious about the effects of some major changes I made to the draw order. I completely changed the order in which things are drawn and now try to render first all non-transparent items, then the transparent ones in depth-sorted order. (On top of that there are some hacks to improve compatibility with old tables.) I hope this fixes many of the draw order issues, but in changing this completely it's very likely that I broke many other things related to draw order.
Also, I finally came up with a clever little hack to emulate the order in which lights are drawn in VP9 which I think did miracles for the lights on many tables. I basically remember all lights which had their state changed in the current frame and then reorder the draw list of lights to put them at the back. Whereas before tables which used the fading lights routine often seemed to have "stuck" lights, they seem to work flawlessly or at least much better now. However, GI lights still seem to cause troubles.
Then there's some other small things for which you can read the list of changes below.
Things to focus on in this test release: draw order issues, problems with lights.
As always, please try to show problems with screenshots and exact table names and versions, preferably with download link. Also, mention your GPU.
Changes since the second test:
- fixed some crashes
- fixed single-pixel lines on some tables (AFM, IJ)
- kickers now render properly (although balls in cup kickers are still cut in half)
- major overhaul to draw order of all elements, still WIP
- implemented an emulation of VP9 draw order for lights
- fixed Homer head on TSPP
- fixed overall rendering of T2 Chrome
- enabled monitor ball stretching for windowed fullscreen
Known issues:
- lights set to blinking don't work
- textboxes don't work
- EM reels only work in Image Reel mode, not Text Reel
- text decals don't work
- Stereo 3D disabled
- AA disabled
- renderer uses non-power-of-two textures, may cause troubles on some older cards
- "real" full screen mode doesn't work with VPM. Workaround: set "ddraw" to 0 in the VPM settings (though DMD doesn't seem to show). Instead, try "Windowed fullscreen" mode. This also works with b2s.
- textures aren't preloaded, can lead to stutter in some cases
- lost devices aren't handled properly
- screen shake doesn't work
Happy testing!
Edited by mukuste, 16 February 2014 - 06:17 AM.