Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Tests

on:
push:
pull_request:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-24.04
timeout-minutes: 90
env:
# The version the suite is written against. Bump deliberately: Blender
# changes its Python API between releases.
BLENDER_VERSION: "5.0.0"
steps:
- uses: actions/checkout@v4

- name: Cache Blender
id: cache-blender
uses: actions/cache@v4
with:
path: blender
key: blender-${{ env.BLENDER_VERSION }}-linux-x64

- name: Download Blender
if: steps.cache-blender.outputs.cache-hit != 'true'
run: |
series="${BLENDER_VERSION%.*}"
curl -fsSL -o blender.tar.xz \
"https://download.blender.org/release/Blender${series}/blender-${BLENDER_VERSION}-linux-x64.tar.xz"
mkdir blender
tar -xf blender.tar.xz -C blender --strip-components=1

- name: Install system libraries
# Blender's Workbench and Cycles renders run headless through EGL;
# Mesa supplies a software GL on a runner without a GPU.
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libegl1 libgl1 libglx-mesa0 libgl1-mesa-dri libxi6 libxxf86vm1 \
libxfixes3 libxrender1 libxkbcommon0 libsm6 libice6

- name: Run tests
run: python3 tests/run_tests.py --blender blender/blender
24 changes: 24 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
cff-version: 1.2.0
message: "If you use MultiView Product Renderer in your research, please cite it as below."
title: "MultiView Product Renderer"
type: software
authors:
- given-names: Danyal
family-names: Sarfraz
version: 1.11.0
license: MIT
repository-code: "https://github.com/Danyals-code/Addon-for-MultiView-Rendering-AMVR"
abstract: >-
A Blender add-on that turns CAD (STEP, IGES) and mesh files into standardized
multi-view image sets and datasets: canonical camera rigs or published
protocols, studio lighting, clay, line-art, depth, normal and part-ID passes,
camera poses, COCO and BOP annotations, vector engineering drawings, seeded
randomization, and a provenance manifest with Croissant metadata.
keywords:
- Blender
- CAD
- STEP
- multi-view rendering
- synthetic data
- dataset generation
- engineering drawings
630 changes: 590 additions & 40 deletions README.md

Large diffs are not rendered by default.

Loading
Loading