Releases: aardgoose/CaveView.js
2.0.0
New Features
- New v2 API supporting muliple instances, see the installation and reference documentation for details.
- Instances can now be destroyed dynamically without refreshing the browser page. [Note: for complete freeing of memory a one line patch to Three.js is currently required].
- New zoom mode allows zooming over the location of the mouse pointer instead of the center of the view. This is selected with the X keyboard shortcut of from the settings menu.
- Dynamic selection of control mode. The mouse/heyboard controls are toggled between original and 'Aven' styles with the keyboard shortcut S.
- Experimental location mode to provide an 'augumented reality' style display.
- Example files now included with zip packaging.
- Key commands are now only active when the mouse is over the viewer area.
- Text entrance labels can now be clicked to display station information.
- A minimum zoom level can be specified by image overlay providers.
Bug fixes
- Rework of terrain tiling to improve caching behaviour.
- Terrain surface no longer visible from a view point below the surface.
- Multiple minor bugs and code improvements.
1.15.0
New features
- Multiple model types can be loaded together
- Directional terrain lighting can be disabled
- A new method CV.UI.clearView() allows the canvas to be cleared
- Local files can be selected using the native OS dialogue using the file button
Bug fixes
- Upload progress no longer produces errors for chunked download operations
- Emtpy UI tabs are not displayed
1.14.0
New features
- A default coordinate reference system (CRS) specification can now be provided for models with an unspecified CRS. This allows external terrains to be used with these models. The CRS is set with the configuration property 'defaultCRS' which should be set to the appropriate proj4 full definition (+init definitions are no supported).
- User interface caveview.css now created using 'less' for customisation.
- User interface reworked to avoid excess scrolling.
- Station comments, as found in .lox and .plt models can now be displayed.
- Station comments displayed in the survey tree.
Bug fixes
1.13.1
Bug fixes
- .lox models containing a single station now displayed
- .lox models containing a terrain only now displayed
- errors on Firefox from missing 'event' objects fixed
- .plt file section names correctly displayed in station tree.
- warnings for unhandled .plt loop description and fixed point commands suppressed
1.13.0
New features
- Compass .plt support (experimental)
- Therion station comments for entrances displayed as entrance names (following Loch)
- Edit page display controlled by new configuration property
showEditPage
, defaultfalse
- Loading metadata file optional, controlled with configuration property
loadMetadata
, defaultfalse
Bug fixes
- Station selection reliability improved
- Previous file loading operations cancelled when a new survey is loaded
- Height coordinates rounded in station information labels
- Potential problems with LRUD sections when loading multiple .lox models
1.12.2
1.12.1
1.12.0
New features
-
Multiple file display. Multiple files of the same type and coordinate reference system can be displayed together. A list of file names are given with the methods CV.UI.loadCaves( [array] ) or CV.Viewer.loadCaves( [array] ) and can also be loaded with 'drag and drop'.
-
Models can be annotated with dye traces. Annotations are stored in the user's browser session storage, and can be saved as JSON files for sharing on a web server alongside the model file. Annotations are added in the 'Edit' tab.
-
CaveView now exposes warning messages where Survex .3d models contain LRUD walls which extend beyond the end of a passage. This appears to be a common problem where sequences of cross sections are not terminated correctly. The stations where this problem has been detected are shown by selecting 'warnings' in the 'Settings' tab. These wall sections are automatically terminated at these points. (experimental).
Bug fixes
- Splay station markers are correctly hidden when spays are hidden in call cases.
1.11.1
Bug fixes
- station markers display restored
- selecting a section with loadCave( file, section ) works correctly with no invalid lines
- text scales correctly for higher resolution displays
- depth calculation and bounding box determination for .lox models with a DTM corrected