I like the new graphics in the V3D scene loader that ships with V2.0. The spinning hexagon is definitely an improvement over the one-step progress bar, but is it possible to change this image? Can I swap the PNG file? This would be useful for client-specific branding.
It looks like the hexagon (GearImage) is baked into the Verge3D library as a data URL. The only way that I see of changing this is to edit the loader.
Yes it would be cool to be able to load a custom image. Also, due to the nature of loading large chunks of data at a time, the loading progress appears to stop. Being able to load an animated gif (like a little spinning gear icon) as part of the preloader would give the appearance of activity.
Currently the only possible way to achieve this is implementing custom preloader which inherits directly from Preloader class (you can use SimplePreloader as an example). Regarding the parameter to assign a custom image, I will put that in my personal TODO list.
Wow! It is easy to change the loader graphics in 2.2!
For my test, I used an animated gif and I did not want it to spin. Here are the steps:
1. Update you app’s v3d.js engine to 2.2 if it is not already.
2. Place your graphic in the app directory.
3. Edit the app’s main js file. You will see a line that says new v3d.SimplePreloader … . Edit that line.