Renderfarm.js - server side photorealistic rendering of threejs scenes

More complex demonstration of XRef importing feature for dynamically changed object.

  1. Alarm clock is imported from single FBX file,
  2. XRef binding is defined in Object3D.userData,
  3. Clock hands and body are separate XRef objects, - makes it possible to combine them with individually defined transforms.

Usage of XRefs gives the advantage in case when three.js imports heavy models. On the demo alarm clock model is ~10MB FBX file, yet it takes milliseconds to start render job, because XRef replicas are available on server side.

https://www.youtube.com/watch?v=8tjCKyniJUQ

2 Likes