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)
Change History (11)
by , 4 years ago
Attachment: | grim-opengl.jpg added |
---|
by , 4 years ago
Attachment: | grim-opengl-shaders.jpg added |
---|
follow-up: 9 comment:2 by , 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 , 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.)
comment:4 by , 4 years ago
Summary: | GRIM: "OpenGL with shaders" draws almost all subtitles in the upper left corner → GRIM: "OpenGL with shaders" draws subtitles differently than the other renderers |
---|
comment:5 by , 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 , 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 , 3 years ago
both OpenGL renderers draw subtitles fine on release branch and release mode
comment:8 by , 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.
comment:9 by , 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
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.