Quake BSP renderer for PS1
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nico de Poel
dfa6ec2f85
Split face drawing off into a separate function, and made triangle fan and triangle strip available again as alternative options, for comparison.
Also using triangle fan as a special case for faces with three vertices, i.e. a simple single triangle.
|
3 years ago |
|
.gitignore
|
First import, with bits of code taken from the MDL viewer prototype, split up into organized units.
|
3 years ago |
|
CMakeLists.txt
|
First implementation of world loading and rendering. No BSP logic or optimizations in here yet, but something is being displayed!
|
3 years ago |
|
CMakePresets.json
|
Added debug and release build configurations
|
3 years ago |
|
asset.c
|
First import, with bits of code taken from the MDL viewer prototype, split up into organized units.
|
3 years ago |
|
asset.h
|
First import, with bits of code taken from the MDL viewer prototype, split up into organized units.
|
3 years ago |
|
atlas-e1m1.tim
|
First import, with bits of code taken from the MDL viewer prototype, split up into organized units.
|
3 years ago |
|
atlas-e2m2.tim
|
First import, with bits of code taken from the MDL viewer prototype, split up into organized units.
|
3 years ago |
|
common.h
|
Set up some helper functions for memory management, including scratchpad memory. Moved the primitive buffer here too.
|
3 years ago |
|
display.c
|
Keep track of and display total polycount
|
3 years ago |
|
display.h
|
Keep track of and display total polycount
|
3 years ago |
|
input.c
|
Reset background and dither flags when switching video modes. Fixes flickering background.
|
3 years ago |
|
input.h
|
First import, with bits of code taken from the MDL viewer prototype, split up into organized units.
|
3 years ago |
|
iso.xml
|
First import, with bits of code taken from the MDL viewer prototype, split up into organized units.
|
3 years ago |
|
main.c
|
Keep track of and display total polycount
|
3 years ago |
|
memory.c
|
Re-enabled bounds check for primitive buffer. Fixes crashing on larger maps.
|
3 years ago |
|
memory.h
|
Rewrote scratchpad function to work more as I envisioned it:
|
3 years ago |
|
ps1bsp.h
|
Implemented triangle strip topology for drawing faces
|
3 years ago |
|
qmath.c
|
First implementation of world loading and rendering. No BSP logic or optimizations in here yet, but something is being displayed!
|
3 years ago |
|
qmath.h
|
First implementation of world loading and rendering. No BSP logic or optimizations in here yet, but something is being displayed!
|
3 years ago |
|
system.cnf
|
First import, with bits of code taken from the MDL viewer prototype, split up into organized units.
|
3 years ago |
|
test.ps1bsp
|
Implemented triangle strip topology for drawing faces
|
3 years ago |
|
time.c
|
Fixes to the time system to make it work on real hardware, and prevent potential crash from division by zero.
|
3 years ago |
|
time.h
|
Implemented real-time clock, allowing for precise timekeeping and framerate-independent game updates.
|
3 years ago |
|
world.c
|
Split face drawing off into a separate function, and made triangle fan and triangle strip available again as alternative options, for comparison.
|
3 years ago |
|
world.h
|
Faces can now carry their own per-vertex lighting data, instead of sharing all vertex data with adjacent faces.
|
3 years ago |