Abstract
When it comes to optimization, both real-time 3D applications and web pages happen to share a common target: images. Images, whether they take the form of textures or <img> tags, often make up the majority of the visual information on your screen at any given time. The metrics for optimization differ based on the medium, however. 3D apps, such as games, need images that can be loaded quickly, drawn fast, and take up as little memory as possible by taking advantage of hardware-supported texture compression formats. Web pages, on the other hand, are primarily concerned with the bandwidth required to download the images to your device, skewing heavily towards small, lossy formats like JPG. In other words, 3D apps are concerned about the size of the image in video memory and web apps are concerned about the size of the file on the server.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Colt McAnlis
About this chapter
Cite this chapter
McAnlis, C. et al. (2014). Saving Bandwidth and Memory with WebGL and Crunch. In: HTML5 Game Development Insights. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6698-3_21
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6698-3_21
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6697-6
Online ISBN: 978-1-4302-6698-3
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books