LMerckx
d76faf125c
GRIM: Simplify shaders for Raspberry PI ( #2618 )
...
* GRIM: Simplify shaders for Raspberry PI
2020-11-13 06:22:20 +01:00
Cameron Cawley
03e8f0ed2d
ENGINES: Remove code for toggling fullscreen mode ( #2523 )
...
* GRIM: Remove code for toggling fullscreen mode
* MYST3: Remove code for toggling fullscreen mode
* STARK: Remove code for toggling fullscreen mode
* ENGINES: Remove the fullscreen argument from initGraphics3d()
2020-10-14 07:49:28 +02:00
Pawel Kolodziejski
b8ae32d71b
GRIM: Remove unused return value from GfxBase::setupScreen
2020-10-05 20:03:16 +02:00
Pawel Kolodziejski
a8b53f8f21
ALL: Avoid class names clashing with ScummVM classes
2020-09-28 18:47:10 +02:00
Pawel Kolodziejski
37c004f2cd
GRIM: Prevent struct Lights clashing - fixing compilation with older compiler
2020-01-06 00:36:40 +01:00
Vincent Pelletier
ae6b5b8c8e
GRIM: Add support for reversed 32bits color endianness.
...
Also, reduce differences between opengl and shader prepareMovieFrame.
2016-11-06 10:07:40 +01:00
Bastien Bouclet
14b5763408
GRIM: Fix memory leaks related to EMI models
2016-07-12 06:16:36 +02:00
Bastien Bouclet
6c78bcebe4
GRAPHICS: Move opengles2 files to the opengl folder
2016-02-06 08:02:49 +01:00
Dries Harnie
c0ec475288
EMI: Support overworld actors [OpenGLS]
2014-11-23 23:15:10 +01:00
Dries Harnie
c2318c7153
EMI: Use half-transparent plane to implement dimScreen (OpenGLS)
...
- instead of re-calculating the color values when dimming the screen,
better draw a half-transparent plane after drawing all non-overworld
characters
- fixes the issue that overworld actors were dimmed and that the
pause screen is transparent when the inventory is open
2014-09-15 20:44:35 +02:00
Joseph Jezak
ff9f26981c
EMI: Refactor to use a matrix for the camera.
2014-08-19 18:35:26 -04:00
Joni Vähämäki
9a87fa5d51
EMI: Parse per-texture blending mode from model data.
2014-08-12 17:46:42 +03:00
Joseph Jezak
e057c003c1
EMI: Calculate the bounding box using the actor's bounding box info.
2014-08-04 11:14:28 -04:00
Joseph Jezak
60fa48490e
EMI/GRIM: Rename getBoundingBoxPos to getScreenBoundingBox to better describe the behavior.
2014-07-30 15:23:53 -04:00
Pawel Kolodziejski
a39576d921
GRIM/EMI: attempt to fix over read buffer. cleanup types
2014-07-24 15:37:11 +02:00
Joseph Jezak
0866354007
GRIM/EMI: Rename setupCamera to better describe what it does.
2014-07-22 23:28:00 -04:00
Joseph Jezak
6068e94938
EMI/GRIM: Remove unsused roll parameter from setupCamera calls.
2014-07-22 23:27:56 -04:00
Christian Krause
1e82136592
EMI: Implement screenshot thumbnails for savegames
2014-07-16 23:18:43 +02:00
Joel Teichroeb
57a3142fd8
GRIM: Implement destroyMesh [OpenGLS]
2014-07-09 18:47:14 -07:00
Joel Teichroeb
77eef29e49
GRIM: Rename createModel to createMesh
2014-07-09 18:08:01 -07:00
Joel Teichroeb
f02aad6290
GRIM: Implement GfxOpenGLS::dimRegion
2014-07-07 15:38:42 -07:00
Joel Teichroeb
1688a74cf8
GRIM: Implement a dim shader
2014-07-07 15:38:34 -07:00
Joni Vähämäki
88ec1d5285
EMI: Implement lighting for OpenGL Shaders renderer.
2014-07-05 14:09:56 +03:00
Joel Teichroeb
5f87912e91
Merge pull request #949 from Akz-/grim-quat
...
GRIM: Use quaternions for animation.
2014-07-04 10:45:32 -07:00
Joni Vähämäki
dbfec3b1e8
GRIM: Use quaternions for animation.
2014-07-02 22:29:37 +03:00
Christian Krause
565f488c58
GRAPHICS: Refactoring
...
Rename some variables and functions of the graphics drivers to distinguish properly betwen textures and materials.
2014-07-02 02:07:06 +02:00
Christian Krause
bf8501fd37
EMI: Clear depth buffer before starting to draw the Overworld
...
- all actors of the Overworld should cover any non-Overworld drawings
- Overworld actors need to use the depth buffer so that e.g. the
pause screen is drawn above the inventory
- this fixes issue #927 (inventory is drawn above background of pause
or menu screen)
2014-06-21 23:59:07 +02:00
Christian Krause
ec43bc6755
GRIM/EMI: Cleanup
...
- add override to overridden functions
- make sure that all overridden functions are virtual
- make local functions protected
2014-06-21 23:59:04 +02:00
Joel Teichroeb
a539832c78
Merge pull request #910 from JoseJX/FixGLTextureParams
...
EMI: Clamp sprites, repeat other textures.
2014-06-20 08:30:44 -07:00
Joseph Jezak
df3d63fc24
EMI: Add support for clamping sprite textures and repeating other textures.
2014-06-18 22:19:42 -04:00
Joni Vähämäki
b5cdd1240f
EMI: Only draw models for actors inside the view frustum.
...
This adds math classes for doing frustum culling in software. These could be used for optimizing performance in many other places as well. For example, if an actor is outside the view frustum, it may not be necessary to do expensive keyframe animation and vertex skinning calculations for that actor.
2014-06-16 15:42:18 +03:00
Pawel Kolodziejski
8759900b6a
ALL: synced with ScummVM
2014-04-05 18:18:42 +02:00
Dries Harnie
f618b90d31
GRAPHICS: Stencil for grim shadows [OpenGLS]
2014-01-23 20:03:21 +01:00
Joel Teichroeb
91f4e2681b
GRIM: Add a vertex buffer object for blast text drawing
...
This makes it so that we don't have to destroy the VBO
that a blast text object uses. This fixes what is probably
a driver bug with the windows nvidia drivers.
2014-01-17 09:48:09 -08:00
Dries Harnie
3ab4fa601f
GRAPHICS: Support Irises [OpenGLS]
2014-01-14 00:26:47 +01:00
Dries Harnie
85c94be5b5
JANITORIAL: Fix signed-unsigned warnings
2014-01-14 00:26:47 +01:00
Dries Harnie
583eafc2d6
GRAPHICS: Remove duplicate EBO [OpenGLS]
2014-01-14 00:26:44 +01:00
Dries Harnie
3a9af2dabc
GRAPHICS: Add support for Grim primitives [OpenGLS]
2014-01-14 00:26:43 +01:00
Dries Harnie
4157f52eb2
GRAPHICS: Drawing of actors [OpenGLS]
2014-01-14 00:26:39 +01:00
Dries Harnie
5da8aa7144
GRAPHICS: Introduce GfxOpenGLS
2014-01-14 00:26:39 +01:00