Skip to content

Commit f1bf85f

Browse files
authored
Merge pull request #5 from Danyals-code/standardize-panel-and-orient-products
Expand render pipeline, outputs, lighting, import and pre-flight (1.9.0)
2 parents 8e3be42 + 964af1d commit f1bf85f

27 files changed

Lines changed: 11557 additions & 367 deletions

‎.github/workflows/tests.yml‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-24.04
11+
timeout-minutes: 90
12+
env:
13+
# The version the suite is written against. Bump deliberately: Blender
14+
# changes its Python API between releases.
15+
BLENDER_VERSION: "5.0.0"
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Cache Blender
20+
id: cache-blender
21+
uses: actions/cache@v4
22+
with:
23+
path: blender
24+
key: blender-${{ env.BLENDER_VERSION }}-linux-x64
25+
26+
- name: Download Blender
27+
if: steps.cache-blender.outputs.cache-hit != 'true'
28+
run: |
29+
series="${BLENDER_VERSION%.*}"
30+
curl -fsSL -o blender.tar.xz \
31+
"https://download.blender.org/release/Blender${series}/blender-${BLENDER_VERSION}-linux-x64.tar.xz"
32+
mkdir blender
33+
tar -xf blender.tar.xz -C blender --strip-components=1
34+
35+
- name: Install system libraries
36+
# Blender's Workbench and Cycles renders run headless through EGL;
37+
# Mesa supplies a software GL on a runner without a GPU.
38+
run: |
39+
sudo apt-get update
40+
sudo apt-get install -y --no-install-recommends \
41+
libegl1 libgl1 libglx-mesa0 libgl1-mesa-dri libxi6 libxxf86vm1 \
42+
libxfixes3 libxrender1 libxkbcommon0 libsm6 libice6
43+
44+
- name: Run tests
45+
run: python3 tests/run_tests.py --blender blender/blender

‎CITATION.cff‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
cff-version: 1.2.0
2+
message: "If you use MultiView Product Renderer in your research, please cite it as below."
3+
title: "MultiView Product Renderer"
4+
type: software
5+
authors:
6+
- given-names: Danyal
7+
family-names: Sarfraz
8+
version: 1.11.0
9+
license: MIT
10+
repository-code: "https://github.com/Danyals-code/Addon-for-MultiView-Rendering-AMVR"
11+
abstract: >-
12+
A Blender add-on that turns CAD (STEP, IGES) and mesh files into standardized
13+
multi-view image sets and datasets: canonical camera rigs or published
14+
protocols, studio lighting, clay, line-art, depth, normal and part-ID passes,
15+
camera poses, COCO and BOP annotations, vector engineering drawings, seeded
16+
randomization, and a provenance manifest with Croissant metadata.
17+
keywords:
18+
- Blender
19+
- CAD
20+
- STEP
21+
- multi-view rendering
22+
- synthetic data
23+
- dataset generation
24+
- engineering drawings

‎README.md‎

Lines changed: 590 additions & 40 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)