Giter Site home page Giter Site logo

streetplan-loader component about 3dstreet HOT 6 CLOSED

kfarr avatar kfarr commented on June 4, 2024
streetplan-loader component

from 3dstreet.

Comments (6)

Algorush avatar Algorush commented on June 4, 2024

So far, these are my conclusions from what I saw in StreetPlan.

  • In terms of StreetPlan JSON structure, it is basically similar to the streetmix structure. I think it's time to refactor aframe-streetmix-parser to adapt it to the names of segments and options of streetPlan too. And make two files (for streetmix and streetplan) with a correspondence map: segment name (and options): handler function name. I'm still thinking about the best way to do this.
  • But streetplan has many more segment variants, as well as material options. Many of them are not that difficult to add. Can we ask @gnansai to add new models? And we also will have to find/make new materials and textures similar to those in StreetPlan, I can do this. It's probably worth asking the StreetPlan developers for the most used options for each segment type in order to implement them first.
  • One of the differences from Streetmix is that StreetPlan has foreground and background options for one segment and there can also be 2 foreground/background. This will need to be taken into account in 3DStreet, that is, placing different types of options on the same segment.
  • Regarding the differences in the presentation of some segments. For example Sidewalk in 3DStreet has all different types of pedestrians on the same segment. StreetPlan has many very typical pedestrians on same segment, such as a 'woman shopping' or 'older ladies walking' or 'Couple',3 people, 2 people, ... The question is, should we do the same in 3DStreet - place pedestrians only of the selected option?
  • And again. We don’t yet have many types of pedestrians, such as jogging man/woman/couple, Grandpa and todler, woman with dog, couple, older couple, etc

from 3dstreet.

kfarr avatar kfarr commented on June 4, 2024

Thanks, here is a quick analysis I did on the streetplan Type values I encountered in this file: https://upd.streetplan.net/streets-3d-data/79291 as well as a manual review of the materials available in the streetplan.net user interface.

in 3dstreet, most things map to these streetmix json segment types:

  • sidewalk
  • drive lane (bus lane, bike lane, BRT, scooter lane, etc.)
  • parking
  • curb / gutter / drainage (new)
  • divider

in streetplan:

  • types include: Walkways, setback, Furniture, BikesPaths, Curbside, Gutter, Transit, Cars, Buffers, Buildings

Therefore, a potential mapping from 3dstreet :: streetplan could be the following:

  • sidewalk :: Walkways, Furniture, Curbside
  • drive-lane :: BikesPaths, Transit, Cars
  • ignore :: setback, Buildings
  • drainage :: Gutter
  • divider :: Buffers

Streetplan material :: 3dstreet material mapping suggestion:

  • many asphalt + color :: these can map to seamless road texture + color
  • grass + dead grass + edging grass :: map to grass
  • sidewalk - many variants :: map to sidewalk for now
  • custom matierals -- pavers, sidewalk 1-9, etc.

from 3dstreet.

Algorush avatar Algorush commented on June 4, 2024

First version: #503
Streetplan project:
image
3DStreet variant (without buildings yet):
image

from 3dstreet.

Algorush avatar Algorush commented on June 4, 2024

There are several issues to discuss.
How to present some options from Streetplan in 3DStreet:

  1. Sideways. Streetplan has empty, 1 man, 2 man, 3 man options, ... In Streetmix/3DStreet - empty, sparse, normal, dense variants. The number of pedestrians depends on the width of the segment, and can be from 0 to 7 and much more.
  2. Same question for cars and bikes. How much it should be. And also maybe for segments with trees, add more trees than are currently available in 3DStreet?
  3. type: [Subtype, Buffers], subtype 'Purpendicular' - is this a typo? For type 'Parking' there is sybtype 'Perpendicular'
  4. Currently, the Steetplan server cors settings do not allow loading JSON street project data.
  5. How to form a street name for 3DStreet. Streetplan contains the name of the project, the name of the current street and the name (in the description field?) of an alternative street option.

from 3dstreet.

kfarr avatar kfarr commented on June 4, 2024

v1 merged #503

from 3dstreet.

kfarr avatar kfarr commented on June 4, 2024

v1 done

from 3dstreet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.