ColladaLoader: parsing optimisation
See original GitHub issueHi there!
It’s about ColladaLoader (I didn’t check others).
If you replace the code text.trim().split( /\s+/ ) by text.replace(/\n/g, " ").replace(/ \s+/g, " ").trim().split(" ") (see parseFloat and parseInt functions) the parser will work much faster.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
THREE JS Collada performance issue - Stack Overflow
ColladaLoader (); loader.options. ... I remember I had a similar problem once and ended up parsing an obj file, reading all the vertexes...
Read more >chinedufn/collada-dae-parser - GitHub
We're parsing at runtime in the demo, but in a real application you'd want to parse your collada files during a build step....
Read more >Collada-Loader For Processing Version 1.0 - Yumpu
The main goal of the colladaloader. is unpack it, parsing the contained XML-File as well as load pictures to. PImage objects.
Read more >Is there a C#/Managed library for parsing COLLADA skinned ...
Open Asset Import Library. Loads Collada, including materials, bones, animations. A three-day dirty Collada loader will load only so many files ...
Read more >KML + Collada loader - The NASA World Wind Forum
For the Collada parsing and rendering it uses the BonzaiEngine library ... of 3D tiling systems and optimized rendering of volume data.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

well, take a look - https://jsperf.com/loader-speed-test/1
done