Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011617Runner[All Projects] BackgroundsPublic2013-07-25 14:372017-03-01 11:33
ReporterFraser Tomison 
Assigned ToMike Rennie 
PriorityHighSeverityC - GeneralReproducibility100%
StatusClosedResolutionFixed 
PlatformWindowsOSWindows 7OS Version
Summary0011617: Background: When a large background is scaled down to fit a texture page, it is not always scaled back up
DescriptionSpecifically: If you use background_duplicate on a large background resource, the resulting background will report its dimensions that the same of the background resource it was copied from, however it will contain only the scaled down image.

Meaning, if you 'stretch' this background to fit the entire room, it will only take up a fraction of the room.

Also, if you use background_draw_general() on any background resource that has been scaled down by GM, it will draw the background as the scaled down version. However, it will properly scale the image back up when you use draw_part() or draw_ext().
Steps To Reproducecreate new background resource, make width > 1024
set it as a room background, then in code duplicate it, and assign the duplicate as the new background.

You should be able to notice the new background is half the size.

Similar process with draw_general().
Additional InformationIncluded gmtest gmz showcasing the issue. Read output log to see what should be expected in screenshots.

Notice that duplicate and draw_general are not working as intended?
1.4 Version7.7.35
Runtime Version
Runtime Version Verified In
Attached Files? file icon gmtest-BackgroundScaling.gmz [^] (7,159,430 bytes) 2013-07-25 14:37

- Relationships

-  Notes
There are no notes attached to this issue.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker