We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Using javascript animations besides scene loading

Home Forums Programming Using javascript animations besides scene loading

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #30862
    web
    Customer

    I’m in the middle of disguising the scene loading of a application.

    I’m fading in/out some html text elements on page loading. CSS animations are running well, but I need to better time some animations, also with callback if animation has finished etc. Therefor I’m using javascript but the loading in the background seems to affect the animations of the html elements, making them choppy.

    At the moment I’m using anime.js as a framework to make my life easier. Does someone maybe have some experience in that regard? Or does someone of the verge team knows how to optimize the loading?

    #30917

    Hi,
    Unfortunately, this is how it works for a moment. :unsure: Then the scene loads, there is too much computational work: parsing JSON, preparing scene objects, loading textures, compiling shaders, etc. Maybe in the feature, some of these can be done with a web worker, but it will require a lot of refactoring.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #30925
    web
    Customer

    Hey Alexander,
    thx for your reply.

    Could there maybe a possible workaround of loading a smaller gltf with just a camera and no geometry. And then use the append scene puzzle or some javascript to load the “real” model afterwards?

    #30940

    you might give it a try! :yes:

    Chief 3D Verger | LinkedIn | Twitter

    #40078
    GLiFTeK
    Customer

    Hi,
    Unfortunately, this is how it works for a moment. :unsure: Then the scene loads, there is too much computational work: parsing JSON, preparing scene objects, loading textures, compiling shaders, etc. Maybe in the feature, some of these can be done with a web worker, but it will require a lot of refactoring.

    Hi,

    I have a puzzle plugin that requires the use of webWorkers.
    Is this a possibility using the verge network? (For testing at least)
    Thanks! :good:

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.