Re: [Algorithms] Texture mip streaming prioritization
Brought to you by:
vexxed72
From: Krzysztof N. <k.n...@gm...> - 2013-07-22 21:26:34
|
Hi, A good solution would be just to precompute some data. For example camera is at point X - what should I load. Alternatively - object X is Y meters from camera - what should I load. Without precomputation it's hard to know what will be needed in nearest time. Current frame usually doesn't contain enough information. BTW isn't loading single mip-maps too fine grained, at least from seek time perspective? Most popular solutions are based on two states - ~64x64 thumb / full texture. -- Krzysztof Narkowicz On Mon, Jul 22, 2013 at 9:16 AM, Josh Green <in...@gm...> wrote: > Hi There, > > I'm currently working on a texture streaming system and looking into ways > to prioritize which mips on which textures should be loaded. > I was hoping that people on this list may have experience with these > algorithms that they could share? > > Currently I know which mips need to be loaded in order to render a scene > without degradation in image quality. > I would now like to apply a memory budget to textures, and make decisions > about which mips of which textures should be loaded over others. > > My current line of thinking involves comparing cost / benefit of loading > each individual mip. > i.e. > > How many pixels would be affected by a particular mip level being loaded > versus how much memory would that mip level use? > > This becomes Priority = Benefit / Cost > > I'd then sort for highest priority and assign memory budget to those mips > at the top of the list. > > Any thoughts? comments? Alternatives that work better? Alternatives that > have worked enough? > > Problems that arise with the above algorithm are quite broad, and in > particular, optimising the tipping point between cost and benifit would be > necessary. Also, calculating the number of pixels affected would involve > crude calculations that aren't really going to affect real world values.... > > Thanks all for your thoughts! > > Josh > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > |