Permalink
Please
sign in to comment.
Browse files
GFX3D: The polygon clipping stage now occurs before any polygon sorti…
…ng, allowing for the sorting of smaller lists. This can be a significant performance improvement for some 3D scenes with high polygon counts. - 3D renderers no longer perform polygon clipping themselves, instead relying on GFX3D to do it. By default, the clipping mode is ClipperMode_DetermineClipOnly, but 3D renderers can change this by overriding the virtual method Render3D::GetPreferredPolygonClippingMode() and returning their preferred clipping mode.
- Loading branch information...
Showing
with
204 additions
and 139 deletions.
- +8 −4 desmume/src/OGLRender.cpp
- +4 −2 desmume/src/OGLRender_3_2.cpp
- +167 −70 desmume/src/gfx3d.cpp
- +9 −4 desmume/src/gfx3d.h
- +8 −9 desmume/src/rasterize.cpp
- +2 −0 desmume/src/rasterize.h
- +5 −47 desmume/src/render3D.cpp
- +1 −3 desmume/src/render3D.h
Oops, something went wrong.
0 comments on commit
e06d11f