Skip to content

SamsungInternet/pixijs-basis-loader-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation: Webpack 5 + PixiJS

  • 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

preview demo:

https://xr.workwork.fun/samsung/basis/ demo_LOOP_FOREVER

➜  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" Interactive Wall at GAM Turin

About

Loading Basis textures into PixiJS project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published