Difference between revisions of "Sarien/Hires Badness"

Jump to navigation Jump to search
286 bytes added ,  03:03, 23 January 2011
m
colour -> color
(added more screenshots)
m (colour -> color)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
As of r25037, the ''hires'' mode is all gone, and the AGI engine is a thousand lines lighter.
--[[User:Dsymonds|dsymonds]] 17:59, 6 January 2007 (UTC)
----
Sarien's ''hires'' mode causes some behavioural glitches, and should be removed in favour of leaving these Scale2x-style graphical enhancements to the ScummVM backends, especially since it can be made optional at that point.
Sarien's ''hires'' mode causes some behavioural glitches, and should be removed in favour of leaving these Scale2x-style graphical enhancements to the ScummVM backends, especially since it can be made optional at that point.


The primary problem comes from [[AGI_Specifications/Overview#Priority|AGI's priority screens]], which control how the background scenery and the movable objects interact. For the uninitiated, you can think of it as a sort of "depth channel" (by analogy with an alpha channel). To add more complexity, [[AGI_Specifications/Overview#Control_lines|control lines]] are also drawn on the priority screen, and they are responsible for the demarcation of no-go areas and for triggering various events (opening automatic doors, triggering traps, etc.).
The primary problem comes from [[AGI/Specifications/Overview#Priority|AGI's priority screens]], which control how the background scenery and the movable objects interact. For the uninitiated, you can think of it as a sort of "depth channel" (by analogy with an alpha channel). To add more complexity, [[AGI/Specifications/Overview#Control_lines|control lines]] are also drawn on the priority screen, and they are responsible for the demarcation of no-go areas and for triggering various events (opening automatic doors, triggering traps, etc.).


AGI is a fairly touchy engine, and really requires pixel-perfect rendering internally; the ''hires'' mode thus causes a few problems, because it effectively smears the sharp borders that the rest of the AGI engine expects, leading to incorrect interpretation.
AGI is a fairly touchy engine, and really requires pixel-perfect rendering internally; the ''hires'' mode thus causes a few problems, because it effectively smears the sharp borders that the rest of the AGI engine expects, leading to incorrect interpretation.


At the very least, this is redundant code, since the ScummVM backends can do the Scale2x effects, and have it configurable too!


=== Space Quest 2 ===
=== Space Quest 2 ===
Line 13: Line 20:
[[Image:sarien-hires-body.png]]
[[Image:sarien-hires-body.png]]


Below is the priority screen for that room. Different colours are different depths: the ego can walk "between" the aqua bushes on the left and the green bushes on the right, but only when he's at the right "priority".
Below is the priority screen for that room. Different colors are different depths: the ego can walk "between" the aqua bushes on the left and the green bushes on the right, but only when he's at the right "priority".


[[Image:sarien-hires-priority.png]]
[[Image:sarien-hires-priority.png]]
2,051

edits

Navigation menu