Hot answers tagged molehill
You could have a multi-map of sprites in which their key is the texture, then when rendering, go through each key in the map and render each group of sprites that are associated with that texture. If sprites all share the same texture then you can represent every sprite with two triangles and texture coordinates, which means you can draw all sprites that use ...
Is there any way of pretending that a depth buffer is a BGRA texture (by creating a texture that overlaps the depth buffer in memory, maybe), or will the API not allow that? If it will, you can decode the depth value in the pixel shader by working out which three channels contain the depth value, which ones are the high/middle/low bytes of the value, and ...
i'm the author of the benchmarks spreadsheet. The algorithms i used for benchmarking are from a set of opensource compiler benchmarking code from Adobe themselves. I also runned some of the netlib benchmark algorithms. Blog post : http://www.heliereric.com/fr/article/adobe-alchemy-benchmarks Sources : https://github.com/ricovitch/FlasCC-Benchmarks
Rendering speed for 3D FlasCC games/apps is likely to be similar to C++ apps for obvious reasons - the actual rendering takes place on the GPU. Flash includes a cross-platfrom shader language (AGAL) to describe GPU kernels (programs run per pixel on the GPU). For CPU/computing speeds however, my tests have shown that the Alchemy toolkit at its best reaches ...
Only top voted, non community-wiki answers of a minimum length are eligible