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.
The workspace contains these packages:
- procgen_peg_in_hole: Procedural pipelines for generating peg-in-hole modules for drl_omni_peg
Tip
You can install Rust and Cargo through your package manager or via https://rustup.rs.
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
To build a new Docker image from Dockerfile
, you can run .docker/build.bash
as shown below.
.docker/build.bash ${TAG:-latest} ${BUILD_ARGS}
To run the Docker container, you can use .docker/run.bash
as shown below.
.docker/run.bash ${TAG:-latest} ${CMD}
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
To join a running Docker container from another terminal, you can use .docker/join.bash
as shown below.
.docker/join.bash ${CMD:-bash}
This project is dual-licensed to be compatible with the Rust project, under either the MIT or Apache 2.0 licenses.