I’m working on a commercial project and we want to use BJS in our web app. It’s our first experience with 3D real time.
Therefor we are testing all the pipeline to define specification/feasibility of the project.
The project implies only one human character, no object, no complex shaders, but could include a complex rig.
We have tested performance using pre production rigs and it appears that we could use complex rigs made of more than 100 bones.
It seems that total polygon count do not increase drastically the size of our export. From 4000 polygons to 30 000 we noticed an acceptable increase.
But when it comes to complex rig and animations the size of the babylon file increase quite quick.
Are there some good habits to optimize and reduce file size ? (we have no texture, no complex shader)
I saw that zip file could reduce the file size by 1/5. My question is : is it usual to use library like jsZip ? How this impact performance? I assume that unziping file will lead to some delay in order to put the data into the RAM.
As we will have a lot of animation, i assume that a good way to do is to zip individually each animation file and access it if needed.