Skip to content

Commit 92d1930

Browse files
authored
Merge pull request #17 from CesiumGS/update-readme
2 parents befc7b1 + dfedc20 commit 92d1930

File tree

6 files changed

+49
-7
lines changed

6 files changed

+49
-7
lines changed

Assets/Scenes/04_CesiumMetadata.unity

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,6 @@ MonoBehaviour:
330330
_enforceCulledScreenSpaceError: 1
331331
_culledScreenSpaceError: 64
332332
_opaqueMaterial: {fileID: 0}
333-
_useLodTransitions: 0
334-
_lodTransitionLength: 0.5
335333
_generateSmoothNormals: 0
336334
_suspendUpdate: 0
337335
_showTilesInHierarchy: 0
@@ -416,8 +414,6 @@ MonoBehaviour:
416414
_enforceCulledScreenSpaceError: 1
417415
_culledScreenSpaceError: 64
418416
_opaqueMaterial: {fileID: 0}
419-
_useLodTransitions: 0
420-
_lodTransitionLength: 0.5
421417
_generateSmoothNormals: 0
422418
_suspendUpdate: 0
423419
_showTilesInHierarchy: 0
@@ -887,7 +883,7 @@ RectTransform:
887883
m_AnchorMin: {x: 0, y: 1}
888884
m_AnchorMax: {x: 1, y: 1}
889885
m_AnchoredPosition: {x: 2.5, y: 0}
890-
m_SizeDelta: {x: -5, y: 16}
886+
m_SizeDelta: {x: -5, y: 14.988291}
891887
m_Pivot: {x: 0.5, y: 1}
892888
--- !u!114 &633341526
893889
MonoBehaviour:
@@ -1095,7 +1091,7 @@ MonoBehaviour:
10951091
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
10961092
m_Name:
10971093
m_EditorClassIdentifier:
1098-
m_UiScaleMode: 0
1094+
m_UiScaleMode: 1
10991095
m_ReferencePixelsPerUnit: 100
11001096
m_ScaleFactor: 1
11011097
m_ReferenceResolution: {x: 800, y: 600}
87.9 KB
Loading

Images~/ferry_building.jpg

280 KB
Loading

Images~/metadata.jpg

445 KB
Loading

Images~/san_francisco.jpg

617 KB
Loading

README.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,52 @@
1+
[![Cesium for Unity Logo](Images~/Cesium_for_Unity-Logo-WhiteBGH.jpg)](https://cesium.com/)
2+
13
# Cesium for Unity Samples
24

3-
These are samples to demonstrate how to use the [Cesium for Unity](https://github.com/CesiumGS/cesium-unity) plugin.
5+
The Cesium for Unity Samples is a starter project to learn and explore the [Cesium for Unity](https://cesium.com/platform/cesium-unity?utm_source=cesium-unity&utm_medium=github&utm_campaign=unity) plugin.
6+
7+
The scenes in this project will walk you through the plugin's features and demonstrate global-scale content, applications, and experiences in Unity 3D.
8+
9+
![Aerometrex Photogrammetry of San Francisco in Cesium for Unity](Images~/san_francisco.jpg)
10+
*<p align="center">Photogrammetry of San Francisco, California visualized in Unity, using Cesium for Unity.<br>Open the <b>03_CesiumSanFrancisco</b> scene in Cesium for Unity Samples to experience it yourself!</p>*
11+
12+
### :rocket: Get Started
13+
14+
1. **[Download Cesium for Unity Samples](https://github.com/CesiumGS/cesium-unity-samples/releases)**.
15+
2. Extract the `.zip` file into a suitable location on your computer.
16+
3. If you have [Unity Hub](https://unity.com/unity-hub) installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
17+
4. In the Asset Browser, select and load `Assets -> Scenes -> 01_CesiumWorld`. You can also select other scenes as you browse and explore the samples.
18+
19+
Have questions? Ask them on the [community forum](https://community.cesium.com).
20+
21+
## :mountain: Level Descriptions
22+
23+
### :one: Level 1 - Cesium World
24+
25+
The sample levels begin with a scene in San Francisco. You'll see [Cesium World Terrain](https://cesium.com/platform/cesium-ion/content/cesium-world-terrain/) and [Cesium OSM Buildings](https://cesium.com/platform/cesium-ion/content/cesium-osm-buildings/) in this scene. This level is designed to familiarize you with the core Cesium game objects and components, like Cesium World Terrain and Cesium Georeference.
26+
27+
Be sure to sign into your Cesium ion account using the Cesium button in the toolbar.
28+
29+
### :two: Level 2 - Melbourne Photogrammetry
30+
31+
In this scene, explore high-resolution photogrammetry data of Melbourne. This data is streamed from Cesium ion with the 3D Tiles format, a spatial index for streaming massive 3D content over the web. 3D Tiles makes it possible to stream hundreds of gigabytes of data over the web using hierarchical level of detail, spatial subdivision, and runtime optimizations.
32+
33+
See how this scene was created with the [Adding Datasets tutorial](https://cesium.com/learn/unity/unity-datasets/).
34+
35+
### :three: Level 3 - San Francisco Photogrammetry with a Unity Character Controller
36+
37+
In this scene, explore even more high-resolution photogrammetry data of San Francisco using a third-person character controller. Whereas Melbourne allowed you to freely fly around and explore, in this scene you'll walk right up to the real-world data. When streaming content through Cesium for Unity, physics and gravity will continue to work as expected with your character controllers.
38+
39+
Grab some cool screenshots to share with us as you explore and customize the scenes.
40+
41+
![Photogrammetry of the Ferry Building in San Francisco, CA captured by [Aerometrex](https://aerometrex.com.au/) and visualized in Unity 3D using Cesium for Unity.](Images~/ferry_building.jpg)
42+
*<p align="center">Photogrammetry of the Ferry Building in San Francisco, CA captured by [Aerometrex](https://aerometrex.com.au/).<br>Open <b>03_CesiumSanFrancisco</b> in the Cesium for Unity Samples to walk around the dataset.</p>*
43+
44+
### :four: Level 4 - Metadata
45+
46+
Cesium for Unity enables you to access metadata encoded in your 3D Tiles datasets. In this scene, explore the buildings in New York City and see what information is included in the tileset about each building.
47+
48+
![Metadata of New York City buildings visualized.](Images~/metadata.jpg)
49+
*<p align="center">Metadata of New York City buildings visualized.<br>Open <b>04_CesiumMetadata</b> in the Cesium for Unity Samples to explore the New York City buildings' metadata.</p>*
450

551
### :green_book:License
652

0 commit comments

Comments
 (0)