Skip to content
Snippets Groups Projects
Commit e5ce2b68 authored by Knuiman, Bart's avatar Knuiman, Bart
Browse files

Initial commit

parent a6964fa2
Branches
No related tags found
No related merge requests found
Showing
with 207 additions and 70 deletions
fileFormatVersion: 2 fileFormatVersion: 2
guid: 932e77f8ea621d84580cc7c679fbf36c guid: 25caeeb255686134fbbd0bd8857a0d28
folderAsset: yes folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
......
File added
fileFormatVersion: 2
guid: f9ea05f1a5f354043a2279cb1531c615
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
File added
fileFormatVersion: 2
guid: ce6cf77159a70ed4383fa0fb3828898b
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
File added
fileFormatVersion: 2
guid: 739694b2bfd48604fabba992b69019e1
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
File added
fileFormatVersion: 2
guid: 853d8a7e37ad2cc40863f17f70893559
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
File added
fileFormatVersion: 2
guid: 0752d85a9b6616048bbd86ab1aa92d51
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
## BGTTerrain (HDRP) ## VectorTiles (HDRP)
Builds up a terrain using PDOK BGT information. Can download a vector tile from a TMS service and
can convert the tile to a raster for basing a terrain upon it.
### Dependencies (GIT Pacakages) ### Dependencies (GIT Pacakages)
- geotiff
- utils - utils
### Usage: ### Usage:
Sweep the BuildTerrain prefab into the Hierarchy and press 'Build' on the BuildTerrain script.
``` ```
var tile = VectorTile.FromUrl( url );
tile.ForEach( width=1024, height=1024, (x, y, feature) =>
{
// x and y in pixel space starting at: [0, 0]
switch( feature )
{
}
});
Texture2D texture = tile.RenderToTexture( width=1024, height=1024, layers );
``` ```
### Important:
## VectorTiles (HDRP)
Can download a vector tile from a TMS service and
can convert the tile to a raster for basing a terrain upon it.
### Dependencies (GIT Pacakages)
- utils
### Usage:
```
var tile = VectorTile.FromUrl( url );
tile.ForEach( width=1024, height=1024, (x, y, feature) =>
{
// x and y in pixel space starting at: [0, 0]
switch( feature )
{
}
});
Texture2D renderToT
```
fileFormatVersion: 2 fileFormatVersion: 2
guid: d90fa36a7b802304c98b92457c4c0025 guid: bbfb834841eeeac4893838544150d322
folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:
......
fileFormatVersion: 2 fileFormatVersion: 2
guid: a83de7b95b393d64c9adffa596fe39ac guid: 65bb221b343f57b4990d2dd905a21d2b
TextScriptImporter: TextScriptImporter:
externalObjects: {} externalObjects: {}
userData: userData:
......
fileFormatVersion: 2 fileFormatVersion: 2
guid: 4c2190c7db4465348abd5d1fe56d34ae guid: 384b1450b8e2e7f45aeac927da7cae95
folderAsset: yes folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
......
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1953259897 &8574412962073106934
TerrainLayer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Asfalt
m_DiffuseTexture: {fileID: 2800000, guid: 1a7d9a6002608b342bde613de3f92a61, type: 3}
m_NormalMapTexture: {fileID: 2800000, guid: ad1a47e882294db49b1056ec466b8be9, type: 3}
m_MaskMapTexture: {fileID: 0}
m_TileSize: {x: 2, y: 2}
m_TileOffset: {x: 0, y: 0}
m_Specular: {r: 0, g: 0, b: 0, a: 0}
m_Metallic: 0
m_Smoothness: 0
m_NormalScale: 1
m_DiffuseRemapMin: {x: 0, y: 0, z: 0, w: 0}
m_DiffuseRemapMax: {x: 1, y: 1, z: 1, w: 1}
m_MaskMapRemapMin: {x: 0, y: 0, z: 0, w: 0}
m_MaskMapRemapMax: {x: 1, y: 1, z: 1, w: 1}
fileFormatVersion: 2
guid: 18e099679d7c2e441b23ddbab4283f49
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 8574412962073106934
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1953259897 &8574412962073106934
TerrainLayer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Fietspad
m_DiffuseTexture: {fileID: 2800000, guid: ade65108c3fb7ad458975e94ae8c039e, type: 3}
m_NormalMapTexture: {fileID: 2800000, guid: ad1a47e882294db49b1056ec466b8be9, type: 3}
m_MaskMapTexture: {fileID: 0}
m_TileSize: {x: 2, y: 2}
m_TileOffset: {x: 0, y: 0}
m_Specular: {r: 0, g: 0, b: 0, a: 0}
m_Metallic: 0
m_Smoothness: 0
m_NormalScale: 1
m_DiffuseRemapMin: {x: 0, y: 0, z: 0, w: 0}
m_DiffuseRemapMax: {x: 1, y: 1, z: 1, w: 1}
m_MaskMapRemapMin: {x: 0, y: 0, z: 0, w: 0}
m_MaskMapRemapMax: {x: 1, y: 1, z: 1, w: 1}
fileFormatVersion: 2
guid: d246e87b3079621499653fbc3124273c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 8574412962073106934
userData:
assetBundleName:
assetBundleVariant:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment