Difference between revisions of "Sarien/Hires Badness"

From ScummVM :: Wiki
Jump to navigation Jump to search
(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]]

Latest revision as of 03:03, 23 January 2011

As of r25037, the hires mode is all gone, and the AGI engine is a thousand lines lighter.

--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.

The primary problem comes from 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, 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.

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

These aren't actually errors, but give a feel for what could go wrong in other places.

Sarien-hires-craft.png

Sarien-hires-body.png

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".

Sarien-hires-priority.png

In fact, a bit further in to the game: (notice the diagonal control lines)

Sq2-rm11.png


Sq2-rm11-pri.png