Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b4c08ce
basic POC
apavani May 8, 2018
6276bbf
wip on the second approach
apavani May 8, 2018
aa05b1d
add static latlon-tilespace conversion method
May 9, 2018
9d1dd96
wip
apavani May 16, 2018
593317b
Merge remote-tracking branch 'origin/develop' into replace-hero-build…
apavani May 16, 2018
747c1cc
adding new architecture changes
apavani May 16, 2018
1667e75
removing unnecessary files
apavani May 16, 2018
a548c15
Merge branch 'latlon-tilespace-conversion' into replace-hero-building…
May 16, 2018
d0b7623
separate conversion methods for unitytile-space and vectortile-space
May 16, 2018
e70a639
correct comments
May 16, 2018
110de03
Merge remote-tracking branch 'origin/replace-hero-buildings' into rep…
apavani May 16, 2018
47be766
Merge branch 'replace-hero-buildings-conversions' of github.com:mapbo…
May 16, 2018
bcb83a4
adding ui changes to the replace feature modifier
apavani May 17, 2018
456d78c
set up the framework to execute this
apavani May 17, 2018
a351ada
Merge branch 'replace-hero-buildings-conversions' of github.com:mapbo…
May 17, 2018
5e75cdc
set replacementcriteria via the IReplaceable interface
May 17, 2018
a6342c3
null check added
apavani May 17, 2018
eb6157b
fix conversions method to generate the correct vectortile coordinates
May 18, 2018
65525c1
add feature contains point check to replacefeaturemodifier
May 18, 2018
9a09c86
Merge branch 'replace-hero-buildings-conversions' of github.com:mapbo…
May 18, 2018
14bafda
spawn only one object per coordinate
May 18, 2018
043bc67
use the geocode property attribute in replace feature modifier
May 18, 2018
fe2a3d5
move point in polygon out of vectortile utils
May 18, 2018
e282dc4
removed inheritance
apavani May 19, 2018
34fd44e
cleanup project files
May 19, 2018
2c8344b
add active check when applying replacement criteria
May 19, 2018
14661ae
Merge branch 'replace-hero-buildings' of github.com:mapbox/mapbox-uni…
May 19, 2018
958d045
adding feature id null check
apavani May 19, 2018
1dd4064
adding new model
apavani May 22, 2018
7aed5fd
Merge remote-tracking branch 'origin/develop' into replace-hero-build…
apavani May 22, 2018
cf5822c
fixes to willy's comments and other merge errors
apavani May 23, 2018
c1fc950
fixing camera angle
apavani May 23, 2018
8d5f64e
scene fix and null check
apavani May 23, 2018
d7cd2b5
cleaned up prefab modifier
apavani May 23, 2018
c58e585
Update 05-changelog.md
apavani May 23, 2018
8197dfa
prefab modifier fix
apavani May 23, 2018
79e8f17
cleaned up prefab modifier and replacement modifier
apavani May 23, 2018
fb0c720
Change language for changelog.
abhishektrip May 23, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions documentation/docs/05-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
### v.1.4.3
*??/??/2018*
##### New Features
- Added a **Feature Replacement Modifer** that allows replacement of a vector feature at a given Latitude,Longitude with a supplied prefab. Enables replacing a procedurally generated building at a given Latitude,Longitude with a custom 3D model.
##### Improvements
##### Bug Fixes
- Fix issue with UvModifier which caused wrong roof uv positions calculations.
Expand Down

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

10 changes: 10 additions & 0 deletions sdkproject/Assets/Mapbox/Examples/7_ReplaceFeatures.meta

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

10 changes: 10 additions & 0 deletions sdkproject/Assets/Mapbox/Examples/7_ReplaceFeatures/Materials.meta

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: FuturisticBuilding
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 35f9d408432e04487bba4cd10a5e389a, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

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

10 changes: 10 additions & 0 deletions sdkproject/Assets/Mapbox/Examples/7_ReplaceFeatures/Models.meta

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

Binary file not shown.

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

10 changes: 10 additions & 0 deletions sdkproject/Assets/Mapbox/Examples/7_ReplaceFeatures/Prefabs.meta

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

Loading