Provide Build Script, Minor Performance Improvement for the X3D Output, Add Emscripten as a target#2
Provide Build Script, Minor Performance Improvement for the X3D Output, Add Emscripten as a target#2mmha wants to merge 3 commits intomlimper:masterfrom
Conversation
|
Hey, thanks. just did a quick review. I really like the idea to have a minimalistic CPP implementation, consisting of only one header and one CPP file (not necessarily C++11). I didn't intend to make this a real library, that's actually changing the scope of the project. What about building a library plus applications in a separate project? These CPP and H files could then be easily integrated there as a very simple "3rdParty" component (also via CMake, if wanted). This way people could easily decide what they want for their application. The new project could include advanced lib functionality (such as Emscripten bindings, different build options etc.) and a main application as demo, the Web app, etc. |
Hey :)
Summary of my commits:
std::endlflushes the buffer of the stream -\ndoes not. This should improve the performance a little bitwebdemo.htmlstub, which can load tgen either as asm.js or WebAssembly.My idea behind the emscripten target is that we could write a small web application that preprocesses a glTF file using the proposed strategies, displays them and makes them available to download, while keeping the reference implementation in C++.
There are more commits that actually add functionality to the library following shortly. I don't consider them ready quite yet.