Releases: jscastro76/threebox
Releases · jscastro76/threebox
v.2.1.7
2.1.7
Minor version by @jscastro76, some enhancements and bugs.
✨ Enhancements
- #155 How to keep fixed scale and size of Airplane 3D model when zoom in or out Mapbox?
- #167 Create a new event
ObjectChanged
every time the object has modified its position, rotation or scale.- Related to #163 request to get coordinates when the model follow path with line?
- Modified example 05-logistics.html to attach to the event
ObjectChanged
- Modified example 11-logistics.html to attach to the event
ObjectChanged
- Modified example 08-3dbuildings.html to adjust perspective and position to a more relevant zone (empire state building)
- #170 Refactor internal methods
- #179 Create a new example for fixed scale model
- Added to 19-fixedZoom.html that shows shows how to have a fixed scale for an object at a concrete zoom level. In that way the object with preserve the same visual size when the zoom is lower than the fixed zoom value.
- #181 Move npm modules to devDependencies and remove not used
🪲 Bug fixes
- #168 Bug on init params
bbox
andtooltip
- #175 Shadows are not updated if an object is moved through animations
- Shadow plane is oriented properly when the object rotates due to a followPath animation
- Shadow plane grows properly based on object height
- Shadow plane positions at ground level if scale is
scene
- Allows to change
obj.fixedZoom
level in real time - Allows to change to non-fixedZoom in real time
- #176
units: 'scene'
objects get wrong shadow - #180 Fixed scale objects not being rescaled if they are being animated
📝 Documentation
- Updated documentation (
ObjectChanged
,setFixedZoom
,setObjectScale
,setScale
,modelHeight
,unitsPerMeter
and other events) - Updated README.md.
- Updated Examples documentation (
19-fixedzoom.html
).
v.2.1.6.
2.1.6
Minor version by @jscastro76, some enhancements and bugs.
✨ Enhancements
- #111 Show the dimensions of a model
- #151 Remove auxiliary test method on
CameraSync
used to debug #145 - #156 Create an Orthographic view mode
- #159 Create an example for FOV and Orthographic.
- Added to 09-raycaster.html as it impacts in raycast and shows fill-extrusions and 3D models together
- #161 Remove obsolete code that is avoiding to be used from React
🪲 Bug fixes
- #152
obj.raycasted
is ignored when an object is hidden and again visible. - #157 Bug draggging after removing an object.
- #160 Bug using
utils.equal
📝 Documentation
- #158 MERCATOR_A constant unused, added an code comment to explain why it was deprecated (nor removed)
- Updated documentation (
tb.orthographic
,tb.fov
) - Updated README.md.
- Updated Examples documentation.
v.2.1.5.
2.1.5
Minor version by @jscastro76, some enhancements and bugs.
✨ Enhancements
- #3 Make Color of the boundingBox and boundingBoxShadow configurable
- #29 Make one object not selectable or draggable independently of Threebox params
- #150 Check methods doing traverse to avoid doing unnecessary loops
🪲 Bug fixes
- #145 Worldwide view demos, have precision issues after #143
- #149
obj.set
withoptions.coords
doesn't change the z axis in obj.coordinates
📝 Documentation
- Updated documentation (
tb.raycasted
,tb.extrusion
,tb.loadObj
andtb.Object3D
params, mime types) - Updated README.md.
- updated Examples documentation.
v.2.1.4.
2.1.4
Minor version by @jscastro76, some enhancements and bugs.
✨ Enhancements
- #1 Collisions detection (Depth calculation)
- #102 Add stats performance to all the demos
- #139 Add a full dispose button to 15-Performance.html demo
- #143 CameraSync adjustment to avoid depth issues between 3D objects and Fill-extrusions
- #144 Improve 07-alignmentTest.html adding 3D objects inside the building
🪲 Bug fixes
- #147 Error in BuildingShadows when used from a script module
v.2.1.2.
2.1.2
Minor version by @jscastro76, some enhancements and bugs.
✨ Enhancements
- #125 three.js draw geojson.
- #126 add options.rotate and options.scale for Objects3D.
- #127 Create a new example with Three.js extrusions based on standard geoJson. Added a new example 17-extrusions.html
- #130 Convert internal variables (
selectedObject
,draggedObject
, ...) into instance variables . - #134 Deprecate
tb.setLayerZoomVisibility
, overlaps withtb.toggleLayer
. - #138 expose
SunCalc.toJulian
🪲 Bug fixes
- #124 when an object is wireframed, all its clones are too.
- #131 Error when wireframing all the objects.
- #132 While dragging an object if mouse overs a label it stops dragging.
- #133 A layer shouldn't be shown explicitely if it's not in the right zoom range.
v.2.1.1.
2.1.1
Minor version by @jscastro76, some enhancements and bugs.
✨ Enhancements
- #105 In examples tb is not defined . #105
- #107 CSS2D labels must be refactored to optimize the render #107
- #108 Deprecate
tb.setLabelZoomRange
#108 - #109 add speed param to animations #109
- #114
tb.setSunlight
must accept LngLatLike coords #114 - #117 cache functions must be 100% async #117
- #119 Create a sample with azure maps #119. Added added 17-azuremaps.html
🪲 Bug fixes
v.2.1.0.
2.1.0
Minor version by @jscastro76, some enhancements and bugs.
✨ Enhancements
- #5 Add a multi layer sample. 16-multilayer.html
- #95
tb.add
should admit layer and source as optional params - #96
tb.setLayerHeigthProperty
depends on an internal feature onobj.userData.feature
- #98 Add an init param for multiLayer scenarios, that allows to create a default empty layer in threebox
- #99
setLayoutZoomRange
doesn’t work on multilayer scenarios - #101
options.adjustment
must be on top ofoptions.anchor
not instead
🪲 Bug fixes
v.2.0.9.
2.0.9
Minor version by @jscastro76, some enhancements and bugs.
✨ Enhancements
- #12 rotationStep, gridStep and altitudeStep must be configurable
- #44 disable or enable dirLightHelper for realSunlight.
- #89 Allow drag an Object3D on altitude.
- #90 When dragging/rotating objects add a label that shows the current values
- #91 An object rotated twice, starts again from 0 degrees not from its original position
- #92 Refactor
obj.addLabel
,obj.addTooltip
and addobj.addHelp
v.2.0.8.
2.0.8
Minor version by @jscastro76, some enhancements and bugs.
✨ Enhancements
- #73
tb.dispose
must cleantb.objectsCache
- #74 Question: Why is this library not available on npm ?
- #75 Publish in npm
- #76 Refactor Objects.prototype._makeGroup
- #78 refactor var to const and let
- #80 Update example 15-performance.html Add built-in animation to example 15-performance.html windmill.
- #82 Add a method
tb.getSunTimes
- #85 We need an object compare method
- #87 Change
tb.getSunPosition
to accept lnglat coords instead of two params - #88 Add night style change in 12-add3dmodel.html and 13-eiffel.html examples during night hours
🪲 Bug fixes
v.2.0.7.
2.0.7
Minor version by @jscastro76, some enhancements and bugs.
✨ Enhancements
- #24 Refactor
obj.deepCopy
, these members must be properties found by name - #54 vue and threebox,map not defined.
- #63
CSS2DObject
is not disposing properly. - #66
tb.dispose
must now calltb.clear
and return the async value - #68 add new methods to remove label & tooltip
- #71 Defer default boundingBox and tooltip creation.
- Update example 15-performance.html to avoid dupplicated calls when dragging the count GUI control.
🪲 Bug fixes
- #61
.userData
not refreshed properly onobj.duplicate
. - #62 Memory Leak on
tb.remove()
. Tested - #64 Cache instance of a loaded model is disposed when the world children is.
- #65 addTooltip and addLabel don't remove previous objects.
- #67 clones have
boundingBoxShadow
line in white. - #69 After #56 the labels and tooltips are wrongly positioned.
- #70 After #56 object boundingBox has the original cached size.
- #72 After #56 animations are not being cloned.