05-25-2019, 07:19 AM
Google and Binomial Open Source Basis Universal Texture Format
<div><p>One common problem with game development is compression, it’s a classic trade-off. Do you save disk space at the cost of either performance or VRAM usage or do you favor performance at the cost of size? When it comes to GPU Image Textures, this is exactly the trade-off <a href="http://www.binomial.info/">Binomial</a> is trying to get rid off. Thanks to a recent partnership with Google, their work is now available and open source!</p>
<p>Details from the <a href="https://opensource.googleblog.com/2019/05/google-and-binomial-partner-to-open.html">Google open source blog</a>:</p>
<blockquote>
<p>Today, Google and Binomial are excited to announce that we have partnered to open source <a href="https://github.com/binomialLLC/basis_universal">the Basis Universal texture codec</a> to improve the performance of transmitting images on the web and within desktop and mobile applications, while maintaining GPU efficiency. This release fills an important gap in the graphics compression ecosystem and complements earlier work in <a href="https://github.com/google/draco">Draco geometry compression</a>.</p>
<p>The Basis Universal texture format is 6-8 times smaller than JPEG on the GPU, yet is a similar storage size as JPEG – making it a great alternative to current GPU compression methods that are inefficient and don’t operate cross platform – and provides a more performant alternative to JPEG/PNG. It creates compressed textures that work well in a variety of use cases – games, virtual & augmented reality, maps, photos, small-videos, and more!</p>
<p>—-</p>
<p>How does it all work? Compress your image using the encoder, choosing the quality settings that make sense for your project (you can also submit multiple images for small videos or optimization purposes, just know they’ll share the same color palette). Insert the transcoder code before rendering, which will turn the intermediary format into the GPU format your computer can read. The image stays compressed throughout this process, even on your GPU! Instead of needing to decode and read the whole image, the GPU will read only the parts it needs. Enjoy the performance benefits! </p>
</blockquote>
<p>The project is available now, open sourced under the Apache 2.0 license <a href="https://github.com/binomialLLC/basis_universal">on GitHub</a>. This new technology should be a great boon to game engines and tools hoping to support texture compression across a number of devices, and I assume will make it’s way into more Google products as time goes on.</p>
<p align="center"><iframe class='youtube-player' type='text/html' width='853' height='480' src='https://www.youtube.com/embed/WG4vqQO1-nQ?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent' allowfullscreen='true' style='border:0;'></iframe></p>
<p class="under"> <span class="categories"><a href="https://www.gamefromscratch.com/category/GameDev-News.aspx">GameDev News</a></span> <span class="tags"><a href="https://www.gamefromscratch.com/?tag=/Tools" rel="tag">Tools</a></span> </p>
<hr>
</div>
<div><p>One common problem with game development is compression, it’s a classic trade-off. Do you save disk space at the cost of either performance or VRAM usage or do you favor performance at the cost of size? When it comes to GPU Image Textures, this is exactly the trade-off <a href="http://www.binomial.info/">Binomial</a> is trying to get rid off. Thanks to a recent partnership with Google, their work is now available and open source!</p>
<p>Details from the <a href="https://opensource.googleblog.com/2019/05/google-and-binomial-partner-to-open.html">Google open source blog</a>:</p>
<blockquote>
<p>Today, Google and Binomial are excited to announce that we have partnered to open source <a href="https://github.com/binomialLLC/basis_universal">the Basis Universal texture codec</a> to improve the performance of transmitting images on the web and within desktop and mobile applications, while maintaining GPU efficiency. This release fills an important gap in the graphics compression ecosystem and complements earlier work in <a href="https://github.com/google/draco">Draco geometry compression</a>.</p>
<p>The Basis Universal texture format is 6-8 times smaller than JPEG on the GPU, yet is a similar storage size as JPEG – making it a great alternative to current GPU compression methods that are inefficient and don’t operate cross platform – and provides a more performant alternative to JPEG/PNG. It creates compressed textures that work well in a variety of use cases – games, virtual & augmented reality, maps, photos, small-videos, and more!</p>
<p>—-</p>
<p>How does it all work? Compress your image using the encoder, choosing the quality settings that make sense for your project (you can also submit multiple images for small videos or optimization purposes, just know they’ll share the same color palette). Insert the transcoder code before rendering, which will turn the intermediary format into the GPU format your computer can read. The image stays compressed throughout this process, even on your GPU! Instead of needing to decode and read the whole image, the GPU will read only the parts it needs. Enjoy the performance benefits! </p>
</blockquote>
<p>The project is available now, open sourced under the Apache 2.0 license <a href="https://github.com/binomialLLC/basis_universal">on GitHub</a>. This new technology should be a great boon to game engines and tools hoping to support texture compression across a number of devices, and I assume will make it’s way into more Google products as time goes on.</p>
<p align="center"><iframe class='youtube-player' type='text/html' width='853' height='480' src='https://www.youtube.com/embed/WG4vqQO1-nQ?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent' allowfullscreen='true' style='border:0;'></iframe></p>
<p class="under"> <span class="categories"><a href="https://www.gamefromscratch.com/category/GameDev-News.aspx">GameDev News</a></span> <span class="tags"><a href="https://www.gamefromscratch.com/?tag=/Tools" rel="tag">Tools</a></span> </p>
<hr>
</div>