Nico de Poel
43adc7c90f
First genuine result: combined view and projection matrices allow camera controls in Quake coordinate system with aspect ratio correction.
3 years ago
Nico de Poel
4b233e596c
Small optimization: instead of branching, we can do UV correction with a single calculation.
3 years ago
Nico de Poel
8ba6b4b073
Checkpoint with some assorted changes, before we break out the CompMatrix and ApplyMatrix big guns.
3 years ago
Nico de Poel
891a010458
First checkpoint for picking apart and reworking transformations
3 years ago
Nico de Poel
843c82024c
Deleted some old unused texture files.
3 years ago
Nico de Poel
9914c16d61
Cleaned up some things and made some fixes to allow the app to run on real hardware again.
Turns out setting the padding to 0 on SVECTORS is quite necessary, to avoid getting into undefined behavior territory.
3 years ago
Nico de Poel
ac329e1511
Set video mode to 60 Hz NTSC
3 years ago
Nico de Poel
0665342e66
Changed to 512x240 high resolution output, and implemented aspect ratio correction.
3 years ago
Nico de Poel
15201a547e
Added model scale and translation, so that models have the correct relative sizes.
3 years ago
Nico de Poel
92a3607fe5
Reorganized code so that each model can have its own position and rotation. Added the Shambler model back in.
3 years ago
Nico de Poel
5e0641c9ff
Rewrote model rendering code using GTE acceleration. Now with 100% more perspective!
3 years ago
Nico de Poel
02f04ef7ca
Further optimized model rendering by reorganizing the loaded data and precalculating & precaching often reused values.
3 years ago
Nico de Poel
8af98229f5
Reorganized the model rendering loop to reduce duplicate calculations and condition checks.
3 years ago
Nico de Poel
9525e6e134
Cleaned up and inlined the model drawing code, which bumps performance back up again.
3 years ago
Nico de Poel
0c4b440b0c
Added converted Shambler model.
Performance is now starting to take a hit when displaying both models at the same time, so GTE acceleration is becoming necessary.
3 years ago
Nico de Poel
2e56e6b8bf
Made screen width and height into predefined constants.
3 years ago
Nico de Poel
5f54a4f3b8
Added texture mapping for the character model using a split front/back texture approach.
3 years ago
Nico de Poel
49918efe5f
Added support for stripped MDL model.
Models are rendered without any 3D transformations but with a bit of faked lighting and animations. Added converted player model file and converted normals lookup table.
3 years ago
Nico de Poel
57b07ae84f
First import of some cool bits of 2D graphics
3 years ago