Giter Site home page Giter Site logo

heyallnorahere / basic-voxel-engine Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 2.0 1.66 MB

A Minecraft-like voxel engine, written in C++.

License: Apache License 2.0

CMake 1.43% C++ 85.03% GLSL 1.11% C# 11.55% Python 0.87%
cpp cpp17 voxel-engine voxel-game voxel-terrain cmake opengl imgui vulkan opengl46

basic-voxel-engine's Introduction

basic-voxel-engine Build status Total alerts Language grade: C/C++

A Minecraft-like voxel engine, written in C++. To use the library on its own without the application, include this repository as a submodule in your project, add it to your build via CMake's add_subdirectory(), and link against the basic-voxel-engine target.

Project Structure

  • src: core C++ BVE code and assets
  • BasicVoxelEngine: core C# scripting library
  • BasicVoxelEngine.Content: C# BVE content (blocks, etc.)
  • vendor: submodule dependencies

Dependencies

Submodule dependencies can be synced by running git submodule update --init --recursive. The following projects, however, need to be installed manually:

* On Arch Linux, the mono package is outdated. Install mono-git from the AUR and mono-msbuild from the Community repository instead.

Installing Vulkan

On Windows, MacOS X, and Ubuntu, run this Python script to install Vulkan. Otherwise, install Vulkan from here.

Building

This project uses CMake. To configure, run:

cd path/to/repo/basic-voxel-engine
cmake . -B build $(python3 scripts/cmake_options.py)

To change the graphics API in use, tack on a definition for BVE_GRAPHICS_API with the value being your preferred graphics API. Please do note that OpenGL is generally considered deprecated, and because of this, textures don't exactly work. If you absolutely need to use OpenGL, open an issue and I will work on it.

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.