View Full Version : Load upto 12 million X-Y coordinates
lotsOfBugs
08-01-2009, 09:40 PM
How do I build an application that can load up to 10Million dots; small X-Y identifiable coordinates that can fire events like onClick etc? Would the flash player handle 1Million clicks a minute?
Attached is what the resulting application would look like with all the points.
Peter Cowling
08-02-2009, 08:22 AM
If this is a case of managing up to 12m pieces of data, and drawing them as represented, this would be possible.
Dealing with 12m visible display objects, well...not so sure.
I would therefore probably experiment with splitting the data up to allocate it to etiher rows or columns, draw a bitmap for each, and then work off the mouse x-y position when its clicked. That way, you are not trying to deal with huge volumes of display objects.
Whilst this blog post (http://www.unitzeroone.com/blog/2009/03/18/flash-10-massive-amounts-of-3d-particles-with-alchemy-source-included/) describes the implementation of requirements that differ from your own, the use of pixel bender and alchemy and associated optimizations may well be of interest.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.