Commit graph

105 commits

Author SHA1 Message Date
Paweł Kołodziejski
db89c680a1 WINTERMUTE: Replace glInterleavedArrays calls 2020-10-22 16:43:15 +02:00
Gunnar Birke
874965f454 WINTERMUTE: Remove Model-View transformation reset function from 3d renderer interface 2020-10-18 07:22:40 +02:00
Gunnar Birke
1ea679f90a WINTERMUTE: Provide getters for actual opengl texture dimensions 2020-10-18 07:22:40 +02:00
Paweł Kołodziejski
a37173807f CONFIGURE: More work on opengl flags 2020-10-14 18:37:17 +02:00
Paweł Kołodziejski
f2a7b582a9 WINTERMUTE: Switch back to glActiveTexture 2020-10-11 20:42:40 +02:00
BeWorld
cab7cd49c4
MORPHOS : Fixed for int vs int32 types for AmigaOS/MorphOS (#2510)
MORPHOS : Fixed int to int32 and some functions not available on AmigaOS/MorphOS
2020-10-11 18:24:36 +02:00
Paweł Kołodziejski
b632277860 WINTERMUTE: Align type param for glGetTexLevelParameteriv 2020-10-11 07:50:29 +02:00
Paweł Kołodziejski
264f6f037b ALL: Separate USE_OPENGL and USE_OPENG_GAME. Exclude WME3D for GLES2 for now. 2020-10-10 14:12:07 +02:00
Pawel Kolodziejski
1e497cdebd WINTERMUTE: Allow compile without opengl 2020-10-06 07:33:01 +02:00
Pawel Kolodziejski
4599b255b8 WINTERMUTE: Fixed compilation opengl renderer on mingw without GLEW 2020-10-04 12:44:05 +02:00
Pawel Kolodziejski
e427f7eeda WINTERMUTE: Fixed wintermute engine compilation when GLEW is disabled 2020-10-04 11:30:39 +02:00
Pawel Kolodziejski
27e12d8a96 ALL: Eliminate LOCAL_PI macro 2020-09-23 23:20:23 +02:00
Pawel Kolodziejski
ceb422d6f8 WINTERMUTE: Silence compiler warnings 2020-09-20 22:18:55 +02:00
Gunnar Birke
77f25c4573 WINTERMUTE: Enable/Disable culling based on flag 2020-08-29 05:22:22 +02:00
Gunnar Birke
81476dfec2 WINTERMUTE: Fix typo in warning text 2020-08-29 05:22:22 +02:00
Gunnar Birke
e8731b2b97 WINTERMUTE: Simplify rendering loops for scene geometry 2020-08-29 05:22:22 +02:00
Gunnar Birke
c28a2003a8 WINTERMUTE: Move non OpenGL code out of OpenGL folder 2020-08-28 16:47:28 +02:00
Gunnar Birke
cbd39394d1 WINTERMUTE: Implement drawing of lines in renderer 2020-08-28 06:30:23 +02:00
Gunnar Birke
a0dbffef5d WINTERMUTE: Use proper enum type to store render state 2020-08-28 06:30:23 +02:00
Gunnar Birke
a449b2e7d5 WINTERMUTE: Try to guess correct spotlight settings 2020-08-25 17:27:11 +02:00
Gunnar Birke
f9f8d0d527 WINTERMUTE: Don't accidentally revert view matrix to identity 2020-08-25 17:27:11 +02:00
Gunnar Birke
bee56f5802 WINTERMUTE: Set default clip plane values only during init 2020-08-25 00:03:09 +02:00
Gunnar Birke
ceb9c68a2b WINTERMUTE: Use camera clipping plane settings in renderer 2020-08-22 17:38:46 +02:00
Pawel Kolodziejski
4c331b326a WINTERMUTE: Change debug log from error to warning to allow "Dark Fall: Lost Souls" game to start 2020-08-18 21:47:55 +02:00
Gunnar Birke
acee5386c9 WINTERMUTE: Implement displaying of transformed sprites 2020-08-18 18:50:57 +02:00
Gunnar Birke
6f5bcd54cf WINTERMUTE: Implement sprite mirroring 2020-08-17 18:44:24 +02:00
Gunnar Birke
a34a125848 WINTERMUTE: Implement image based shadows in fixed function renderer 2020-08-16 21:01:59 +02:00
Gunnar Birke
c570f4f609 WINTERMUTE: Use correct alpha reference 2020-08-16 21:01:59 +02:00
Gunnar Birke
344354649b WINTERMUTE: Transform light data by camera matrix 2020-08-16 12:23:17 +02:00
Gunnar Birke
b557bb7f60 WINTERMUTE: Use/store actual viewport for 3d rendering/picking 2020-08-11 00:46:55 +02:00
Gunnar Birke
bfa52b67d4 WINTERMUTE: Use window dimensions for 2d viewport 2020-08-11 00:46:55 +02:00
Gunnar Birke
74b2184a5d WINTERMUTE: Correctly convert Direct3D viewport parameters 2020-08-11 00:46:55 +02:00
Gunnar Birke
7dbb176b7f WINTERMUTE: Scale projection matrix entries by window/viewport ratio 2020-08-11 00:46:55 +02:00
Gunnar Birke
079b450436 WINTERMUTE: Render light directions again when debugging geometry 2020-08-10 11:24:28 +02:00
Gunnar Birke
cfc652a828 WINTERMUTE: Remove irrelevant comments, fix comment style 2020-08-10 11:24:28 +02:00
Gunnar Birke
126f3b1100 WINTERMUTE: Move common .3ds mesh code to base, remove normals 2020-08-10 11:24:28 +02:00
Gunnar Birke
532573ecd3 WINTERMUTE: Introduce struct to pass fog parameters 2020-08-10 11:24:28 +02:00
Gunnar Birke
03c942fa18 WINTERMUTE: Move scene geometry render code into renderer 2020-08-10 11:24:28 +02:00
Gunnar Birke
7a1567e045 WINTERMUTE: Factor out common renderer code into base 2020-08-10 11:24:28 +02:00
Gunnar Birke
7ac6aa5337 WINTERMUTE: Remove matrix stack, let renderer care about matrix layout 2020-08-10 11:24:28 +02:00
Gunnar Birke
3864ad1dd8 WINTERMUTE: Render shadow volume using VBOs and shaders 2020-08-10 11:24:28 +02:00
Gunnar Birke
b5943fd177 WINTERMUTE: Refactor lighting, implement shader based lighting 2020-08-10 11:24:28 +02:00
Gunnar Birke
1223595120 WINTERMUTE: Add abstract interfaces for renderer and meshes 2020-08-10 11:24:28 +02:00
Gunnar Birke
e003b1896a WINTERMUTE: Remove unnecessary override 2020-07-28 13:52:22 +02:00
Gunnar Birke
25ea38c3bc WINTERMUTE: Implement fog 2020-07-28 13:52:14 +02:00
Gunnar Birke
a1371d002f WINTERMUTE: Handle camera pointer being null 2020-07-26 22:57:08 +02:00
Gunnar Birke
b938293170 WINTERMUTE: Normalize normal vectors of 3d objects 2020-07-26 22:57:08 +02:00
Gunnar Birke
7d5304df4b WINTERMUTE: Use either scene or custom ambient light depending on flag 2020-07-25 22:19:54 +02:00
Gunnar Birke
7b9174934a WINTERMUTE: Do not use GL_REPLACE for texture environment mode 2020-07-25 22:19:53 +02:00
Gunnar Birke
3346fc3595 WINTERMUTE: Enable lighting in 3d render mode 2020-07-25 22:19:53 +02:00