rickomax / psxprev

PSXPREV - Playstation (PSX) Files Previewer/Extractor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement proper texture tiling

trigger-segfault opened this issue · comments

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.

  • Fix in renderer
  • Fix in exporter

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

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

Tiled texture exporting has been implemented by PR #119.