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 |
|
Gunnar Birke
|
c2aba90498
|
WINTERMUTE: Add functions for controlling active lights to renderer
|
2020-07-25 22:19:52 +02:00 |
|
Gunnar Birke
|
d858359c85
|
WINTERMUTE: Add interfaces for some shadow rendering functions
|
2020-07-13 19:43:17 +02:00 |
|
Gunnar Birke
|
afdff6afbb
|
WINTERMUTE: Store game pointer in renderer and surfaces
|
2020-06-28 22:07:09 +02:00 |
|
Gunnar Birke
|
eeab4b2b78
|
WINTERMUTE: Set blend mode before rendering sprite
|
2020-06-28 22:07:09 +02:00 |
|
Gunnar Birke
|
0b16083c13
|
WINTERMUTE: Factor out ray scene casting into renderer
|
2020-06-28 22:07:09 +02:00 |
|
Gunnar Birke
|
52f5b02b00
|
WINTERMUTE: Cosmetic changes, make renderer more consistent with wme
|
2020-06-27 22:54:40 +02:00 |
|
Gunnar Birke
|
83023eb5f9
|
WINTERMUTE: Check if global renderer color was set and use it if so
|
2020-06-27 22:54:40 +02:00 |
|
Gunnar Birke
|
31a810e56f
|
WINTERMUTE: Combine texture with vertex color when drawing sprites
|
2020-06-27 22:54:40 +02:00 |
|
Gunnar Birke
|
f6de2db40a
|
WINTERMUTE: Use correct index offset when setting color
|
2020-06-27 22:54:40 +02:00 |
|
Gunnar Birke
|
04eb3ad1ef
|
WINTERMUTE: Use our own opengl texture instead of ResidualVM's one
|
2020-06-27 22:54:40 +02:00 |
|
Gunnar Birke
|
bb126c18ba
|
WINTERMUTE: Store fov in member variable during 3d setup
|
2020-06-15 14:12:25 +02:00 |
|
Gunnar Birke
|
4a41bda3f8
|
WINTERMUTE: Do not turn off depth writing in 2d mode
|
2020-06-15 14:12:25 +02:00 |
|
Gunnar Birke
|
9ace53a8a8
|
WINTERMUTE: Add function to project point onto the viewport
|
2020-06-15 14:12:25 +02:00 |
|
Gunnar Birke
|
2000c7294c
|
WINTERMUTE: Store the last 3d projection matrix in renderer
|
2020-06-15 14:12:25 +02:00 |
|
Gunnar Birke
|
2646ad0d62
|
WINTERMUTE: Implement getViewport function
|
2020-06-15 14:12:25 +02:00 |
|
Gunnar Birke
|
b1cd3fddf5
|
WINTERMUTE: Add function to set the blend mode
|
2020-06-15 14:12:25 +02:00 |
|
Gunnar Birke
|
bd14fa499f
|
WINTERMUTE: Add functions to set ambient light
|
2020-06-15 14:12:25 +02:00 |
|
Gunnar Birke
|
3096d4660c
|
WINTERMUTE: Add functions for pushing and popping matrices
|
2020-06-15 14:12:25 +02:00 |
|
Gunnar Birke
|
5c2303b9f6
|
WINTERMUTE: Fix code formatting, cosmetic changes
|
2020-06-07 18:29:05 +02:00 |
|
Gunnar Birke
|
f961611411
|
WINTERMUTE: Set correct culling mode for scene geometry
|
2020-06-07 18:29:05 +02:00 |
|
Gunnar Birke
|
baa5bb228c
|
WINTERMUTE: Fix opengl function call arguments
|
2020-06-07 18:29:05 +02:00 |
|
Gunnar Birke
|
3c1a6c75c8
|
WINTERMUTE: Properly setup projection and view matrix
|
2020-06-07 18:29:05 +02:00 |
|
Gunnar Birke
|
ff3b4177fb
|
WINTERMUTE: Fix formatting, add license headers
|
2020-06-07 18:29:05 +02:00 |
|
Gunnar Birke
|
e64df162ef
|
WINTERMUTE: Set camera matrix during 3d setup
|
2020-06-07 18:29:05 +02:00 |
|
Gunnar Birke
|
15896112bf
|
WINTERMUTE: Set far plane distance to 1900 (like wme)
|
2020-06-07 18:29:05 +02:00 |
|
Gunnar Birke
|
10b26ff2d9
|
WINTERMUTE: Add function to reset model-view transform
|
2020-06-07 18:29:05 +02:00 |
|
Gunnar Birke
|
1d6a47c8b3
|
WINTERMUTE: Implement proper 3d setup function
|
2020-06-07 18:29:05 +02:00 |
|
Gunnar Birke
|
e4580f5a72
|
WINTERMUTE: Use relative to project base header paths
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
a4ce6d6bf2
|
WINTERMUTE: Make sprite rendering code more readable
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
dff5d099b4
|
WINTERMUTE: Warn about not yet implemented functions
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
9311be32ca
|
WINTERMUTE: Apply cosmetic changes
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
cbc313020a
|
WINTERMUTE: Fix formatting, add license headers
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
2e77063c7c
|
WINTERMUTE: Revert virtualization of pointFrom/ToScreen and use #ifndefs instead
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
d7485741c9
|
WINTERMUTE: Fix curly braces, add some comments
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
7c0835d1cf
|
WINTERMUTE: Don't write to z buffer during 2d rendering
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
50cb4e72d6
|
WINTERMUTE: Clean up rect list before rendering
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
cfe9d74374
|
WINTERMUTE: Virtualize pointFromScreen/pointToScreen calls
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
8a42dde295
|
WINTERMUTE: Correct y position which expects Direct3D viewport coords
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
8f6de3fe15
|
WINTERMUTE: Implement fading
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
7b9f277621
|
WINTERMUTE: Factor out 2D projection settings
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
b138c7b0ee
|
WINTERMUTE: Fix vertex data construction
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
4ffc621049
|
WINTERMUTE: Clear array buffer before rendering anything
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
3339147252
|
WINTERMUTE: Use an orthographic projection in 2d mode
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
84bcd9cde1
|
WINTERMUTE: Put clear and fill operations into correct order
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
a357114aaa
|
WINTERMUTE: Use our own frustum construction for now
|
2020-06-03 01:17:25 +02:00 |
|
Gunnar Birke
|
962c127049
|
WINTERMUTE: Set viewport during init and save it's data
|
2020-06-03 01:17:25 +02:00 |
|