rickomax / psxprev

PSXPREV - Playstation (PSX) Files Previewer/Extractor
BSD 2-Clause "Simplified" License
193 stars 10 forks source link

Implement proper texture tiling #72

Closed trigger-segfault closed 11 months ago

trigger-segfault commented 12 months ago

Tiled information is a data type that can show up in HMD geometry packets. Although this information is parsed to spec, the textures themselves or maybe the UVs (or both), don't show up correctly. Usually there's stretching or other unexpected behavior.

Note: It's entirely possible that this is a problem with the model in question, but I believe that's not the case, because the model is used in-game, and looks normal there.

File attachment: refinery.zip

Preview: Figure A. Three Different examples of textures (that use tiling) not displaying correctly. image

Figure B. VRAM for Figure A's examples, and additional fourth issue that wasn't visible in the first image. image

trigger-segfault commented 11 months ago

This has been fixed in the renderer by PR #79.

trigger-segfault commented 11 months ago

Tiled texture exporting has been implemented by PR #119.