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 64865249a4 Removed the baselight addition during light sampling, as that was actually the cause of weird lighting bugs in some areas. 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 Added a few more file extensions to the ignore list 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 Introduced some matrix math to properly construct a texture space transform, that we can also invert to create a transform back to world space. Finally our tesselated polygons are working perfectly! 3 years ago
PS1BSP.vcxproj.filters Introduced some matrix math to properly construct a texture space transform, that we can also invert to create a transform back to world space. Finally our tesselated polygons are working perfectly! 3 years ago
anorms.h First import of PS1 MDL/BSP tools project, long overdue 3 years ago
bsp.h Fixed a floating point rounding error preventing faces from being found for some world-space points. Fixes lighting bugs in a few areas. 3 years ago
common.h Relaxed vector equality margin of error a little bit, hopefully leading to less instances of faces not being found for a given point 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 Removed the baselight addition during light sampling, as that was actually the cause of weird lighting bugs in some areas. 3 years ago
lighting.h Tweaked light sampling a bit more, should be more accurate to Quake's original implementation now (though it hardly makes any difference in practice) 3 years ago
main.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
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 Export model face data 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 Embed the texture atlas data inside the exported .ps1bsp file and name those files after the actual map. 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