Users browsing this thread: 4 Guest(s)
[RELEASE] PS1 Scene Ripper
#15
So Ape Escape appears to test two tris with a shared edge for culling like this

Code:
A----C    load A into SXY0
|  / |    load B into SXY1
| /  |    load C into SXY2
B----D    NCLIP, ie. test winding order of (SXY0, SXY1, SXY2)
          load D into SXY0
          NCLIP

Normally you would treat this as two tris wound the same way, eg ABC, DCB. Instead it's treating it as two tris wound the opposite direction ABC, DBC. I assume the reason is that it can reuse the BC edge for both cases (ie. it only has to load SXY1/SXY2 once). This means that the sign required by the cull test is opposite for the first and second tri. So when the ripper forces the sign to always be positive, every second tri is missing.

So I thought maybe I could add an optional hack that would flip the sign of an NCLIP if two of SXY0, SXY1, SXY2 are the same as the previous NCLIP. This would hopefully fix games where "Disable Culling" skips "half" of every quad.

Unfortunately it doesn't quite work. 

Ape Escape Before/After, note missing tri on hand.
[Image: vthcj5.jpg]

Evil Zone Before/After, note missing tris on face.
[Image: qb4pfq.jpg]

Does nothing for Omega Boost, which appears to have a completely different culling problem.

It appears to misfire on tris sometimes, so I didn't push it. If I can figure out how to fix it, maybe I'll add it as an option.
3D Screenshot Tools (NDS / N64 / PS1 / PS2)
Other Tools (apicula / Vagrant Story / Star Ocean Blue Sphere)
Reply
Thanked by:


Messages In This Thread
[RELEASE] PS1 Scene Ripper - by scurest - 05-11-2024, 04:11 AM
RE: [RELEASE] PS1 Scene Ripper - by Cavan Ashton - 05-11-2024, 10:59 PM
RE: [RELEASE] PS1 Scene Ripper - by scurest - 05-15-2024, 03:07 AM
RE: [RELEASE] PS1 Scene Ripper - by squall789 - 05-15-2024, 08:26 AM
RE: [RELEASE] PS1 Scene Ripper - by scurest - 05-15-2024, 08:32 PM
RE: [RELEASE] PS1 Scene Ripper - by squall789 - 05-17-2024, 09:49 PM
RE: [RELEASE] PS1 Scene Ripper - by Raccoon Sam - 05-16-2024, 02:21 AM
RE: [RELEASE] PS1 Scene Ripper - by Cavan Ashton - 05-16-2024, 11:46 AM
RE: [RELEASE] PS1 Scene Ripper - by Cavan Ashton - 05-17-2024, 07:12 PM
RE: [RELEASE] PS1 Scene Ripper - by scurest - 05-17-2024, 01:05 PM
RE: [RELEASE] PS1 Scene Ripper - by scurest - 05-18-2024, 03:42 AM
RE: [RELEASE] PS1 Scene Ripper - by shinyboy66 - 05-20-2024, 12:39 AM
RE: [RELEASE] PS1 Scene Ripper - by scurest - 05-20-2024, 03:52 AM
RE: [RELEASE] PS1 Scene Ripper - by shinyboy66 - 05-20-2024, 09:52 AM
RE: [RELEASE] PS1 Scene Ripper - by scurest - 05-20-2024, 11:22 AM
RE: [RELEASE] PS1 Scene Ripper - by Crimson Blade - 05-20-2024, 03:51 PM
RE: [RELEASE] PS1 Scene Ripper - by shinyboy66 - 05-20-2024, 04:05 PM
RE: [RELEASE] PS1 Scene Ripper - by scurest - 05-20-2024, 04:31 PM
RE: [RELEASE] PS1 Scene Ripper - by shinyboy66 - 05-20-2024, 05:11 PM
RE: [RELEASE] PS1 Scene Ripper - by Cavan Ashton - 05-20-2024, 06:05 PM
RE: [RELEASE] PS1 Scene Ripper - by Pik - 05-25-2024, 04:12 AM
RE: [RELEASE] PS1 Scene Ripper - by scurest - 05-25-2024, 04:55 AM
RE: [RELEASE] PS1 Scene Ripper - by kallecarlund - 07-27-2024, 08:00 AM
RE: [RELEASE] PS1 Scene Ripper - by Pik - 05-25-2024, 05:04 AM
RE: [RELEASE] PS1 Scene Ripper - by Crimson Blade - 06-04-2024, 02:26 AM
RE: [RELEASE] PS1 Scene Ripper - by Crimson Blade - 07-12-2024, 01:37 PM
RE: [RELEASE] PS1 Scene Ripper - by Maiky - 07-18-2024, 02:25 PM

Forum Jump: