Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Texture Compression #23

Open
ksons opened this issue Oct 28, 2013 · 1 comment
Open

Support for Texture Compression #23

ksons opened this issue Oct 28, 2013 · 1 comment

Comments

@ksons
Copy link

ksons commented Oct 28, 2013

xml3d.js supports the standard browser image formats as textures. Some platforms support compressed texture formats as an WebGL extensions. Most desktops support e.g. S3TC format.

xml3d.js should:

  • Support proper setting of textures delivered in a compressed texture format
  • Decode compressed textures if used in a Xflow dataflow that requires to access pixel data
  • Encode supported texture formats in the HTTP request thus the server can send textures in the best available representation

Library that could be used:
https://github.com/toji/webgl-texture-utils

@jonnenauha
Copy link

The library looks good. Seems to have some code for crunch too which would be a nice extra feature :) This is binary parsing so its gonna be quite fast but with a large amount of mipmaps it might still last a while. I would utilize WebWorkers here by default, so that might be good to implement first to the loader interface.

@ksons ksons modified the milestone: 4.6 Dec 5, 2014
@ksons ksons added the ficore label Nov 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants