Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: webgl and compress texture file

  1. #1
    Junior Member Regular Contributor
    Join Date
    Apr 2010
    Posts
    110

    webgl and compress texture file

    hello.
    I have the necessity of transfer a lot of image files because i created a sketchup/webgl exporter and i need to send all images files to the javascript script that creates textures.
    I ask if exist something that help to compress and send these image or better images transparently and html folder but runtime.

    I asking but i believe that may be impossible
    thanks.

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    2,882

    Re: webgl and compress texture file

    Please qualify "compress". Is your aim to save network bandwidth, save GPU space, or both?

    If the latter two, then check out squish (article). Great DXT compression lib. There's also probably several libs and executable tools from NVidia (link1, link2) and/or ATI (link) you might use to help you out.

    If you just want to compress for network bandwidth (or to compress further), look at zip, zlib, gzip, etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •