libdragon icon indicating copy to clipboard operation
libdragon copied to clipboard

Shaded and flat triangles based on snacchus's guide

Open space222 opened this issue 3 years ago • 2 comments

works on hardware (ntsc console). The values in rdp_enable_shading might not be perfect though (copied from a krom test and generated by online tool respectively).

space222 avatar Oct 29 '21 20:10 space222

I will review this as soon as possible. Did the color issue went away?

anacierdem avatar Nov 30 '21 14:11 anacierdem

I will review this as soon as possible. Did the color issue went away?

I don't have another (easy) way to test. I would not be at all surprised if it is just my tv. I can post the rom from the above screenshot on discord if you want to run the same thing and see.

space222 avatar Nov 30 '21 17:11 space222

Closing this, because the unstable branch features a full implementation of RDP triangle drawing for all possibile formats (filled, shaded, textured, z-buffered), even with a RSP-accelerated ucode, that has been carefully tested to provide no seams. See rdpq_tri.h, which is part of the new rdpq library.

The old rdp.h library will be deprecated as soon as we start merging rdpq (will do that piecewise), so we are not going to add new features to it.

rasky avatar Jan 31 '23 17:01 rasky