Closed sum2012 closed 10 years ago
can confirm that this happens regardless of buffer mode and also happens with the softgpu
Tested a little further. It's indeed d7ae3f88a104325fed572030db93642dd69dc673
and using the now deleted hack of transformDraw_.DrawBezier(bz_ucount, bz_vcount);
works while the new proper implementation transformDraw_.SubmitBezier(control_points, indices, bz_ucount, bz_vcount, patchPrim, gstate.vertType);
displays black.
May be we can mark the title as Beizer issue .
I guess it could even be using a different prim type than GE_PATCHPRIM_TRIANGLES?
-[Unknown]
No, that's not it, that would return before it even got to the call, I'm digging a little deeper currently.
This is how it looks in the gedebugger. Not sure how it all works but stepping though the code it definately calls "drawPrim" but I don't see it mentioned anywhere in the gedebugger but I don't know if it should be there either.
I did try to comment out below, didn't help
if (prim_type != GE_PATCHPRIM_TRIANGLES) {
// Only triangles supported!
return;
}
PPSSPP v0.9.6-466 same problem https://gist.github.com/sum2012/5483987171632ba3a829
I'm going to need people to test b49fa80838039b4bfc34a2df2b7453e8b8b83abf with as many games as possible that use bezier splines to figure out whether any of the them uses view matrix transformed bezier splines.
Here's a vdeo demonstrating the test with Toaru Kagaku no Railgun: http://www.youtube.com/watch?v=PjXefvWPitY
seem to not break these games that using bezier.
games that using splines still looks good with that option
still looks good bezier
splines
That's great that they work with both. If anyone wants to test additional games please use https://github.com/Bigpet/ppsspp/commit/2f7243b5ebadb05df3d8d0eb8578a20a9909c8cb , you won't need to re-test games you already tested.
This automatically preserves the through mode bit, so no need to toggle it in the settings.
Cong @Bigpet
Good v0.9.1-1114-g36fd5df (I have compile myself to test)
Bad v0.9.1-1144-gf8eebdb
compare https://github.com/hrydgard/ppsspp/compare/v0.9.1-1114-g36fd5df...v0.9.1-1144-gf8eebdb
git bisect result
It is @hrydgard commit https://github.com/hrydgard/ppsspp/commit/d7ae3f88a104325fed572030db93642dd69dc673
v0.9.1-1114-g36fd5df log https://gist.github.com/sum2012/b4fa38e617ba0053d6a4
PPSSPP v0.9.6-406-g62eb701 log (dump to next frame to log) https://gist.github.com/sum2012/c9a594eafc2fe7922420