Coder Social home page Coder Social logo

cesium-o3de-samples's Introduction

Cesium for O3DE Logo

Cesium for O3DE Samples

The Cesium for O3DE Samples is a starter project to learn and explore the Cesium for O3DE gem.

The levels in this project will walk you through the plugin's features and demonstrate global-scale content, applications, and experiences in the Open 3D Engine.

Photogrammetry of Melbourne, Australia visualized in O3DE using Cesium for O3DE.

Photogrammetry of Melbourne, Australia visualized in O3DE using Cesium for O3DE.
Visit this and other locations in the 01_CesiumWorld sample level.

🚀 Get Started

  1. First, download and install the Cesium for O3DE gem. Take note of your local filepath to the cesium-o3de directory, you'll need it later.
  2. Clone this repository with git clone [email protected]:CesiumGS/cesium-o3de-samples.git. Or, download the latest release and unzip the package.
  3. In the cesium-o3de-samples folder, find and open project.json. Find the "external-subdirectories" element and replace the existing filepath with your filepath to the cesium-o3de repository or package. Filepath to change Save and close the project.json file.
  4. Open the O3DE Project Manager and select Add Existing Project.
  5. In the window that appears, find the cesium-o3de-samples directory that you just downloaded.
  6. Build the project, then open it.

Have questions? Ask them on the community forum. You may also want to visit the Cesium for O3DE tutorials.

⛰️ Features

1️⃣ Level 01_CesiumWorld

Explore different tilesets and locations on the globe in this introductory level. Press play, then use keyboard keys 1-3 to fly to New York City, USA, Mount Fuji, Japan, and Melbourne, Australia. This level demonstrates using the Script Canvas and the Cesium plugin to fly smoothly between different locations on the globe.

2️⃣ Level 02_CesiumQuickstart

This level is a simple template level consisting only of lighting, Cesium World Terrain and Cesium OSM Buildings, and the basic camera settings that you'll typically want in all your Cesium levels. Use this level as a jumping-off point to more rapidly build new experiences with Cesium and O3DE!

Cesium OSM Buildings visualized in O3DE using Cesium for O3DE.

Cesium OSM Buildings and Cesium World Terrain create this New York City scene in O3DE.

ℹ️ Additional Features

This sample project also includes some reusable entities and components that you can use in your projects.

  • The Cesium_Camera Prefab is a premade camera entity with adjustable speed for viewing models up close or traveling large distances. Add it instead of the default camera to scenes where you'll need globe-aware movement. In play, use the mouse scroll wheel to adjust your speed.
  • The Adjust Sky Orientation Component can be used on directional lights and skyboxes to ensure they remain oriented correctly when moving large distances across the globe.

🛠️Using Cesium for O3DE Samples for Development

The Cesium for O3DE Samples project can also be used for development and testing of the Cesium for O3DE gem. To use this project for development, follow these steps.

  1. Follow the cesium-o3de Developer Setup guide to install Cesium for O3DE.
  2. Clone the Cesium for O3DE Samples repo with git clone [email protected]:CesiumGS/cesium-o3de-samples.git.
  3. From the cesium-o3de-samples/build/windows_vs2019 directory, open cesium-o3de-samples.sln with Visual Studio 2019.
  4. Make edits to the cesium-o3de source code and save the solution.
  5. Open the O3DE Project Manager and rebuild the CesiumforO3DESamples project.
  6. Open the project, and see your changes in-engine!

📗License

Apache 2.0. Cesium for O3DE Samples is free to use as starter project for both commercial and non-commercial use.

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.