This repository was archived by the owner on Apr 21, 2021. It is now read-only.
Description Just FYI...
This fork of Threebox is updated with Three.js r127 and Mapbox 2.2.0. adding built-in sky layers synced with Three.js lights for given coords and time, among many other features.
Updated to Three.js r127 .
Updated to Mapbox-gl-js v2.2.0 .
Updated to Azure Maps v2.0.31 .
+20 examples with all the new features.
Support for multiple 3D format objects (FBX, GLTF/GLB, Collada, OBJ/MTL).
Support for 3D extruded shapes from GeoJson features or points array.
Support for CSS2D labels and rich HTML controls through a new LabelManager.
Support for CSS2D tooltips/title browser-like and mapbox-like.
Support for built-in Raycaster in Object3D and fill-extrusions together.
Support for built-in MouseOver/Mouseout, Selected, Drag&Drop, Drag&Rotate, Wireframe in loadedObjects including events.
Support for wireframing on any Object3D, removing them from the Raycaster.
Support for GeoJson standard features format import and export in different layers.
Support for Object3D embedded animations, and custom animations on AnimationManager (i.e. embedded animation + translate + rotate).
Support for multi-layer and multi-floor design of spaces.
Support for built-in shadows and real Sun light positioning for a given datetime and lnglat coords.
Support for built-in Sky layer synced with real Sun light.
Support for Non-AABB Non Axes Aligned Bounding Box and real model size, including floor projection.
Support for Object3D auto-centering and 9 default anchor positions customizable through adjustments.
Support for setLayerZoomRange and setLayoutProperty on Custom Layers (not available in Mapbox).
Support for removeLayer considering Object3D.
Support for style change through setStyle and keeping Object3D.
Support for partial and full dispose of Mapbox, Three and Threebox resources and memory.
Support for Orthographic view, customizable Perspective FOV and fixed-size Object3D.
Optimization of Camera perspective to have Raycast with pixel-precision level and depth sync between Mapbox and Threebox objects.
Optimization for loading thousands of objects through cache.
Available as npm package
Reactions are currently unavailable
Just FYI...
This fork of Threebox is updated with Three.js r127 and Mapbox 2.2.0. adding built-in sky layers synced with Three.js lights for given coords and time, among many other features.
setLayerZoomRangeandsetLayoutPropertyon Custom Layers (not available in Mapbox).removeLayerconsidering Object3D.setStyleand keeping Object3D.