Opened 4 years ago

Last modified 3 years 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 4 years ago.
grim-opengl-shaders.jpg (39.2 KB ) - added by eriktorbjorn 4 years ago.

Download all attachments as: .zip

Change History (11)

by eriktorbjorn, 4 years ago

Attachment: grim-opengl.jpg added

by eriktorbjorn, 4 years ago

Attachment: grim-opengl-shaders.jpg added

comment:1 by eriktorbjorn, 4 years ago

I also saw Mannie disappear 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.

Version 0, edited 4 years ago by eriktorbjorn (next)

comment:2 by eriktorbjorn, 4 years 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, 4 years 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 4 years ago by eriktorbjorn (previous) (diff)

comment:4 by eriktorbjorn, 4 years 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, 3 years 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, 3 years 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, 3 years ago

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

comment:8 by eriktorbjorn, 3 years 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, 3 years 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.