khronosgroup / gltf-compressor Goto Github PK
View Code? Open in Web Editor NEWTo store the source code for the glTF-Compressor project
License: Other
To store the source code for the glTF-Compressor project
License: Other
Result: some thumbnails are displayed with incorrect gamma.
zip-writer.js:142 Uncaught (in promise) Error: File already exists
at ZipWriter.add (zip-writer.js:142:11)
at main.js:758:34
at Array.map ()
at SafeSubscriber._next (main.js:756:50)
at SafeSubscriber.__tryOrUnsub (Subscriber.js:192:16)
at SafeSubscriber.next (Subscriber.js:130:22)
at Subscriber._next (Subscriber.js:76:26)
at Subscriber.next (Subscriber.js:53:18)
at MapSubscriber._next (map.js:41:26)
at Subscriber.next (Subscriber.js:53:18)
Feeding this back from myself and the 3D team at my work, we all find that the compressor runs very slow on the web, is there any plan to do a Windows/Mac/Linux build of this that runs local?
The wait times for compression can feel very long and Chrome on Windows 10/11 can often freeze for a few minutes running it as the only open tab.
I have used similar compressors such as gltfpack: https://github.com/zeux/meshoptimizer/releases and Needle Tools which run much faster natively https://needle.tools/
We are testing with models from the GLTF samples repo such as DamagedHelmet and BarramundiFish so these aren't big test models.
Just wondering if running on the web is what is causing the performance bottlenecks?
glTF-Compressor seems to be using an outdated version of glTF Sample Viewer, because anisotropy is not supported here.
Result: Anisotropy is not being rendered. Also in the Advanced Controls tab KHR_materials_anisotropy is not shown under Disable Extensions.
Three issues with the 2d comparison view of a compressed texture:
Thanks!
The tool is fantastic!
However, is it possible to enable the ability to upload textures not attached to a GTLF model and compress them via the tool?
Hello,
Based on this ticket : KhronosGroup/glTF-Blender-IO#1979
Seems that having multiple texture data linked to the same image data index causes the error (glTF file is valid anyway, tested on glTF validator)
https://drive.google.com/file/d/1_CYZ8Qh4znf5o4m2jYcBInGJHd5lIM9X/view?usp=sharing
Having an issue running any kind of texture compression on this glb. Any time i press the 'Compress Textures' button the following error toast is shown and the following error is logged to the console. This error also occurs when I select an options from the 'Select by Type' dropdown menu.
Hi!
I noticed that support for embedding mipmaps is currently missing from glTF Compressor. Clients cannot typically generate mipmaps for compressed textures at runtime, so I think that would be an important addition when possible.
Possibly this depends on KhronosGroup/KTX-Software#464?
This bug might be related to
KhronosGroup/glTF-Sample-Viewer#473
Hi, I noticed a small problem with KTX thumbnails.
Non-square KTX textures should render their thumbnails with non-square aspect ratios, but they do not.
Result: non-square JPG/PNG thumbnails are shown with the correct aspect ratio, while the KTX thumbnails are always square. Non-square KTX textures should render their thumbnails with non-square aspect ratios.
Thank you!
The anisotropyDirection texture seems to be malformed after compression.
Tested with the AnisotropyBarnLamp sample asset:
https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/AnisotropyBarnLamp/glTF-Binary
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.