Git Product home page Git Product logo

dust's Introduction

Dust Engine

The Dust Engine tries to become a powerful tool for creating immersive voxel-based games with stunning graphics.

We are built on top of the awesome Bevy Engine.

Please note that this engine is currently under development and is not ready for production use. However, we encourage you to explore and experiment with it.

Features

  • Voxel-based worlds: The engine provides the infrastructure to create and manipulate voxel-based worlds. Voxel data can be efficiently stored and rendered to create immersive game environments.
  • Vulkan hardware raytracing: The Voxel Game Engine leverages the power of Vulkan hardware raytracing to achieve stunning visual effects.
  • Future-based render graphs: The rhyolite library offers a simple async-like interface for GPU syncronization and resource lifetime management. The rendering pipeline is designed to be highly customizable.

Requirements

Nightly Rust compiler

Compatible graphics card

Your graphics card must have Vulkan 1.3 and hardware raytracing support. Please ensure that your hardware supports the required Vulkan extensions (VK_KHR_ray_tracing_pipeline, VK_KHR_acceleration_structure). That includes the following devices:

  • NVIDIA GTX1060 and above
  • AMD RX6600 and above
  • Intel Arc A380 and above
  • AMD RDNA2+ integrated graphics. That includes all Ryzen 6000 series laptop CPUs, all Ryzen 7000 series laptop CPUs except 7030 series, and potentially Steam Deck, PS5 and Xbox.

Compatible operating system.

The engine currently supports Windows only.

Linux support is possible but untested. If you run into any problems, please let us know on our Discord Server.

macOS support is possible in the future through MoltenVK.

How to run

First, download and install the Vulkan SDK.

Before cloning the the repository, ensure that you have Git LFS installed. If you cloned the repository without Git LFS, manually pull the LFS files:

git lfs fetch

Next, compile the example shaders. This shouldn't be needed once Bevy completes their asset system overhaul and added asset preprocessing capabilities.

cd assets
./compile.sh
# or
./compile.bat

Finally, compile and run the castle example.

cd ..
cargo run --release --example castle

What if this doesn't work

If you encounter any issues while running this program, we highly encourage you to enable the sentry feature when compiling the program. Sentry helps us identify and debug issues by providing detailed crash reports.

If you are experiencing a DEVICE_LOST error while using an NVIDIA GPU, we recommend enabling NVIDIA Aftermath to help us diagnose the issue. NVIDIA Aftermath provides additional information about GPU crashes and can assist in debugging.

cargo run --release --example castle --features sentry

# For DEVICE_LOST crashes on NVIDIA GPUs, you may also send NVIDIA Aftermath Crash Reports
cargo run --release --example castle --features sentry --features aftermath

Contributing

The Dust Engine is still in very early stages of development, and we welcome and appreciate contributions of any kind. Your input, ideas, and expertise can make a real difference in the development of this project. If you encounter any issues, have suggestions, or would like to contribute, feel free to join our Discord server.

License

The Voxel Game Engine is released under the MPL-2.0 License. Please review the license file for more details.

dust's People

Contributors

neo-zhixing avatar aka-devoid 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.