Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

169
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda