Skip to content

Releases: jscastro76/threebox

v.2.1.7

20 Jan 14:42
Compare
Choose a tag to compare

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 and tooltip
  • #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.

05 Jan 15:08
Compare
Choose a tag to compare

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.

19 Dec 08:37
Compare
Choose a tag to compare

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 with options.coords doesn't change the z axis in obj.coordinates

📝 Documentation

  • Updated documentation (tb.raycasted, tb.extrusion, tb.loadObj and tb.Object3D params, mime types)
  • Updated README.md.
  • updated Examples documentation.

v.2.1.4.

14 Dec 20:05
Compare
Choose a tag to compare

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.

09 Dec 10:57
Compare
Choose a tag to compare

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 with tb.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.

03 Dec 23:17
Compare
Choose a tag to compare

2.1.1

Minor version by @jscastro76, some enhancements and bugs.

✨ Enhancements

🪲 Bug fixes

  • #104 CSS2DLabels doesn't hide properly based on zoom ranges on setLabelZoomRange #104
  • #120 labelCanvas z-index overlaps with HTML controls visibility #120
  • #122 when the style changes tb.zoomLayers must be reset #122
  • #123 style change doesn't work when multiLayer = true #123

v.2.1.0.

24 Nov 16:23
Compare
Choose a tag to compare

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 on obj.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 of options.anchor not instead

🪲 Bug fixes

  • #94 tb.setLayoutPropery is not working when geojson features are not being used.
  • #97 When enableSelectingObjects is active and not tooltips
  • #100 Object anchors are not well calculated on duplicates when downscaled

v.2.0.9.

18 Nov 13:53
Compare
Choose a tag to compare

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 add obj.addHelp

v.2.0.8.

14 Nov 17:41
Compare
Choose a tag to compare

2.0.8

Minor version by @jscastro76, some enhancements and bugs.

✨ Enhancements

  • #73 tb.dispose must clean tb.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

  • #42 Angular and Threebox. Solved an issue using a mapboxgl.Pointline
  • #77 example 05-logistics raises an error removing the line
  • #79 Some examples are not using renderingMode: 3d in the layer creation
  • #86 After #56 the feature that comes in userData is not being updated.

v.2.0.7.

02 Nov 16:51
Compare
Choose a tag to compare

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 call tb.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 on obj.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.