Opened 18 years ago
Closed 18 years ago
Last modified 18 years ago
#2195 closed defect (fixed)
DIGDEMO: Characters appear in front of foreground objects
|Reported by:||joostp||Owned by:||Kirben|
Not sure wether to file this under "graphics" or "actor behaviour", anyway, using latest CVS (11 Sept. 2005) there are some very obvious graphical glitches where you can get your characters in front of foreground objects.
The attached screenshots demonstrate the problem. To reproduce just start the demo and walk to left, when passing the objects shown in the screenshot your characters will appear in front of them, there are no other steps necessary to cause the glitches to appear here.
The demo used is the english demo linked from the demos page. I haven't tried this scene in the full version of The Dig yet. Tested platforms: PC (debian linux) and PSP.
Ticket imported from: #1288652. Ticket imported from: bugs/2195.
Change History (6)
by , 18 years ago
by , 18 years ago
digdemo masking bug shot #2
comment:1 by , 18 years ago
I checked the scene with the full Mac version on WinXP, and the problem doesn't appear.
comment:2 by , 18 years ago
One difference between the full game and the demo is script-4. I'm not sure exactly when this script is run, but at the very least it appears to be run when moving between rooms. In the demo it looks like this:
 (6E) setClass(4,) [000A] (6E) setClass(3,)  (66) stopObjectCodeB() END
In the full game, it's even shorter:
 (66) stopObjectCodeB() END
If I understand things correctly, those setClass() opcodes will set _forceClip to 0, meaning "never mask", in actors 3 and 4 which I assume are Boston and Maggie. Brink appears to be correctly masked, which is why I think the script doesn't affect him.
Of course, this only explains why the problem happens. Not how to fix it.
comment:3 by , 18 years ago
The problem was the changes made by Actor::classChanged () are only required by SCUMM 3/4 games, but were been applied to later SCUMM games too.. Fixed in ScummVM CVS.
Might help with other masking issues too, since I noticed a masking issue in airport no longer occurs now.
comment:4 by , 18 years ago
|Status:||new → closed|
digdemo masking bug shot #1