Bug 47 - [Feature request] Integer-factor scaling
Summary: [Feature request] Integer-factor scaling
Status: RESOLVED FIXED
Alias: None
Product: DXGL
Classification: Unclassified
Component: ddraw (show other bugs)
Version: 0.5.7
Hardware: PC Windows XP
: Normal enhancement
Target Milestone: ---
Assignee: William Feely
URL: DXGL
Depends on:
Blocks:
 
Reported: 2015-05-14 15:56 EDT by Twipley
Modified: 2020-03-25 12:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Twipley 2015-05-14 15:56:46 EDT
In the options pane, there is "nearest-neighbor" available as a scaling method. This scaling method may look best when the game is stretched exactly 2x (or more) on each axis; for example, from 640x480 to 1280x960. Every pixel therefore doubled. Not to 1080p in which case some are tripled while the rest are only doubled.

I don't see integer-factor scaling (e.g., 2x, 3x, etc.) in the options, besides "stretch to fill screen." Is that a feature you would consider worthy of an implementation?
Comment 1 William Feely 2015-05-14 16:30:55 EDT
It's already planned for the upcoming DXGL config app (the current one is deprecated and won't get any new features) as Primary buffer scaling.  However, I will consider adding integer output scaling.
Comment 2 William Feely 2015-05-16 08:31:06 EDT
I have added fixed scaling to the UI for the upcoming DXGL config app.  Please not that this will not appear in the current version because it has been deprecated and is only on maintenance support until the new tabbed UI becomes functional.
This bug report will remain open until both the new DXGL config app and the fixed scaling functionality are in place.
Comment 3 Twipley 2015-05-16 10:50:13 EDT
Great! but could you explain what you mean by "fixed scaling?"

And (b), if games (using GL_NEAREST in DXGL in addition to 2x scaling) that way output images which are indistinguishable from double-scaled (through the no-interpolation-scaling feature of the GIMP) images of the game running natively (without DXGL, for example), then my hat's off to you!
Comment 4 Twipley 2015-05-21 10:23:35 EDT
Just wanted to note that this feature will be popular, as users all around serious forums have been seeking this for more than a decade. All other current means to integer-factor scale seem to have their caveats, such as the NVIDIA panel which still interpolates on 2x in which case it should offer nearest-neighbor as an option.

I won't be adding further, since I recognize this is not a place for such a discussion. Less blurriness, for more clarity of mind!

Kudos...
Comment 5 William Feely 2018-01-15 00:49:17 EST
This change is now in progress; one implementation has been added in DXGL 0.5.11 and another method will be added in DXGL 0.5.13.
Comment 6 William Feely 2020-03-25 12:41:38 EDT
Closing bug as it was fixed a while ago.