Christoph Oelckers
|
b6af4677f3
|
- implemented model precaching.
|
2016-05-03 18:14:16 +02:00 |
|
Christoph Oelckers
|
f7fda94ec9
|
- changed model data to store models and textures by index instead of by pointer.
The indices are needed for efficient precaching and actual changes to the logic are minor so that this was the best option overall.
|
2016-05-03 15:45:21 +02:00 |
|
Christoph Oelckers
|
58eb64a7e0
|
- fixed a few fixed/float parameter mixups.
|
2016-04-03 12:54:47 +02:00 |
|
Christoph Oelckers
|
37bb816850
|
- some adjustments for voxels.
|
2016-03-24 16:10:17 +01:00 |
|
Christoph Oelckers
|
a59824cd88
|
- fixed: MD2 vertex indices were signed shorts but should be unsigned.
- fixed a few warnings from Visual C++ 2015.
|
2015-05-07 11:36:31 +02:00 |
|
Christoph Oelckers
|
052dda0fdd
|
- made MD3 models reloadable.
|
2015-04-12 19:42:03 +02:00 |
|
Christoph Oelckers
|
feeebf5265
|
- rework MD2 code for reloading/precaching of geometry data.
|
2015-04-12 18:26:52 +02:00 |
|
Christoph Oelckers
|
4f08b20df5
|
- consider pixel stretching when rendering models. For non-voxels an aspect ratio of 1:1 must always be assumed while voxels need to be stretched so that 1 voxel unit == 1 map unit.
|
2014-12-31 12:53:29 +01:00 |
|
Christoph Oelckers
|
e5cd90f323
|
- use separate vertex buffers per model to avoid large memory usage peaks. Also delete the geometry data for the models once it has been copied into the vertex buffer.
|
2014-10-24 11:43:25 +02:00 |
|
Christoph Oelckers
|
6efefd9b7f
|
- use vertex buffer to render MD3 models.
|
2014-06-30 18:02:52 +02:00 |
|
Christoph Oelckers
|
1efc2938b7
|
- implement model vertex buffer and draw MD2 models using it instead of using the GLCommands from the model.
|
2014-06-29 23:24:16 +02:00 |
|
Christoph Oelckers
|
ca76c2525e
|
- more vertex buffer stuff for models, still not tested.
|
2014-06-19 22:24:33 +02:00 |
|
Christoph Oelckers
|
5944894138
|
- create vertex buffer data for MD2/DMD models.
|
2014-06-19 17:06:26 +02:00 |
|
Christoph Oelckers
|
3e9b9c280b
|
- initialize model data at engine start, not at level start.
|
2014-06-19 15:22:00 +02:00 |
|
Christoph Oelckers
|
412d6499d9
|
- removed the voxel vertex buffer because it needs to be gone before implementing a model vertex buffer.
|
2014-06-19 14:46:55 +02:00 |
|
Christoph Oelckers
|
03916d75de
|
- cleaned up MD3 rendering and merged RenderFrame and RenderFrameInterpolated into one function.
|
2014-06-19 13:58:49 +02:00 |
|
Christoph Oelckers
|
59522f7065
|
- simplified MD2 drawing code as preparation for a buffer based implementation.
|
2014-06-19 13:37:30 +02:00 |
|
Christoph Oelckers
|
965a2a2d79
|
definition for model vertex buffer.
|
2014-06-15 21:56:37 +02:00 |
|
Christoph Oelckers
|
978ace241c
|
- removed all code that mixes together the different lighting methods. Now everything goes through the 3 different light parameters in the render state.
- removed cm parameter from many functions.
|
2014-05-11 21:47:54 +02:00 |
|
Christoph Oelckers
|
0f8ed0123f
|
- fixed: Models must not delete their skin textures because they are stored in the texture manager which will be responsible for doing this.
|
2013-10-11 01:04:54 +02:00 |
|
Christoph Oelckers
|
b6dab83d2b
|
- removed constructor and destructor from FDMDModel::ModelFrame because they were redundant and only caused double deletion of its contents.
|
2013-10-10 23:13:56 +02:00 |
|
Christoph Oelckers
|
399d0974ab
|
- added GL render as of SVN revision 1600.
|
2013-06-23 09:49:34 +02:00 |
|