Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations. #o3de #gameengine #engine

AMZN_Saulty 70dc678be7 Create CODE_OF_CONDUCT.md 4 rokov pred
.github f42db49a86 Update issue templates 4 rokov pred
Assets df648db62e Merge branch 'stabilization/2106' into mbalfour/gitflow_210622 4 rokov pred
AutomatedTesting 33801ef925 fixes the nightly GPU test 4 rokov pred
Code ad2ee47ea3 Avoid a somewhat costly call to ThumbnailerRequestsBus::IsLoading when the information is already manifest 4 rokov pred
Gems 05c5fbe85e Merge pull request #1586 from yuriy0/DontBlockMainThreadToLoadTexturePreviews 4 rokov pred
Registry 9ca0e731f4 Merge remote-tracking branch 'upstream/stabilization/2106' into mnaumov/StabilizationJun15 4 rokov pred
Templates 2fa6883455 SPEC-6663 add file(READ files to tracking (#1416) 4 rokov pred
Tools b032177418 Merge pull request #1443 from aws-lumberyard-dev/nvsickle/MergeStabilizationJun18 4 rokov pred
cmake 01b2079790 [ATOM-15801] AZSLc NoMSAA translation needs to initialize the third (#1529) 4 rokov pred
python 0c7605c9b6 Update minimum required CMake version to 3.20 (#1253) 4 rokov pred
scripts cfe839e89e Address PR comments 4 rokov pred
.clang-format 4a5b7edbfe Updates to kd-tree ray intersection - ATOM-15673 (#1026) 4 rokov pred
.editorconfig a10351f38d Initial commit 4 rokov pred
.gitattributes 78d6909bda Merge branch 'main' into cpack_installer 4 rokov pred
.gitignore 59934e6be1 Updating the ProjectManager code and scripts with new layout of the o3de package scripts 4 rokov pred
.lfsconfig 7b618d9db2 Updating LFS config to new endpoint (#1623) 4 rokov pred
CMakeLists.txt f6a6614e4b StaticModules.in must be generated after the gems are enabled 4 rokov pred
CODE_OF_CONDUCT.md 70dc678be7 Create CODE_OF_CONDUCT.md 4 rokov pred
Doxyfile_ScriptBinds a10351f38d Initial commit 4 rokov pred
LICENSE.txt a10351f38d Initial commit 4 rokov pred
README.md 0c7605c9b6 Update minimum required CMake version to 3.20 (#1253) 4 rokov pred
SerializeContextAnalysis.bat a10351f38d Initial commit 4 rokov pred
SliceBuilderSettings.json a10351f38d Initial commit 4 rokov pred
aztest_bootstrap.json a10351f38d Initial commit 4 rokov pred
ctest_pytest.ini a10351f38d Initial commit 4 rokov pred
editor.cfg a10351f38d Initial commit 4 rokov pred
engine.json 149cb2e2f2 Merge 'gameliftfeature' branch into 'development' branch (#1534) 4 rokov pred
system_android_android.cfg 9b1be43367 Renamed osx_gl to mac and es3 to android for cache folders (#949) 4 rokov pred
system_ios_ios.cfg a10351f38d Initial commit 4 rokov pred
system_linux_pc.cfg a10351f38d Initial commit 4 rokov pred
system_mac_mac.cfg 9b1be43367 Renamed osx_gl to mac and es3 to android for cache folders (#949) 4 rokov pred
system_windows_pc.cfg a10351f38d Initial commit 4 rokov pred

README.md

Project Spectra Private Preview

Confidentiality; Pre-Release Access

Welcome to the Project Spectra Private Preview. This is a confidential pre-release project; your use is subject to the nondisclosure agreement between you (or your organization) and Amazon. Do not disclose the existence of this project, your participation in it, or any of the materials provided, to any unauthorized third party. To request access for a third party, please contact Royal O'Brien, [email protected].

Full instructions can be found here:

https://docs.o3de.org/docs/welcome-guide/setup/setup-from-github/

(Note: Contact Royal or Doug Erickson, [email protected] for access)

Updates to this readme

May 14, 2021

  • Removed instructions for the 3rdParty zip file and downloader URL. This is no longer a requirement.
  • Updated instructions for dependencies
  • Links to full documentation

April 7-13, 2021

  • Updates to the 3rdParty zip file

March 25, 2021

  • Initial commit for instructions

Download and Install

This repository uses Git LFS for storing large binary files. You will need to create a Github personal access token to authenticate with the LFS service.

To install Git LFS, download the binary here: https://git-lfs.github.com/.

After installation, you will need to install the necessary git hooks with this command

git lfs install

Create a Git Personal Access Token

You will need your personal access token credentials to authenticate when you clone the repository and when downloading objects from Git LFS

Create a personal access token with the 'repo' scope.

During the clone operation, you will be prompted to enter a password. Your token will be used as the password. You will also be prompted a second time for Git LFS.

(Recommended) Verify you have a credential manager installed to store your credentials

Recent versions of Git install a credential manager to store your credentials so you don't have to put in the credentials for every request.

It is highly recommended you check that you have a credential manager installed and configured

For Linux and Mac, use the following commands to store credentials

Linux:

git config --global credential.helper cache

Mac:

git config --global credential.helper osxkeychain

Clone the repository

> git clone https://github.com/aws-lumberyard/o3de.git
Cloning into 'o3de'...

# initial prompt for credentials to download the repository code
# enter your Github username and personal access token

remote: Counting objects: 29619, done.
Receiving objects: 100% (29619/29619), 40.50 MiB | 881.00 KiB/s, done.
Resolving deltas: 100% (8829/8829), done.
Updating files: 100% (27037/27037), done.

# second prompt for credentials when downloading LFS files
# enter your Github username and personal access token

Filtering content: 100% (3853/3853), 621.43 MiB | 881.00 KiB/s, done.

If you have the Git credential manager core or other credential helpers installed, you should not be prompted for your credentials anymore.

Building the Engine

Build Requirements and redistributables

Windows

Optional

  • WWise - 2019.2.8.7432 minimum: https://www.audiokinetic.com/download/
    • Note: This requires registration and installation of a client to download
    • You will also need to set a environment variable: set LY_WWISE_INSTALL_PATH=<path to WWise version>
    • For example: set LY_WWISE_INSTALL_PATH="C:\Program Files (x86)\Audiokinetic\Wwise 2019.2.8.7432"

Quick Start Build Steps

  1. Create a writable folder to cache 3rd Party dependencies. You can also use this to store other redistributable SDKs.

    For the 0.5 branch - Create an empty text file named 3rdParty.txt in this folder, to allow a legacy CMake validator to pass

  2. Install the following redistributables to the following:

    • Visual Studio and VC++ redistributable can be installed to any location
    • CMake can be installed to any location, as long as it's available in the system path
    • WWise can be installed anywhere, but you will need to set an environment variable for CMake to detect it: set LY_WWISE_INSTALL_PATH=<path to WWise>
  3. Navigate into the repo folder, then download the python runtime with this command

    For the 0.5 branch - Set this environment variable prior to the get_python command below:

    > set LY_PACKAGE_SERVER_URLS=https://d2c171ws20a1rv.cloudfront.net
    > ```
    
    

    python\get_python.bat ```

  4. Configure the source into a solution using this command line, replacing and <3rdParty cache path> to a path you've created:

    cmake -B <your build path> -S <your source path> -G "Visual Studio 16" -DLY_3RDPARTY_PATH=<3rdParty cache path> -DLY_UNITY_BUILD=ON -DLY_PROJECTS=AutomatedTesting 
    

    Note: Do not use trailing slashes for the <3rdParty cache path>

  5. Alternatively, you can do this through the CMake GUI:

    1. Start cmake-gui.exe
    2. Select the local path of the repo under "Where is the source code"
    3. Select a path where to build binaries under "Where to build the binaries"
    4. Click "Configure"
    5. Wait for the key values to populate. Fill in the fields that are relevant, including LY_3RDPARTY_PATH and LY_PROJECTS
    6. Click "Generate"
  6. The configuration of the solution is complete. To build the Editor and AssetProcessor to binaries, run this command inside your repo:

    cmake --build <your build path> --target AutomatedTesting.GameLauncher AssetProcessor Editor --config profile -- /m
    
  7. This will compile after some time and binaries will be available in the build path you've specified

  8. Setting up new projects

    1. While still within the repo folder, register the engine with this command:

      scripts\o3de.bat register --this-engine
      
    2. Setup new projects using the o3de create-project command. In the 0.5 branch, the project directory must be a subdirectory in the repo folder.

      <Repo path>\scripts\o3de.bat create-project --project-path <your new project path>
      
    3. Register the engine to the project

      <Repo path>\scripts\o3de.bat register --project-path <New project path>
      
    4. Once you're ready to build the project, run the same set of commands to configure and build:

      cmake -B <your project build path> -S <your new project source path> -G "Visual Studio 16" -DLY_3RDPARTY_PATH=<3rdParty cache path>
      
      // For the 0.5 branch, you must build a new Editor for each project:
      cmake --build <your project build path> --target <New Project Name>.GameLauncher Editor --config profile -- /m
          
      // For all other branches, just build the project:
      cmake --build <your project build path> --target <New Project Name>.GameLauncher --config profile -- /m
      

    For a tutorial on project configuration, see Creating Projects Using the Command Line in the documentation.

    License

    For terms please see the LICENSE*.TXT file at the root of this distribution.