3dstreet icon indicating copy to clipboard operation
3dstreet copied to clipboard

hash striping too dense

Open kfarr opened this issue 5 years ago β€’ 1 comments

the hash striping is too dense and does not match the other roadway striping from north america / california

kfarr avatar Apr 24 '20 01:04 kfarr

other ideas: https://www.shutterstock.com/image-vector/seamless-horizontal-road-markings-black-white-2102946310 https://www.vectorstock.com/royalty-free-vector/blue-chevron-diagonal-stripes-seamless-pattern-vector-38346355

kfarr avatar Apr 06 '22 22:04 kfarr

Incorrect / bad from 3dstreet: image

Correct / good examples:

Apple maps vector: image

Satellite Map apple: image

Sat map google: https://www.google.com/maps/@37.7735923,-122.3993704,47a,45.5y,45.82h/data=!3m1!1e3?entry=ttu image

Reference:

  • https://www.sddc.army.mil/sites/TEA/Functions/SpecialAssistant/TrafficEngineeringBranch/BMTE/calcSigns/SignsAndMarkingsTurtorials/transverseMarkings/Pages/crosshatchMarkings.aspx image

kfarr avatar Jan 15 '24 19:01 kfarr

The texture is kept here: https://github.com/3DStreet/3dstreet-assets-dist/blob/main/materials/hatchedhd_Base_Color.jpg

Other road markings are kept here: https://github.com/3DStreet/3dstreet-assets-dist/blob/main/materials/lane-markings-atlas_1024.png

And here: https://github.com/3DStreet/3dstreet-assets-dist/blob/main/materials/stencils-atlas_2048.png

There could be space in stencils atlas on the right center side to include a repeatable chevron shape (like 2 or 3 "V" characters on top of each other). The application can use either the entire width with the "V" or just the left or right sides with repeating hashes oriented left or right as needed for the street segment.

Example WIP: image

kfarr avatar Jan 15 '24 19:01 kfarr

updated pngs, could use additional compression: 1024: stencils-atlas_1024 2048: stencils-atlas_2048

kfarr avatar Jan 16 '24 03:01 kfarr

progress image

hijacking bus lane for this demo

kfarr avatar Jan 16 '24 04:01 kfarr

https://github.com/3DStreet/3dstreet/pull/455

kfarr avatar Jan 16 '24 04:01 kfarr

this fix caused a regression on existing scenes, the divider segment appears as a white box with no texture

Also old scenes cannot be remixed and saved, there is an error.

I guess it's because of "hatched-base" and "hatched-normal" not available. So I have attempted to add those back to see if it fixes the bug. If not we'll have to revert back to pre dist

kfarr avatar Jan 17 '24 04:01 kfarr

resolved but caused regression, more info here: https://github.com/3DStreet/3dstreet/issues/457

kfarr avatar Jan 18 '24 00:01 kfarr