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
fc281251ea
Overhaul of geometry conversion:
- Faces are now tessellated into one or more polygons, based on UV coordinates and texture tiling
- Polygons have their own vertex index list and light/UV values per vertex
- Lighting is sampled per polygon vertex, allowing for more light samples in general and more refined lighting
- There are still problems with reconstruction of vertices for sloped surfaces, but this is enough of a result for a checkpoint commit
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
Imported General Polygon Clipper library, which could come in handy to cut up faces to accomplish texture tiling
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
Encapsulated GPC-based tesselation into a Tesselator class, which now also produces normalized UVs per vertex-texture pair and a list of Polygon structs with texture and vertex index data.
3 years ago
PS1BSP.vcxproj.filters
Encapsulated GPC-based tesselation into a Tesselator class, which now also produces normalized UVs per vertex-texture pair and a list of Polygon structs with texture and vertex index data.
3 years ago
anorms.h
First import of PS1 MDL/BSP tools project, long overdue
3 years ago
bsp.h
Added a new lighting sampler to take advantage of the improved lightmap indexing: use a pseudo-random jitter pattern to take multiple light samples in an area around the sample point, from all surrounding faces at a shallow angle.
3 years ago
common.h
Overhaul of geometry conversion:
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
Overhaul of geometry conversion:
3 years ago
lighting.h
Added a new lighting sampler to take advantage of the improved lightmap indexing: use a pseudo-random jitter pattern to take multiple light samples in an area around the sample point, from all surrounding faces at a shallow angle.
3 years ago
main.cpp
Overhaul of geometry conversion:
3 years ago
palette.lmp
Added code and resources for exporting TIM image files directly
3 years ago
ps1bsp.h
Overhaul of geometry conversion:
3 years ago
ps1types.h
Reworked PS1BSP format to use dentry-style header info, and added structs for planes, nodes and leafs.
3 years ago
tesselate.cpp
Overhaul of geometry conversion:
3 years ago
tesselate.h
Overhaul of geometry conversion:
3 years ago
texture.cpp
Tweaked heuristics of the rectpack algorithm to produce better results for our non-square texture atlases.
3 years ago
texture.h
First pass at converting texture info to PS1 VRAM data. Not quite right yet but it's starting to work.
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