sand3d-nature / README.md
Thibault-SF's picture
card: provenance wording, drop removal section
740f8e5 verified
|
Raw History Blame Contribute Delete
5.52 kB
metadata
pretty_name: Sand3D Nature
license: cc-by-4.0
task_categories:
  - text-to-3d
  - image-to-3d
tags:
  - 3d
  - code
  - openusd
  - organic-shapes
  - procedural-generation
  - program-synthesis
  - sand3d
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/nature/train-*.parquet
      - split: validation
        path: data/nature/validation-*.parquet

A scene of 3D assets from Sand3D Nature

Sand3D Nature

Sand3D Nature contains 10,057 organic 3D assets written as Python programs with sand3d. It covers plants, trees, rocks, ground patches, corals, fungi and simple animals. Each asset includes the original text prompt, the program, a render and a triangulated OpenUSD file. Open the .usda file on the Hub to inspect the asset in 3D.

Nature joins the five Sand3D datasets released on November 5, 2026, which contain 106,094 objects. Browse the Sand3D collection or open the Sand3D Explorer.

What a row holds

data/nature/ contains the train and validation Parquet shards, with one row per asset. File paths are relative to the dataset repository.

Column Contents
id, asset_id Public row ID and asset reference
prompt Text prompt used to generate the asset
domain, family, subject, style Taxonomy labels and requested visual style
split train or val
program, entry Python source and the function that builds the asset, if present
usda_path OpenUSD file under usda/
render, cycles_path Embedded PNG render and optional external 512 px WebP under cycles/
semantic_score A semantic score from an automatic visual review, between 0 and 1
triangles Triangle count recorded for the generated asset
n_joints, f_score Compatibility fields. Joint count is zero and source reconstruction score is empty
source, source_group Dataset grouping labels
license, source_license, attribution, license_status Licence metadata. The source licence and source attribution fields are empty
sand3d_version Library release version
usda_bytes Size of the OpenUSD file in bytes
program_sha256, usda_sha256 SHA-256 digests of the program and OpenUSD file

Read the data without Blender

Install the data readers.

python -m pip install datasets huggingface_hub

Load the training and validation splits by name.

from datasets import load_dataset
from huggingface_hub import hf_hub_download

repo = "Sandflow/sand3d-nature"
records = load_dataset(repo)
train, validation = records["train"], records["validation"]
example = next(row for row in train if row["entry"])
program = example["program"]
print(example["prompt"])
print(program)

usda_path = hf_hub_download(repo, example["usda_path"], repo_type="dataset")

Rebuild an object with sand3d 1.7.0

Use Python 3.11 on a platform with Blender's bpy wheel. Installing sand3d pulls in the compatible bpy dependency. NumPy is used by the example program.

python -m pip install "sand3d==1.7.0" numpy

Inspect the program above before running it. Start with an empty Blender scene and call its entry function.

import bpy
import sand3d as s3d

bpy.ops.wm.read_factory_settings(use_empty=True)
namespace = {}
exec(compile(program, "<sand3d-nature>", "exec"), namespace)
root = namespace[example["entry"]]()
s3d.export(root, "object.usda")

Splits and taxonomy

Split Assets
Train (train) 9,533
Validation (validation) 524
Total 10,057

All rows with the same subject are assigned to the same split. Validation holds out subjects, including their prompt and style variants.

The dataset spans 21 domains, 200 families and 5,095 subjects. Domains are broad groupings, families group related forms and subjects name the requested object. For example, a limpet shell belongs to the inert-animal-products domain and the spiral-shells family. style records a separate attribute such as stylized.

How the programs were written

The programs come from Sandflow's iterative agentic reconstruction pipeline, described in upcoming releases. Each asset starts from a text prompt and carries a semantic_score from an automatic visual review of its render against that prompt.

Limitations

  • The assets are static. They contain no joints, rigging or kinematics.
  • The published OpenUSD meshes are triangulated.
  • A small subset of programs imports scipy.spatial or scipy.interpolate. Install scipy when a program imports it.
  • Prompts and visual scores describe appearance. The dataset supplies no measurements of biological or physical accuracy.

Licence

The programs, renders and OpenUSD files are released under CC BY 4.0. Credit Sandflow when reusing these files. The assets start from text prompts, not from third-party objects, so source_license and attribution are empty. The sand3d library is released separately under Apache-2.0.

Citation

@misc{sand3d2026,
  author = {Neveu, Thibault and Loy, Andr{\'e}a},
  title  = {sand3d},
  year   = {2026},
  note   = {Version 1.7.0},
  url    = {https://github.com/Sandflow-ai/sand3d}
}