Tools for preprocessing data files from Quake to make them suitable for use on PS1 hardware
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
2626b9c67f
A bit of cleanup:
- Ditching the face vertex thing since we're not likely to use the low-quality render path in practice, and this saves a ton on extra vertex data
- No need to build a world-space bounding box per face anymore
3 years ago
Docs
Added documentation downloaded from Lameguy64
3 years ago
PS1MDL
First import of PS1 MDL/BSP tools project, long overdue
3 years ago
rectpack
Tweaked heuristics of the rectpack algorithm to produce better results for our non-square texture atlases.
3 years ago
.gitignore
Allow easier bulk map conversion
3 years ago
N64E1M1.bsp
First import of PS1 MDL/BSP tools project, long overdue
3 years ago
N64E2M2.bsp
First import of PS1 MDL/BSP tools project, long overdue
3 years ago
PS1BSP.sln
First import of PS1 MDL/BSP tools project, long overdue
3 years ago
PS1BSP.vcxproj
Implemented a more accurate face area computation, allowing for more precise tessellation LOD selection.
3 years ago
PS1BSP.vcxproj.filters
Implemented a more accurate face area computation, allowing for more precise tessellation LOD selection.
3 years ago
anorms.h
First import of PS1 MDL/BSP tools project, long overdue
3 years ago
bsp.h
Made an attempt at detecting T-junctions in geometry and correcting the vertices for that. It sort of works but it doesn't have the desired effect yet. Back to the drawing board.
3 years ago
common.h
Added a few source references
3 years ago
face.cpp
Implemented a more accurate face area computation, allowing for more precise tessellation LOD selection.
3 years ago
face.h
Implemented a more accurate face area computation, allowing for more precise tessellation LOD selection.
3 years ago
gpc.cpp
Imported General Polygon Clipper library, which could come in handy to cut up faces to accomplish texture tiling
3 years ago
gpc.h
Imported General Polygon Clipper library, which could come in handy to cut up faces to accomplish texture tiling
3 years ago
lighting.cpp
A bit of cleanup:
3 years ago
lighting.h
A bit of cleanup:
3 years ago
main.cpp
A bit of cleanup:
3 years ago
matrix.h
Create a reusable texture space transform matrix per face, and use it to build up the texture boundaries.
3 years ago
palette.lmp
Added code and resources for exporting TIM image files directly
3 years ago
ps1bsp.h
Updated vertex field names to match, to facilitate blitting to SVECTOR
3 years ago
ps1types.h
Added bounding spheres to node data, used for frustum culling
3 years ago
tesselate.cpp
Reworked lightmap sampling using a lightmap space transform and correctly rounding values, using the Quake source for reference. Finally fixes a bunch of lingering lighting artifacts.
3 years ago
tesselate.h
Reworked lightmap sampling using a lightmap space transform and correctly rounding values, using the Quake source for reference. Finally fixes a bunch of lingering lighting artifacts.
3 years ago
texture.cpp
Detect and link animated texture frames
3 years ago
texture.h
Calculate average and dominant colors per texture, and use those to precalculate combined color * light values per face vertex, for cheap vertex colored drawing.
3 years ago
tim.cpp
Added code and resources for exporting TIM image files directly
3 years ago
tim.h
Added code and resources for exporting TIM image files directly
3 years ago