21 Commits (de12999cbb2e77ebcc71c8592a03da4cd5d84b43)

Author SHA1 Message Date
Nico de Poel 2cb5bcb856 Added support for setting the clear color to a generic sky color. 3 years ago
Nico de Poel ec0eebce3c Fixed frustum calculation and implemented point and sphere tests. Now also tested and looking decent. 3 years ago
Nico de Poel 0f450cf6b1 Added initial frustum calculation based on screen parameters and view matrix. 3 years ago
Nico de Poel 8b34fb1950 Small tweaks: made background black to cover up seams, defined a few flags 3 years ago
Nico de Poel 62cfb91f1c Made some tweaks after experimenting with interlaced mode: 3 years ago
Nico de Poel 989ec0bafb Simplified toggle behavior for button inputs, and added an option to toggle texturing with the circle button. 3 years ago
Nico de Poel 9c1cbd467e Small tweaks: 3 years ago
Nico de Poel 586ee71c3c Added anamorphic 16:9 widescreen support because why the heck not? 3 years ago
Nico de Poel 3a7ea8d4b3 Debugging work: 3 years ago
Nico de Poel d3efa8e590 Keep track of and display total polycount 3 years ago
Nico de Poel eb05cec59c Adjusted display values slightly to better match aspect between NTSC and PAL, and for better vertical centering in PAL. 3 years ago
Nico de Poel 1336d0b2b5 Reset background and dither flags when switching video modes. Fixes flickering background. 3 years ago
Nico de Poel a68b2c370f Set up some helper functions for memory management, including scratchpad memory. Moved the primitive buffer here too. 3 years ago
Nico de Poel f4017d5f56 Modified triangle rendering code so that it finally works on real hardware. 3 years ago
Nico de Poel be9719ce03 Made a few changes to the ordering of the display code, which fixes execution on real hardware. 3 years ago
Nico de Poel 5709d4973c Adapted Select button input to switch between NTSC and PAL, which is a bit more useful at the moment. 3 years ago
Nico de Poel a80c6d490b First implementation of interlaced mode and switching display modes by pressing Select. 3 years ago
Nico de Poel adff38b978 Expanded display initialization code with proper handling of both NTSC and PAL aspect ratios, and allowing PAL to render at higher resolution. 3 years ago
Nico de Poel a94ec5dc33 Implemented real-time clock, allowing for precise timekeeping and framerate-independent game updates. 3 years ago
Nico de Poel 5a3b6aac46 First implementation of world loading and rendering. No BSP logic or optimizations in here yet, but something is being displayed! 3 years ago
Nico de Poel ea44f4e99c First import, with bits of code taken from the MDL viewer prototype, split up into organized units. 3 years ago