Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

168
Visualizações
How to live stream animations in three.js

I am trying to live stream an animation (for a gltf model) frame by frame from a server (via a WebSocket) by sending transform data (i.e. bone position, rotation, ...) from server to client. The data is for the same model so animation re-targeting is not an issue here.

I would like some advice on how I should use the frames I receive and whether I should update the model in the render loop or not.

My idea is to buffer the frames in an array as I receive them. Then I have update functions in my render loop where I take the first element from the array (if available) and apply the transforms to my model, taking deltaTime (time between current and previous frame) into account.

For live streaming transform data like this and updating the model dynamically, should the updates happen inside the render loop or outside of it ?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda