Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 3D scene dump feature? #9

Open
ps2mod opened this issue Mar 30, 2018 · 0 comments
Open

Add 3D scene dump feature? #9

ps2mod opened this issue Mar 30, 2018 · 0 comments

Comments

@ps2mod
Copy link

ps2mod commented Mar 30, 2018

I saw at PSX tech-docs many GTE opcodes for polygon calculation including depth-sorting, as this cop cares for that task and pass it to GPU for drawing onscreen.
So theorically; it's possible to reconstruct a non-flat 3D textured mesh by getting three raw-data dumps from a given frame capture, coding emulator/gpu plugin to fwrite(&) at the exact spots:

  • GTE polygon projection/3D-to-2D maths. This dump requires reversing back from 2D to 3D, though.
  • GPU projected polygons for actual geommetry.
  • VRAM texture/palette/uvs data.
    The resultant three chunks can be merged together into a common 3D format. Probably this require an external converter tool, as it has nothing to do with accuracy/performance, but it would be a neat and dreamed feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant