Optimizing Draw Call Batching Using Transient Data-Guided Texture Atlases
نویسنده
چکیده
Rendering a large number of 2D textures in real-time requires reducing the overhead of a large number of draw calls on the CPU caused by binding different textures when drawing. Texture atlases are used to avoid switching textures by packing textures into one larger texture before rendering. Graphics hardware APIs limit the size of a texture, so textures need to be partitioned into multiple atlases. Unfortunately, composing textures into atlases is performed manually by developers or artists with an educated guess and requires manually checking which texture switch breaks a draw call batch to improve batching. Manual composition of texture atlases is cumbersome, time-consuming and not optimal for large-scale and unpredictable use of textures. We automated the composition of atlases based on previously gathered texture rendering data to remove manual intervention and created transient texture atlases at run-time based on usage to optimize draw call batching. We applied our approach to four simulations and measured the number of draw calls, CPU frame time and GPU frame time. The number of draw calls is similar or less for data-guided texture atlases than for manually composed texture atlases. Transient data-guided texture atlases reduce the number of draw calls significantly for unpredictable use of textures, which leads to performance gains on the CPU.
منابع مشابه
Critique of Human-powered Sorts & Joins
Marcus et al. (2011) describe using Amazon’s Mechanical Turk (MTurk) systems utilizing crowds for database sorts and joins. Crowdsourcing activities for these types of queries are typical costly in order to ensure accuracy and reliability. The authors present an interface for optimizing these functions in order to determine cost-effectiveness of various methods (simple join, naïve batching, and...
متن کاملReal-Time Procedural Solid Texturing
Shortly after its introduction in 1985, procedural solid texturing became a must-have tool in the production-quality graphics of the motion-picture industry. Now, over fifteen years later, we are finally able to provide this feature for the real-time consumer graphics used in videogames and virtual environments. A texture atlas is used to create a 2-D texture map of the 3-D solid texture coordi...
متن کاملOptimizing the delivery of deep brain stimulation using electrophysiological atlases and an inverse modeling approach
The use of deep brain stimulation (DBS) for the treatment of neurological movement degenerative disorders requires the precise placement of the stimulating electrode and the determination of optimal stimulation parameters that maximize symptom relief (e.g. tremor, rigidity, movement difficulties, etc.) while minimizing undesired physiological side-effects. This study demonstrates the feasibilit...
متن کامل