Releases: aardgoose/CaveView.js
Releases · aardgoose/CaveView.js
1.5.0
New Features
- passage shapes: square, diamond and oval (irregular octogon) passage profiles in .lox files supported.
- passage shapes for .3d models are now square.
- increased model parsing speed and reduced memory consumption.
- section parameter for CV.Viewer.loadCave() and CV.UI.loadCave() now supported for .lox files.
- new CV.Viewer.sectionByName property allows highlighting and selection by survey label prefix.
Bug Fixes
- LRUD based passage walls in .lox files rendered more correctly in some cases.
- LRUD passage walls shown for .3d files with missing stations.
- camera animation fixes.
- revised entrance name clustering marker display (some tuning required)
1.4.0
New Features
- initial view settings can now be passed in the configuration object, the second parameter of
CV.UI.init()
. Settings are applied as properties of the 'view' object.
Example: display the terrain with the default overlay and passage walls made visible.
CV.UI.init( "scene", {
terrainDirectory: "/terrain/",
surveyDirectory: "/surveys/",
home: "/CaveView/",
view: { terrain: true, terrainShading: CV.SHADING_OVERLAY, walls: true }
} );
- Entrance labels can be replaced with more user friendly names using a survey metadata file (
<model file name>.json
) by mapping the survey station name, or skipped if required.
Example: test.json
{
"entrances": {
"station.name.of.entrance" : { "name" : "Name of Cave" },
"station.name.of.other.cave" : { "name" : "-skip" }
}
}
- Tiled DTM terrain attributions can now be displayed in the UI.
- The BGS layer provider now takes a layers parameter to allow solid geology or superficial deposits (drift) to be shown.
Bug Fixes
- Animated camera moves now much smoother without sudden rotations.
- Depth shading errors corrected.
- BGS Layer provider now scales tile resolution to avoid blank tiles at large scales.
1.3.1
1.3.0
New Features
- Full screen mode (default for devices with small screens, smartphones etc), accessible with hotkey 'F' and from side panels (HTML header
<meta name="viewport" content="width=device-width, initial-scale=1.0">
required for correct operation on mobile devices). - Responsive UI to improve usability on smartphones.
- New BGS overlay provider, providing BGS Geological Bedrock and Linear 1:50K overlay (requires high zoom levels to ensure visibility).
Bug Fixes
- UI panels scroll to prevent overflow of content when used with small canvases.
- leg shading reverts to original selection when leaving the route editing UI.
- Bing overlay provider attribution working again and more complete.
1.2.2
Bug fixes
- Display user interface if tileSets.json is missing.
- Clipping box increased in size to avoid clipping at high zoom levels.
- Smoothed rendering of image overlays on terrain.
- Sorting of survey stations for flat surveys restored, repeated sorting avoided.
1.2.1
1.2.0
New Features
- Survex .3d Bv0.01 format supported.
- Approximate station depth below surface shown in station info popup, when a terrain is available.
Bug Fixes
- File extension checking now case insensitive.
- Survex files containing stations with names including the '.' separator handled correctly (surveys now load)
- Station lists not sorted in the UI when an excessive number of stations would cause large pauses if sorted when displaying the survey structure page, or changing shading methods.
1.1.1
1.1.0
New Features
- Display and editing of routes.
- Optional display of station names ( stations close to view point ).
- Revised labelling of entrances.
- Automatic adjustment of terrain to account for mismatch between terrain and survey vertical datums.
- New Bing Satellite and OS Map example overlays.
- Survey centre lines appear through fully opaque terrain.
Fixes and improvements
- Improved smoothness of rotation and flickering ( 32bit floating point precision issues ).
- Higher precision of depth shading.
- Revised API to add overlays to support more complicated mechanisms.
- Overlay attribution displayed when overlays are visible.