by zero_shift · 3y ago · 0 comments
I'm guessing this explains the PSX-specific artefacts you would see when rotated triangles would "clip" into each other at the seams of models. The ordering would just come from the average Z coord of the plane.
[1] https://en.wikipedia.org/wiki/Texture_mapping#Affine_texture...
Maybe the coordinate values passed from GTE to GPU are "shadowed" with extra data about the transformation, that is then retrieved further down the pipeline
I suppose there could be multiple approaches
This isn't an easy problem to solve. I can't think of a way you could back figure the Z from the rendered data. The only other solution I can think of is to somehow break the models up into smaller polys as they are loaded into memory. If you break them up the individual triangles will be smaller and the lack of perspective won't show.
This does not seem to be a new approach, as PC ports of PS1 games used similar tricks all the way back in 2000 [1].
[1] https://news.ycombinator.com/item?id=3581350 https://news.ycombinator.com/item?id=29493242