Skip to content

Commit

Permalink
Merge main into sweep/add-sweep-config
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Aug 23, 2023
2 parents aeca629 + 4038898 commit d61d3bc
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 21 deletions.
44 changes: 31 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,42 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased - to be 0.4.1] - TBD
## 0.4.1 - 2023-08-08

### Changes and additions
* v2 save / load - includes environment
### What's Changed

### Major improvements
* v2 save / load - ability to edit a 3DStreet JSON file previously saved including environment and reference layers
* ability to load 3DStreet json file from third-party path (precursor to cloud)
* ability to update night / day live (street-environment component)
* ability to load json file from third-party path (precursor to cloud)
* improve asset loading - lazy load vehicles (only load vehicles when needed for scene)
* new LRV
* new bus model
* [Improved screenshot capture and capture modal (editor)](https://github.com/3DStreet/3dstreet/pull/277)
* [Improved support for varying levels of pedestrian densiy on sidewalk segments](https://github.com/3DStreet/3dstreet/pull/276)

### Changes and additions
* Sidewalk segment variants by @Algorush in https://github.com/3DStreet/3dstreet/pull/276
* add perpendicular parking option by @Algorush in https://github.com/3DStreet/3dstreet/pull/273
* New Screentock component by @kfarr in https://github.com/3DStreet/3dstreet/pull/277
* support new LRV by @kfarr in https://github.com/3DStreet/3dstreet/pull/289
* Lazy load rigged vehicles by @kfarr in https://github.com/3DStreet/3dstreet/pull/296
* Add first version to load JSON from URL by @Algorush in https://github.com/3DStreet/3dstreet/pull/304
* add update environment option by @Algorush in https://github.com/3DStreet/3dstreet/pull/307
* add environment node support by @Algorush in https://github.com/3DStreet/3dstreet/pull/300
* add attribute to ignore raycaster on env-sky element by @Algorush in https://github.com/3DStreet/3dstreet/pull/312
* Notification component by @Algorush in https://github.com/3DStreet/3dstreet/pull/319
* add layers-2d node support to save/load by @Algorush in https://github.com/3DStreet/3dstreet/pull/320
* rename layers-2 entity by @Algorush in https://github.com/3DStreet/3dstreet/pull/326
* fewer pedestrians in 'sparse' mode by @Algorush in https://github.com/3DStreet/3dstreet/pull/328
* Add console log for npm version number and github hash by @sweep-ai in https://github.com/3DStreet/3dstreet/pull/324
* brt station segment support by @Algorush https://github.com/3DStreet/3dstreet/pull/268

### Fixed
* ability to edit a street previously saved
* restore parallel parking t stencil
* fix empty lot / parking lot variants showing
* [Add perpindicular parking option](https://github.com/3DStreet/3dstreet/pull/273)
* [brt station support](https://github.com/3DStreet/3dstreet/pull/268)
* fix NaN issue with pedestrians by @Algorush in https://github.com/3DStreet/3dstreet/pull/283
* fix empty building variant showing by @Algorush in https://github.com/3DStreet/3dstreet/pull/285
* Save load fixing by @Algorush in https://github.com/3DStreet/3dstreet/pull/287
* Save load fixing by @Algorush in https://github.com/3DStreet/3dstreet/pull/310
* fix saving issue by @Algorush in https://github.com/3DStreet/3dstreet/pull/321
* return parking-t mixin by @Algorush in https://github.com/3DStreet/3dstreet/pull/302

**Full Changelog**: https://github.com/3DStreet/3dstreet/compare/0.4.0...0.4.1

## 0.4.0 - 2023-05-04

Expand Down
2 changes: 1 addition & 1 deletion assets
Submodule assets updated 26 files
+ sets/brt-station/gltf-exports/draco/brt-station.glb
+ sets/cargo-bike-animation/gltf-exports/draco/cargo_bike_animation_v1.glb
+ sets/cyclist-animation/gltf-exports/draco/Dutch_cyclist_animation_v01.glb
+ sets/cyclist-animation/gltf-exports/draco/Kid_cyclist_animation_v01.glb
+ sets/cyclist-animation/gltf-exports/draco/cyclist-1-animation-v1.glb
+ sets/cyclist-animation/gltf-exports/draco/cyclist-2-animation-v1.glb
+ sets/cyclist-animation/gltf-exports/draco/cyclist-3-animation-v1.glb
+ sets/flyer-bus/gltf-exports/draco/new-flyer-bus.glb
+ sets/heart-model/heart-model_v01.glb
+ sets/human-characters-animation-seperated/gltf-exports/draco/character-1-walk.glb
+ sets/human-characters-animation-seperated/gltf-exports/draco/character-2-walk.glb
+ sets/human-characters-animation-seperated/gltf-exports/draco/character-3-walk.glb
+ sets/human-characters-animation-seperated/gltf-exports/draco/character-4-walk.glb
+ sets/human-characters-animation-seperated/gltf-exports/draco/character-5-walk.glb
+ sets/human-characters-animation-seperated/gltf-exports/draco/character-6-walk.glb
+ sets/human-characters-animation-seperated/gltf-exports/draco/character-7-walk.glb
+ sets/human-characters-animation-seperated/gltf-exports/draco/character-8-walk.glb
+ sets/human-characters-poses-1/gltf-exports/draco/human-characters-poses-1.glb
+ sets/human-characters-poses-2/gltf-exports/draco/human-characters-poses-2.glb
+ sets/light-rail-vehicle/gltf-exports/draco/light-rail-vehicle-v01.glb
+ sets/light-rail-vehicle/gltf-exports/draco/light-rail-vehicle-v02.glb
+ sets/magic-carpet/gltf-exports/draco/magic-carpet.glb
+ sets/vehicles-rig/gltf-exports/draco/fire-truck-pumper-rig.glb
+ sets/vehicles-rig/gltf-exports/draco/isuzu-truck-rig.glb
+ sets/vehicles/gltf-exports/draco/fire-truck-pumper.glb
+ sets/vehicles/gltf-exports/draco/isuzu-truck.glb
4 changes: 2 additions & 2 deletions dist/aframe-street-component.js

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
<a-entity id="camera" camera="far: 1000" position="0 1.6 0" ></a-entity>
<a-entity id="leftHand" hand-controls="hand: left; handModelStyle: lowPoly; color: #ffccff"></a-entity>
<a-entity id="rightHand" hand-controls="hand: right; handModelStyle: lowPoly; color: #ffccff"></a-entity>
<a-entity id="screenshot" class="no-pause" screentock visible="false"></a-entity>
</a-entity>

<a-entity id="environment" data-layer-name="Environment" street-environment="preset: day;"></a-entity>
Expand Down Expand Up @@ -130,9 +131,12 @@
});

function buttonScreenshotTock() {
AFRAME.scenes[0].setAttribute('screentock', 'type', 'jpg');
AFRAME.scenes[0].setAttribute('screentock', 'takeScreenshot', true);
const screenshotEl = document.getElementById('screenshot');
screenshotEl.play(); // double check playing in case we're in editor mode
screenshotEl.setAttribute('screentock', 'type', 'jpg');
screenshotEl.setAttribute('screentock', 'takeScreenshot', true);
}

function startEditor() {
var sceneEl = document.querySelector('a-scene');
sceneEl.components.inspector.openInspector();
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "3dstreet",
"version": "0.4.0",
"version": "0.4.1",
"description": "Web-based 3D visualization of streets using A-Frame and WebXR",
"main": "dist/aframe-street-component.js",
"scripts": {
Expand Down

0 comments on commit d61d3bc

Please sign in to comment.