Any way to do webglRenderer.compile while scene is running?

In a scene I’m making , I’m downloading different gltf models on button presses and animating the model entering the scene .

To avoid the stutter while the animation happens, i can do

  • traverse the model and do frustumCulled : false
  • add the model to the scene , let the stutter/upload to gpu stuff happen
  • after a delay restore frustrumCulled true
  • then start the animation

Is there a better way to do this cycle ?

webglRenderer#compile requires me to load every model first then compile whatever is in the scene before rendering the first frame which is not applicable as I’m loading model on-demand