Our research deployment of the ARENA at https://arenaxr.org will be unavailable at times Wednesday, August 3, 2022 for scheduled maintenance while we move our server to its new data center home across campus at Carnegie Mellon University. Our apologies for any inconvenience this may cause.
Link Search Menu Expand Document

GLTF Model Level of Detail

Simple switch between the default gltf-model and a detailed one when a user camera is within specified distance

GLTF Model Level of Detail Attributes

Attribute Type Default Description Required
detailedUrl string `````` Alternative ‘detailed’ gltf model to load by URL No
detailedDistance number 10 At what distance to switch between the models No
updateRate number 333 How often user camera is checked for LOD (default 333ms) No
retainCache boolean False Whether to skip freeing the detailed model from browser cache (default false) No