Canonical URL: https://sunfield.dev/blog/gltf-to-cycles-agx-product-packshots
Published: 2026-12-05 | Category: Product CGI | Reading time: 5 min
Hero Render: https://sunfield.dev/blog/packshot-chair-og.jpg

# Turning one glTF into six Cycles AgX packshots for $0.022

In short: we took one external `SheenChair.glb` file (`4.13 MB`), grounded it to `Z=0`, forked three fabric and lighting variants, checked for clipping in EEVEE, and rendered six Cycles OptiX `AgX` frames on Blender 4.5.0 LTS for **$0.022 total** (`55.10 GPU-s` on an RTX 3090).

## Why 2D diffusion fails on catalogues

If you sell physical products (eg, furniture or hardware), the pixels have to match the CAD. Diffusion models cannot hold that invariant across views. Ask for a rear three-quarter angle and the stitch count drifts or engraved type melts.

Path-tracing preserves geometry by construction: the renderer starts from the mesh instead of guessing what it looks like from another angle. Blender 4.5 with Cycles OptiX and `AgX` already produces clean product renders. Most teams stall on automation – running 20 colourways deterministically without someone babysitting a desktop GUI.

## What we ran and what it cost

We uploaded Khronos's public `SheenChair.glb` to a clean session (`1.24 s`), staged three CC0 studio HDRIs plus an oak veneer floor (`72 ms`), and built a curved plinth (`205 ms`).

Before spending Cycles time, we ran a multi-view check to confirm `z_min = 0 mm` with zero collisions or floating parts. From that base scene we forked two child sessions (`949 ms` and `935 ms`) to swap fabric shaders, wood stain, rim lights, and camera angles independently.

| Variant and view | Resolution and samples | Wall time | Cycles GPU-s | Cost |
| :--- | :--- | ---: | ---: | ---: |
| Variant A: terracotta velvet and walnut (3/4 hero) | `1280x960 @ 128 spp` | `12.11 s` | `11.75 s` | `$0.0047` |
| Variant A: terracotta velvet (16:9 OG crop) | `1200x630 @ 128 spp` | `8.45 s` | `8.16 s` | `$0.0033` |
| Variant B: emerald velvet and brass rim | `1280x960 @ 128 spp` | `9.92 s` | `9.56 s` | `$0.0038` |
| Variant C: slate charcoal high-key packshot | `1280x960 @ 128 spp` | `9.61 s` | `9.24 s` | `$0.0037` |
| Variant C: side profile | `1280x960 @ 96 spp` | `8.46 s` | `8.12 s` | `$0.0032` |
| Variant C: upholstery macro (`f/3.2`) | `1280x960 @ 96 spp` | `8.62 s` | `8.28 s` | `$0.0033` |
| **Total (6 renders across 3 variants)** | **Cycles OptiX AgX** | **`57.17 s`** | **`55.10 s`** | **`$0.0220`** |

Back of the envelope: at `$0.0037` per `1280x960` packshot, rendering 5 angles across 100 SKUs (500 frames) lands around `$1.85` in Cycles compute.

## Small Blender details that matter more than sample count

Most automated Blender scripts look synthetic even at 512 samples because they skip four basic setup steps.

**Ground from evaluated bounds, not the origin.** Upstream `.glb` exporters routinely leave parent empties offset from the mesh. Walk every mesh's `bound_box` through `obj.matrix_world`, take the global `min_z`, and shift root objects by `-min_z` – otherwise the chair hovers 4 mm above the plinth or sinks into it.

**Switch to `AgX`.** Standard sRGB clips saturated fabrics and metallic edges to flat white under studio softboxes. Setting `view_transform` to `AgX` (`AgX - Medium High Contrast`) keeps highlight rolloff clean without compositor workarounds.

**Drop the default 35 mm camera.** Wide lenses distort furniture and small products so they look like viewport grabs. Moving to `85 mm` at `f/2.8`, focused on the front cushion edge, does more for realism than doubling sample count.

**Check framing in EEVEE first.** A `512x512` preview runs in well under a second and catches clipped edges or poor screen fill (we target `39%` to `48%`) before starting Cycles.

## Runnable script (`uv run`)

```python
# /// script
# dependencies = ["sunfield>=0.1.1"]
# ///
import pathlib
from sunfield import Sunfield

glb_bytes = pathlib.Path("SheenChair.glb").read_bytes()

with Sunfield() as sf:
    with sf.session("empty") as base:
        uploaded = base.upload_file("SheenChair.glb", glb_bytes)
        base.stage_assets(["hdri.photo_studio_loft_hall", "material.oak_veneer_01"])
        base.exec(f'''
import bpy, mathutils
bpy.ops.import_scene.gltf(filepath={uploaded.worker_path!r})
meshes = [o for o in bpy.context.scene.objects if o.type == "MESH"]
min_z = min((o.matrix_world @ mathutils.Vector(c)).z for o in meshes for c in o.bound_box)
for o in bpy.context.scene.objects:
    if o.parent is None:
        o.location.z -= min_z
bpy.context.scene.view_settings.view_transform = "AgX"
bpy.context.scene.view_settings.look = "AgX - Medium High Contrast"
''')
        check = base.inspect(views=["camera", "iso_3q"], passes=["rgb", "normals"])
        assert not check.spatial["floating_objects"]
        job = base.render(samples=128, resolution=(1280, 960), max_cost_usd=0.05)
        print(f"Rendered in {job.actual_gpu_s:.2f} GPU-s (${job.actual_cost_usd:.4f})")
```

## When not to use this

If an art director is still sculpting meshes, tweaking UVs, or hand-painting look-dev for one hero campaign shot, do that in desktop Blender. Headless APIs are for the boring, repeatable part – generating 50 lighting or fabric permutations once the geometry exists.

Two current limits: session uploads cap at `500 MiB` (pack 2K or 4K JPEG/WebP textures rather than raw 16-bit TIFFs), and the worker runs Blender `4.5.0 LTS`, so older Blender 3.x material scripts need a small shim for renamed `Principled BSDF` sockets.
---

Sign in or connect Remote MCP (`https://sunfield.dev/mcp`) at https://sunfield.dev/login. All posts: https://sunfield.dev/blog
