Notes on fillrate and drawing large textures

From dreamcast.wiki
Revision as of 12:32, 7 May 2020 by Unknown user (talk) (Created page with "Those notes are from working on Reaperi Cycle and Summoning Signals, two projects that use primairly large textures for it's visual. Those projects are build using GLdc an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Those notes are from working on Reaperi Cycle and Summoning Signals, two projects that use primairly large textures for it's visual. Those projects are build using GLdc and a very light layer to interface with LUA.

Textures

I'm using ARGB1555 .dtex files for my test. At the moment of writing, all those textures are drawn in the TRANSLUCENT POLYGON LIST.

I'm having trouble using the PUNCH-THRU LIST on GLdc

Fillrate

My calculation for fillrate is:

 (texture.width * texture.scale) * (texture.height * texture.scale)

I mention this because although scaling the texture doesn't affect the memory bandwith, it does affect the rendering speed.


Right now, anytime the fille rate reach +/- 550K, the framerate drops.