rickomax / psxprev

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

Support single-sided polygons #71

Closed trigger-segfault closed 1 year ago

trigger-segfault commented 1 year ago

Many model formats provide driver information stating whether a model uses single-sided or double-sided polygons. By default, double-sided polygons are rendered by PSXPrev, but this isn't always correct, especially in cases where a flat polygon has different textures that draw on both sides.

Steps to implement:

Preview: Figure A. A surface with separate faces on each side, but the texture on the back-side of one polygon replaces the texture that should draw on the front. image

Figure B. What the front surface should look like with single-sided polygons. image

trigger-segfault commented 1 year ago

This has been implemented by PR #77.