Giter Club home page Giter Club logo

byjokese / o3de Goto Github PK

View Code? Open in Web Editor NEW

This project forked from o3de/o3de

0.0 1.0 0.0 113.35 MB

Source for fully featured AAA Open 3D Engine

Home Page: https://o3de.org

License: Other

CMake 1.43% Python 12.82% C++ 84.38% Lua 0.46% Mathematica 0.01% LilyPond 0.02% Batchfile 0.08% C 0.40% Objective-C 0.01% Objective-C++ 0.20% Java 0.06% HTML 0.01% QMake 0.01% Shell 0.04% CSS 0.01% JavaScript 0.01% HLSL 0.01% ShaderLab 0.04% GLSL 0.03% PowerShell 0.01%

o3de's Introduction

O3DE (Open 3D Engine)

O3DE (Open 3D Engine) is an open-source, real-time, 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.

Contribute

For information about contributing to Open 3D Engine, visit https://o3de.org/docs/contributing/

Download and Install

This repository uses Git LFS for storing large binary files.

Verify you have Git LFS installed by running the following command to print the version number.

git lfs --version 

If Git LFS is not installed, download and run the installer from: https://git-lfs.github.com/.

Install Git LFS hooks

git lfs install

Clone the repository

git clone https://github.com/o3de/o3de.git

Building the Engine

Build Requirements and redistributables

Windows

Optional

  • Wwise version 2021.1.1.7601 minimum: https://www.audiokinetic.com/download/
    • Note: This requires registration and installation of a client application to download
    • Note: It is generally okay to use a more recent version of Wwise, but some SDK updates will require code changes
    • Make sure to select the SDK(C++) component during installation of Wwise
    • CMake can find the Wwise install location in two ways:
      • The LY_WWISE_INSTALL_PATH CMake cache variable -- this is checked first
      • The WWISEROOT environment variable which is set when installing Wwise SDK

Quick Start Build Steps

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

  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
  3. 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>

  4. 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"
  5. 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
    
  6. This will compile after some time and binaries will be available in the build path you've specified

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.
    <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>
    
    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.

o3de's People

Contributors

amzn-daimini avatar amzn-gene avatar amzn-jillich avatar amzn-mnaumov avatar amzn-puvvadar avatar amzn-scottr avatar amzn-sj avatar amznestebanpapp avatar burelc-amzn avatar carlitosan avatar cgalvan avatar dmcdiarmid-ly avatar evanchia-ly-sdets avatar gadams3 avatar greerdv avatar hultonha avatar infurael avatar jckand avatar jjjoness avatar jromnoa avatar kberg0 avatar lemonade-dm avatar mbalfour-amzn avatar moudgils avatar santorac avatar selfisholex avatar sergeyamzn avatar spham-amzn avatar srikappa-amzn avatar tjmichaels avatar

Watchers

 avatar

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.