[osflash] Flash 3D - improve performance?
ralf.bokelberg at gmail.com
Sun Dec 2 14:39:35 PST 2007
I'm reading O'Reilly's <a
Code</a>. One essay is talking about creating code at runtime in the
Windows 95 BitBlit function. BitBlit copies rectangular bitmap areas.
Pixels can be copied in 256 different modes in which pixels are
combined. The modes are defined by three different parameters. Instead
of using conditionals to determine the mode (which is the same for
every pixel), BitBlit renders the parameters to assembler code once,
and executes this code for all the pixels. This gave a massive
I'm not sure how the current Flash 3D libraries work. Maybe they don't
use per pixel rendering. Maybe they already use the same technology as
the one explained above. Just in case they don't ...
More information about the osflash