Aspect ratio of the 2D layers

Technical discussion for those interested in Supermodel development and Model 3 reverse engineering. Prospective contributors welcome.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: Aspect ratio of the 2D layers

Postby SegaLover2020 » Sun Jan 03, 2021 4:55 am

Daro wrote:SegaLover2020: While you wait for this to get properly implemented


I wanna thank you for this tweak and the devs for making it an official option.
Virtua striker has a full background now and doesn't look like somebody put the wrong cardboard skyline behind the stadium ;)
User avatar
SegaLover2020
 
Posts: 63
Joined: Wed Aug 19, 2020 10:49 pm

Re: Aspect ratio of the 2D layers

Postby ALAN » Fri Jan 29, 2021 11:26 am

Bart,is there a sign of hope to fix this aspect ratio and put it In the future builds?
ALAN
 
Posts: 6
Joined: Sun Jun 07, 2020 1:25 pm

Re: Aspect ratio of the 2D layers

Postby Bart » Fri Jan 29, 2021 12:31 pm

ALAN wrote:Bart,is there a sign of hope to fix this aspect ratio and put it In the future builds?


It's been in the builds for weeks, dude. :) -wide-bg
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Aspect ratio of the 2D layers

Postby ALAN » Sat Jan 30, 2021 2:37 am

Sorry for my ignorance Btw
I read the posts and and i don't know in which line should i edit in Render2d.cpp beacus ei can't play with 2 black borders anymore in widescreen and my mind is goin crazy :shock:
ALAN
 
Posts: 6
Joined: Sun Jun 07, 2020 1:25 pm

Re: Aspect ratio of the 2D layers

Postby Bart » Sat Jan 30, 2021 7:38 am

ALAN wrote:Sorry for my ignorance Btw
I read the posts and and i don't know in which line should i edit in Render2d.cpp beacus ei can't play with 2 black borders anymore in widescreen and my mind is goin crazy :shock:


Again, you don’t have to edit anything. It’s already in the build! Just enable wide screen and wide background. Read the command line help.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Aspect ratio of the 2D layers

Postby ALAN » Sat Jan 30, 2021 9:27 am

Ok,thanks
Guess i'll check it out later
ALAN
 
Posts: 6
Joined: Sun Jun 07, 2020 1:25 pm

Re: Aspect ratio of the 2D layers

Postby Matt087 » Tue Feb 16, 2021 8:02 pm

That sega Model 3 UI fixed all the model 3 games to run in Widescreen and fixed , i have to do specific settings for certain games like set powerpc to 100 for sega rally 2 to run without glitches, i have to alt n and alt r star wars trilogy each time i play it at startup, and i switch to legacy engine to play virtual on 2 but aside from that i can play every game at 4096x2160 resolution , thats what i currently have it set to on my gtx 1080 4930k system on a 55 inch 4k television , i believe the maker of this UI also made the sega model 2 UI that fixes the widescreen issues to run in max resolutions on it as well , note to use it i would only use windows 7 vista or xp because windows 10 will delete some of the UI files as it thinks its a virus lol
Matt087
 
Posts: 3
Joined: Tue Feb 16, 2021 7:32 pm

Re: Aspect ratio of the 2D layers

Postby zuppa_di_pesce » Fri Feb 19, 2021 1:14 am

Matt087 wrote:because windows 10 will delete some of the UI files as it thinks its a virus lol
It doesn't delete on its own bro! ;) Just tell to Defender not to worry about these! :mrgreen:
"Did you surfcast that fish?" - "Kinda... But... That wasn't a fish... It was a GNU!"
User avatar
zuppa_di_pesce
 
Posts: 120
Joined: Fri Jun 12, 2020 1:51 pm
Location: surfCASTING on a beach

Re: Aspect ratio of the 2D layers

Postby Bart » Fri Feb 19, 2021 2:55 pm

Why are you using Legacy engine for von2?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Aspect ratio of the 2D layers

Postby rokfpoewrkcpoqwkcp » Thu Nov 25, 2021 6:39 pm

Apologies for posting in the dev board. I know we're not supposed to but I have a question related to this thread.
Can I fiddle the code to add an extra condition to the 'stretchBottom' bool to try and make it a tiny bit more intelligent ?

Logic would be something like,

stretchBottom = "WideBackground" && isBottom && 3D stuff being drawn

I'd like to see if it would clean up scenes like this.
peekaboo.jpg
peekaboo.jpg (82.53 KiB) Viewed 231 times

My thinking is, you only really need a wide background to fill the gaps the wider 3d creates. If there is no 3d then the wide bg isn't needed.
Although I guess it may cause more problems than it solves for some games. :D

I take it this is the code doing the magic ?

Code: Select all
bool stretchBottom = m_config["WideBackground"].ValueAs<bool>() && isBottom;

Is it even possible to achieve this ? How would I change it ?
rokfpoewrkcpoqwkcp
 
Posts: 119
Joined: Mon Nov 18, 2019 3:40 pm

PreviousNext

Return to The Dark Room

Who is online

Users browsing this forum: No registered users and 1 guest