- Basis texture format loader demo
git clone [email protected]:sylwesterdigital/pixijs-basis-loader-example.git
cd pixijs-basis-loader-example
npm i
npm run start
local demo: https://0.0.0.0:3030/
npm run build
https://xr.workwork.fun/samsung/basis/
➜ png git:(main) ✗ basisu 02t.png
Basis Universal GPU Texture Compressor v1.15
Copyright (C) 2019-2021 Binomial LLC, All rights reserved
Using SSE 4.1: 1, Multithreading: 1, Zstandard support: 1
Processing 1 total file(s)
Read source image "02t.png", 256x256
Total basis file slices: 2
Slice: 0, alpha: 0, orig width/height: 256x256, width/height: 256x256, first_block: 0, image_index: 0, mip_level: 0, iframe: 0
Slice: 1, alpha: 1, orig width/height: 256x256, width/height: 256x256, first_block: 4096, image_index: 0, mip_level: 0, iframe: 0
Wrote output .basis/.ktx2 file "02t.basis"
Compression succeeded to file "02t.basis" size 9604 bytes in 0.133 secs
Artwork by: Nicola De Maria - Italian artist and painter
This example has been part of the development of 5G Tours project - Work Package 4 : UC1B - "Interactive Wall"