Commit Graph

  • cec4c0e651 Port webgl draw texture demo to use new wrapper wasm shrekshao 2019-05-14 16:37:46 -07:00
  • 9a6e126cfc Fix build.sh tested on mac and linux shrekshao 2019-05-14 16:36:51 -07:00
  • 148364872b Include basis_transcoder.js in html head shrekshao 2019-05-14 16:35:32 -07:00
  • 7193e13810 Build wasm with merged master shrekshao 2019-05-14 11:11:47 -07:00
  • 467489f295 Merge branch 'master' into gltf-demo shrekshao 2019-05-14 10:05:30 -07:00
  • b5e93081c0 Whitespace cleanup. Don McCurdy 2019-05-14 08:49:34 -07:00
  • 13cd18d4fe Remove duplicate copy of credits. Don McCurdy 2019-05-13 23:45:02 -07:00
  • 0f1fbbf2bf Reformat. Don McCurdy 2019-05-13 23:29:48 -07:00
  • 0223935951 Add links to credited sites. Don McCurdy 2019-05-13 23:29:16 -07:00
  • eb9b396c45 Reformat credits. Don McCurdy 2019-05-13 23:28:15 -07:00
  • 04282215d1 Simplify readme to use more JS-standard tooling. Don McCurdy 2019-05-13 23:25:50 -07:00
  • c6ce4dd08c Reorganize JS to separate threejs scene setup from Basis texture loading. Don McCurdy 2019-05-13 23:07:55 -07:00
  • d5ec2c2d50 update readme shrekshao 2019-05-13 22:05:34 -07:00
  • ae867cdb16 Get working on ios shrekshao 2019-05-13 21:51:48 -07:00
  • e7fc439199 wip: pvrtc shrekshao 2019-05-13 18:39:37 -07:00
  • e74b3c663b gltf demo build instructions and readme shrekshao 2019-05-13 15:57:31 -07:00
  • b844b9e7ac Fixing crop_dup_borders() so mipmap levels smaller than 4x4 get duplicated edge pixels vs. black pixels (to reduce edge artifacts on tiny mips). Rich Geldreich 2019-05-11 21:05:01 -07:00
  • a416f59292 Adding output filename to "compression succeeded" message Rich Geldreich 2019-05-11 20:51:53 -07:00
  • a84f169b06 Printing per-image information in -validate command. Rich Geldreich 2019-05-11 20:36:27 -07:00
  • 5bc516f025 Update README.md Rich Geldreich 2019-05-11 20:34:01 -07:00
  • 37c74d7008 Update README.md Rich Geldreich 2019-05-11 13:24:36 -07:00
  • 9b00d11135 Update README.md Rich Geldreich 2019-05-10 23:14:16 -07:00
  • 8e68e6c02f Update README.md Rich Geldreich 2019-05-10 22:52:59 -07:00
  • 2658bd8fb6 Update README.md Rich Geldreich 2019-05-10 22:49:50 -07:00
  • 17335c2b40 Update README.md Rich Geldreich 2019-05-10 22:43:49 -07:00
  • 2b0aee19c2 Update README.md Rich Geldreich 2019-05-10 22:38:40 -07:00
  • ae07c16f27 Update README.md Rich Geldreich 2019-05-10 22:35:14 -07:00
  • 1afb8e714b Fixing BASISU_DEVEL_MESSAGES for MSVC. Rich Geldreich 2019-05-10 22:33:52 -07:00
  • 3836731eb6 Update README.md Rich Geldreich 2019-05-10 22:33:06 -07:00
  • 057629e9f0 Update README.md Rich Geldreich 2019-05-10 22:27:40 -07:00
  • c407d4b433 Update README.md Rich Geldreich 2019-05-10 22:26:44 -07:00
  • 457b6c81d6 Fixing typo Rich Geldreich 2019-05-10 22:21:51 -07:00
  • 6d6b02c7d3 Updating readme Rich Geldreich 2019-05-10 22:20:00 -07:00
  • 76792381b6 Updating readme Rich Geldreich 2019-05-10 22:16:21 -07:00
  • 0f812aff1d Rebuilt transcoder Rich Geldreich 2019-05-10 22:05:30 -07:00
  • 81464a6d6b Changing the ETC1S->BC4 and ETC1S->ETC2 EAC transcoders so they convert from the source red channel, not source green. Source red makes more sense when transcoding to BC4/BC5, especially when the source texture only has color slices. BC4 is red, and BC5 is red/green. This change makes no difference if the source texture slices are grayscale. Rich Geldreich 2019-05-10 22:04:40 -07:00
  • 7b9fdb1340 Updating readme Rich Geldreich 2019-05-10 21:58:13 -07:00
  • 3adade3853 Updating readme Rich Geldreich 2019-05-10 21:55:47 -07:00
  • 8670ffd9c0 WIP: glTF demo shrekshao 2019-05-10 18:43:41 -07:00
  • 2323c2ff7a Updating readme Rich Geldreich 2019-05-10 16:55:13 -07:00
  • ecbec4af13 Updating readme Rich Geldreich 2019-05-10 16:52:03 -07:00
  • 81d517ce12 Updating readme Rich Geldreich 2019-05-10 16:40:33 -07:00
  • 4f08db6525 Adding more checks to canonical Huffman decoder's table initialization function. They don't seem necessary, as I didn't discover them during fuzzing. These fixes are precautionary. Rich Geldreich 2019-05-10 16:30:15 -07:00
  • 5a9c6e5b05 Updating readme Rich Geldreich 2019-05-10 16:28:05 -07:00
  • 320dd36461 Updating readme Rich Geldreich 2019-05-10 16:24:43 -07:00
  • 4c44f02b28 Updating readme Rich Geldreich 2019-05-10 16:16:04 -07:00
  • fa43048152 Updating readme Rich Geldreich 2019-05-10 16:13:57 -07:00
  • 19f24ccd54 Updating readme Rich Geldreich 2019-05-10 16:12:59 -07:00
  • 62abbad7ca Update README.md Rich Geldreich 2019-05-10 12:01:54 -07:00
  • 7ef84df1b7 Update README.md Rich Geldreich 2019-05-10 11:53:57 -07:00
  • f7472fca9d Update README.md Rich Geldreich 2019-05-10 11:50:09 -07:00
  • c4a7fe8da8 Update README.md Rich Geldreich 2019-05-10 11:47:39 -07:00
  • 3041642dae Adding format descriptions Rich Geldreich 2019-05-10 11:46:49 -07:00
  • 86821ba464 Update readme Rich Geldreich 2019-05-10 11:30:04 -07:00
  • 2d1a054f34 Update readme Rich Geldreich 2019-05-10 11:25:27 -07:00
  • 2537fe452f Update readme Rich Geldreich 2019-05-10 11:20:01 -07:00
  • 878f523522 Adding check to make sure codelength Huffman table was actually created successfully. Rich Geldreich 2019-05-09 22:14:23 -07:00
  • ce9aeb9cc8 Refining the last Huffman fix found through fuzz testing Rich Geldreich 2019-05-09 22:00:59 -07:00
  • 6781292b3c Rebuilding transcoder Rich Geldreich 2019-05-09 21:51:55 -07:00
  • 9af44e629f Another fuzz testing fix Rich Geldreich 2019-05-09 21:49:07 -07:00
  • 8c9d814bb9 Rebuilt transcoder Rich Geldreich 2019-05-09 20:47:31 -07:00
  • 6da5bf05a6 Another bugfix found during fuzz testing Rich Geldreich 2019-05-09 20:40:41 -07:00
  • 93301087d3 Update README.md Rich Geldreich 2019-05-09 19:06:23 -07:00
  • 71249d2f98 Update README.md Rich Geldreich 2019-05-09 18:56:29 -07:00
  • b0595d33ec Update README.md Rich Geldreich 2019-05-09 18:52:23 -07:00
  • 3185a20455 Updating readme Rich Geldreich 2019-05-09 18:52:16 -07:00
  • c1a340e592 Updating readme Rich Geldreich 2019-05-09 18:43:35 -07:00
  • f0be63d760 Rebuilt transcoder Rich Geldreich 2019-05-09 18:14:56 -07:00
  • f83ee300a3 Adding more header checks Rich Geldreich 2019-05-09 18:09:47 -07:00
  • 85f4651def Fixing mipmap bug introduced from a fuzz test fix Rich Geldreich 2019-05-09 17:57:14 -07:00
  • 3347b17393 Another fuzz testing fix Rich Geldreich 2019-05-09 15:05:12 -07:00
  • 78e22234bd More transcoder fixes found during fuzz testing (I disabled all header/data CRC checking by setting BASISU_NO_HEADER_OR_DATA_CRC16_CHECKS to 1). Rich Geldreich 2019-05-09 14:43:13 -07:00
  • d7b22fc404 Adding -fuzz_testing command line option, which disables the file data CRC16 check used by the -validate command. To fuzz testing using zzuf on Linux: Rich Geldreich 2019-05-09 12:43:59 -07:00
  • c7e14a97fa - Fixing minor block artifacts on pure 2 color B&W blocks when transcoding to BC1/BC7. This was caused by the ETC1S blocks using extreme ETC1S settings: codetable 7 (the one with the largest intensity deltas), using blocks with selectors that took up the full range (0-3), but the blocks only actually used the two outlier colors (0 and 3 only). The ETC1S->BC1/BC7 table based format conversion system doesn't realize that only the outlie colors were going to be used (i.e. not all 4 colors, just the outer 2), and so the quality of the transcoded block suffered because pure black could not be mapped. In BC7 mode, we now switch to pure BCT (block truncation coding) for any blocks with <= 2 unique colors, independent of their selectors. - Adding -csv_file option, to generate .csv files for mass benchmarking/testing - Adding -no_ktx option, to avoid writing large .KTX files while unpacking - Fixing printf() format issue when one of the -multifile options wasn't correct Rebuilt compiled javascript transcoder Rich Geldreich 2019-05-09 10:44:38 -07:00
  • d699c819f7 Moving g_hamming_dist[] array from transcoder to encoder (it's never used by the transcoder). Adding remarks to basisu_file_header.h Rich Geldreich 2019-05-08 20:01:35 -07:00
  • d2f1594efb Removing old test code Rich Geldreich 2019-05-07 17:01:58 -07:00
  • 8d5a3ab6c4 updating readme Rich Geldreich 2019-05-07 15:58:47 -07:00
  • f304913f47 updating readme Rich Geldreich 2019-05-07 15:57:25 -07:00
  • 130eb9f115 Major compression performance/quality improvements, for a 15-35% or so decrease in file size for the same Y PSNR/SSIM. The basis file format has changed due to these optimizations. Increasing the max codebook size to 16K vs. 8K, for a major increase in the max achievable quality. Adding exception catching to command line tool. Enabling debug iterators on MSVC. Refining command line options, adding "-individual" flag to create multiple .basis files (vs. a texture array). Changing default colorspace to sRGB, because that's probably the best default. -linear disables this and uses linear colorspace metrics. PNG reader in 32-bit builds checks the size of the file before loading to avoid out of memory exceptions. Rich Geldreich 2019-05-07 15:52:29 -07:00
  • 7599dcd7b5 new file Rich Geldreich 2019-05-07 15:47:51 -07:00
  • 2d751264eb Update README.md Rich Geldreich 2019-05-02 16:19:16 -07:00
  • d0d34b9872 Fixing help text Rich Geldreich 2019-05-02 16:14:57 -07:00
  • 33996b1a5f Important: Changing the Basis file version, so any existing files will need to be recompressed! Adding new fields to the basis header: texture type and framerate. Texture type may be 2D, 2D array, video, volume, or cubemap array. The compressor makes sure that anything other than pure 2D follows certain constraints (cubemap arrays must have a multiple of 6 input images, videos/texture array images all must have the same resolution/# of mipmaps, etc.) When unpacking cubemaps, the -unpack command now writes cubemap .KTX files which various tools like PVRTexTool support. Rich Geldreich 2019-05-02 16:09:11 -07:00
  • c540728ed1 new file Rich Geldreich 2019-05-02 16:06:33 -07:00
  • 5cbfebaef5 new file Rich Geldreich 2019-05-02 16:06:21 -07:00
  • 7cdf6fc0be Removing some unused/old code from transcoder Rich Geldreich 2019-05-01 20:54:15 -07:00
  • afcfcf262d Update README.md Rich Geldreich 2019-05-01 15:41:55 -07:00
  • 6529b2aa06 Update README.md Rich Geldreich 2019-05-01 15:40:09 -07:00
  • 7dce9afb67 Update README.md Rich Geldreich 2019-05-01 12:13:57 -07:00
  • 59e3b45bfb Another readme update Rich Geldreich 2019-05-01 12:12:13 -07:00
  • 9d03fc1382 Update README.md Rich Geldreich 2019-05-01 12:07:05 -07:00
  • 27bd6268a9 Adding special thanks to readme Rich Geldreich 2019-05-01 12:00:48 -07:00
  • 4bf397296c Updating readme Rich Geldreich 2019-05-01 10:31:48 -07:00
  • f6883572e3 Update README.md Rich Geldreich 2019-04-30 22:30:30 -07:00
  • 324fe2952b Updating readme Rich Geldreich 2019-04-30 22:29:03 -07:00
  • 917fa72a2f update readme Rich Geldreich 2019-04-30 20:53:59 -07:00
  • cd18b4fcc1 update readme Rich Geldreich 2019-04-30 20:53:18 -07:00
  • 59fa93f449 Update readme Rich Geldreich 2019-04-30 20:52:51 -07:00
  • a541d55fa7 Update README.md Rich Geldreich 2019-04-30 20:15:22 -07:00
  • e74e6cb1ca Update readme Rich Geldreich 2019-04-30 20:07:54 -07:00