GithubHelp home page GithubHelp logo

aejsmith / orion Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 65.31 MB

Hobby game engine project (discontinued)

Home Page: http://alex-smith.me.uk/projects/orion/

Python 1.53% GLSL 2.07% C 1.02% C++ 95.24% HTML 0.15%
game-engine opengl vulkan

orion's Introduction

Orion

Orion is a hobby 3D game engine project. It currently supports Linux and Windows (64-bit).

License

Orion is licensed under the ISC license, see license.txt for details.

Prerequisites

Linux

You must also install the following requirements (including their development packages):

  • SCons
  • LLVM/clang
  • SDL (2.x)
  • freetype2
  • Bullet (2.x)
  • GLEW (when building GL support)
  • Vulkan SDK (when building Vulkan support)

Windows

Building on Windows requires Visual Studio and SCons to be installed. All other library dependencies are pre-built and included in the repository. SCons needs to be added to your PATH.

Currently, SCons (2.5.1) does not properly support VS2017. However, it works if you run "vcvarsall.bat x64" from the Visual Studio developer command prompt.

To build Vulkan support, the LunarG Vulkan SDK must be installed.

Building

After cloning the repository you first need to clone submodules containing some external libraries:

$ git submodule update --init

You can then build by running SCons:

$ scons

And finally run the test game (Cubes) with:

$ build/release/cubes

A number of options can be passed to SCons to configure the build, which will be saved until the next time they are specified. The following options are supported:

  • APP: Selects the application to build, look in the apps directory for what's available. Defaults to cubes (the test game).
  • BUILD: Either debug or release. The built program will be in build/$BUILD. Debug builds disable optimisation and include many more checks.
  • GPU_API: Either gl or vulkan. Selects the GPU backend to use.

Example:

$ scons BUILD=debug GPU_API=vulkan

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.