Opened 22 months ago

Last modified 8 months ago

#11898 new defect

GRIM: "OpenGL with shaders" draws subtitles differently than the other renderers

Reported by: eriktorbjorn Owned by:
Priority: normal Component: Engine: Grim
Version: Keywords:
Cc: Game: Grim Fandango

Description

If I set Grim Fandango to use the "OpenGL with shaders" renderer, almost all subtitles are drawn in the upper left corner of the screen. See attached screenshots for an example.

Attachments (2)

grim-opengl.jpg (37.6 KB ) - added by eriktorbjorn 22 months ago.
grim-opengl-shaders.jpg (39.2 KB ) - added by eriktorbjorn 22 months ago.

Download all attachments as: .zip

Change History (11)

by eriktorbjorn, 22 months ago

Attachment: grim-opengl.jpg added

by eriktorbjorn, 22 months ago

Attachment: grim-opengl-shaders.jpg added

comment:1 by eriktorbjorn, 22 months ago

I also saw Mannie disappear once or twice when running through the corridor towards Eva's workplace when I tried the "OpenGL with shaders" renderer, but I could never figure out any way to reproduce that so I'll just mention it in passing here.

Edit: I haven't been able to reproduce this for a while. Not that I've given it much of a try.

Last edited 11 months ago by eriktorbjorn (previous) (diff)

comment:2 by eriktorbjorn, 17 months ago

The behavior seems to have changed a bit. Now the "OpenGL with shaders" renderer seems to center the subtitles at the bottom of the screen. But with plain "OpenGL" they are placed next to the speaker.

comment:3 by eriktorbjorn, 16 months ago

I'm not sure, but I think it has to do with GfxOpenGLS::getScreenBoundingBox(const Mesh *mesh, int *x1, int *y1, int *x1, int *y2) not being implemented. (It's just an empty function, and since Mesh::getBoundingBox() calls it with uninitialized input parameters the output is just as uninitialized. Ouch.)

Last edited 16 months ago by eriktorbjorn (previous) (diff)

comment:4 by eriktorbjorn, 16 months ago

Summary: GRIM: "OpenGL with shaders" draws almost all subtitles in the upper left cornerGRIM: "OpenGL with shaders" draws subtitles differently than the other renderers

comment:5 by eriktorbjorn, 12 months ago

Funnily enough, the remastered version of Grim Fandango draws the subtitles at the bottom. But as far as I know, the original did not.

comment:6 by eriktorbjorn, 10 months ago

With the release branch, I currently get no subtitles at all with OpenGL with shaders, but that may be because it's compiled in release mode, with optimizations?

comment:7 by aquadran, 10 months ago

both OpenGL renderers draw subtitles fine on release branch and release mode

comment:8 by eriktorbjorn, 9 months ago

At least in the development version, subtitles are still placed at the bottom of the screen for me when using OpenGL with shaders.

in reply to:  2 comment:9 by arrowgent, 8 months ago

Replying to eriktorbjorn:

The behavior seems to have changed a bit. Now the "OpenGL with shaders" renderer seems to center the subtitles at the bottom of the screen. But with plain "OpenGL" they are placed next to the speaker.

can confirm v2.5.0
i didnt even notice this until now
thanks

Note: See TracTickets for help on using tickets.