johnparker007 Posted October 26, 2020 Report Share Posted October 26, 2020 (edited) Hey guys I've just been experimenting with a youtube video, I was able to get this perspective/aspect correct image (as if it were scanned) from a single frame. This was using perspective tool, then scale in just the single axis required to correct aspect ratio... Corrected image: Source image (youtube video frame): I was wondering, is this what you guys sometimes do when getting a layout source image assembled - grab a bunch of these then scale and stitch them together to end up with a 2d video 'scans' of the machine glasses? I was watching 1080p videos of fruit machines on youtube, and it got me thinking that the information for high res layouts is technically there, just in a somewhat painful to extract format! Edited October 26, 2020 by johnparker007 1 [ Arcade Simulator ] Pre-alpha installer: https://tinyurl.com/2kcrkprh | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ Fruit Machine Settings/Tests Guide ] https://tinyurl.com/yuebw8b5 [ MAME (fixes/improvements) ] Commits: https://github.com/johnparker007/mame/commits/master/?author=johnparker007 [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
vectra666 Posted October 26, 2020 Report Share Posted October 26, 2020 1 hour ago, johnparker007 said: Hey guys I've just been experimenting with a youtube video, I was able to get this perspective/aspect correct image (as if it were scanned) from a single frame. This was using perspective tool, then scale in just the single axis required to correct aspect ratio... Corrected image: Source image (youtube video frame): I was wondering, is this what you guys sometimes do when getting a layout source image assembled - grab a bunch of these then scale and stitch them together to end up with a 2d video 'scans' of the machine glasses? I was watching 1080p videos of fruit machines on youtube, and it got me thinking that the information for high res layouts is technically there, just in a somewhat painful to extract format! It can be done from screenies if YouTube vids I think I made one using parts of it, double blue chip for instance I nabbed the seven segs from one its the same principle as getting photos and stitching them together like I did with utter nuter , someone with better skills would produce a far more accurately balanced layout as in all parts the same lit than I did. 1 Link to comment Share on other sites More sharing options...
johnparker007 Posted October 26, 2020 Author Report Share Posted October 26, 2020 Ah cool, good to know it's a standard technique Yeah it's a tricky one with the lighting, I tried equalising then tweaking brightness/contrast down, seems to level it out a bit ready for an 'unlit' glass image... but getting the different stitched together parts to have even brightness, that does definitely add more complexity. It's an interesting problem, trying to get back to a evenly lit 1:1 ratio complete 2d scan from a bunch of unevenly lit 3d frames [ Arcade Simulator ] Pre-alpha installer: https://tinyurl.com/2kcrkprh | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ Fruit Machine Settings/Tests Guide ] https://tinyurl.com/yuebw8b5 [ MAME (fixes/improvements) ] Commits: https://github.com/johnparker007/mame/commits/master/?author=johnparker007 [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
Amusements Posted October 27, 2020 Report Share Posted October 27, 2020 I have the original PSD files of all my layouts (All hand drawn for full resolution), which are all flat before being put in a cab. If you want to experiment with any, let me know, and I will send you the PSD file. You can separate all the layers you need. Golden 2's (SRU) Lucky 2's (SRU) Eachway Nudger (SRU) Pool Play (EM) Sidewinder (AceVideo) Double Top (SRU) Bonus Shuffle (Sys 80) Bar 7 (Sys 80) Clickity Click (Sys 80) Hi Lights (MPU2) Rock On (MPU2) Spot Light (MPU2) Bouncer (Sys 80) Club Vegas (Sys 80) 1 Treat every day like your last, because one day it will be! Fruit Machine <<<My new project! Link to comment Share on other sites More sharing options...
johnparker007 Posted October 27, 2020 Author Report Share Posted October 27, 2020 (edited) Thanks @Amusements I'm just looking into it a little for the moment, but I may take you up one of your flat PSDs at some point to try some tests with, thanks very much for the offer (As the AI upscaling technique may not work well on some lower res layouts on the bottom glass panel, since it's already heavily vertically 'squashed' for the pseudo-3d perspective of the source MFME layout image). I'm thinking that theoretically once I've 'auto-flattened' an existing MFME layout so it can be used for the 3d panels, I could somehow write something to take a high res flat scan (or flat redraw), and auto map that into place (and potentially auto-lamp it) - giving a much higher fidelity source texture on the existing 3d layout. I've still got a couple of big chunks of work left to do on the converter to auto-flatten and AI upscale the source layouts, but then investigating this idea further might be a cool side-quest, to further enhance the visuals In the 3d engine, whilst the glass panels can be viewed from any angle: ...they are stored internally as perfectly flat: Edited October 27, 2020 by johnparker007 1 [ Arcade Simulator ] Pre-alpha installer: https://tinyurl.com/2kcrkprh | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ Fruit Machine Settings/Tests Guide ] https://tinyurl.com/yuebw8b5 [ MAME (fixes/improvements) ] Commits: https://github.com/johnparker007/mame/commits/master/?author=johnparker007 [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
Recommended Posts