Skip to content

Procedural generation pipelines in Blender

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

AndrejOrsula/blr_procgen

Repository files navigation

blr_procgen

Rust Docker deps.rs codecov.io

This repository contains pipelines for procedural generation of assets via Blender's Geometry Nodes. The generation pipelines are implemented in Rust via blr while leveraging NodeToPython to automate the construction of nodes from Python.

Overview

The workspace contains these packages:

Instructions

Rust

Tip

You can install Rust and Cargo through your package manager or via https://rustup.rs.

Generation of Procedural Peg-in-Hole Modules

The train and test sets can be generated via generate_peg_in_hole_train.rs and generate_peg_in_hole_test.rs, respectively.

# Generate train set
cargo run --release --bin generate_peg_in_hole_train
# Generate test set
cargo run --release --bin generate_peg_in_hole_test

Build Image

To build a new Docker image from Dockerfile, you can run .docker/build.bash as shown below.

.docker/build.bash ${TAG:-latest} ${BUILD_ARGS}

Run Container

To run the Docker container, you can use .docker/run.bash as shown below.

.docker/run.bash ${TAG:-latest} ${CMD}

Run Dev Container

To run the Docker container in a development mode (source code mounted as a volume), you can use .docker/dev.bash as shown below.

.docker/dev.bash ${TAG:-latest} ${CMD}

As an alternative, users familiar with Dev Containers can modify the included .devcontainer/devcontainer.json to their needs. For convenience, .devcontainer/open.bash script is available to open this repository as a Dev Container in VS Code.

.devcontainer/open.bash

Join Container

To join a running Docker container from another terminal, you can use .docker/join.bash as shown below.

.docker/join.bash ${CMD:-bash}

License

This project is dual-licensed to be compatible with the Rust project, under either the MIT or Apache 2.0 licenses.

About

Procedural generation pipelines in Blender

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published