Vol. 1 · No. 338Blender 3.6 / 4.2 / 4.5 / 5.0 / 5.2 / 5.3Cycles · EEVEE
JANCTION
Render · Blender on RTX PRO 6000 · Tokyo
0.1 JPYper GPU-secondFirst 100 JPYfree, no card

Case No. 16  Materials

A gold ring with a cut stone

Metallic gold, a high-IOR glass stone and dark velvet, shot at f/2.8.

● Materials · CyclesRTX PRO 6000 · Tokyo
Jewelry: a gold ring with a stone, macro depth of field
Cycles1920 × 1080Samples 128PNG still
Fig. — Jewelry: a gold ring with a stone, macro depth of field. A real render from the production GPU.
The short answer

This jewellery still of a gold ring with a cut stone on dark velvet was rendered on a JANCTION GPU with macro depth of field at f/2.8. Gold is a metallic Principled material and the stone is glass with an IOR of 2.4. It took 6.1 GPU seconds on the production GPU, 0.6 JPY at 0.1 JPY per GPU-second.

What is in the frame

A polished gold band holding a faceted stone, close to the lens, with the velvet falling out of focus behind it. Jewellery is one of the hardest product categories because metal and gems show every flaw in the lighting.

How the scene is built

The band is a torus with a metallic material at low roughness. The stone is a glass material with an IOR of 2.4, close to diamond, which is what makes it sparkle. The camera sits close at f/2.8.

Adapt it

Change the metal colour for white or rose gold, or the stone colour. Caustics and refraction benefit from path tracing, so keep this one on Cycles.

0.6 JPY for this render. The free welcome credit of a new key covers about 163 of them, with no card.

Render this example with your AI

ChatGPT · Claude · Grok · Perplexity

Use JANCTION Render (MCP server https://render.janction.jp/mcp) to render this example: render_preview(scene_url="https://render.janction.jp/samples/ex16_jewelry_ring.py"). Then suggest how to change the colors, shapes and camera for my own subject. Ask me before the final render.

Each link opens the app with the text below filled in (if it is not, copy and paste it). If JANCTION Render is not connected in that app yet, add https://render.janction.jp/mcp as a connector first.

Blender warnings

  • environment preset 'studio' replaced the scene's world (HDRI lighting)

The script (bpy, runs as is)

ex16_jewelry_ring.py. It builds the scene, the camera and the frame range; resolution, samples, denoising and the GPU are set by the service.

"""JANCTION Render example 16: a gold ring with a cut stone on dark velvet, macro depth of field (one still).

Reproduce: render_final(scene_url="https://render.janction.jp/samples/ex16_jewelry_ring.py",
                        width=1920, height=1080, samples=128, environment="studio")
Gold is a metallic Principled material; the stone is a glass material with a high IOR; the camera is at f/2.8.
"""
import math
import random

import bpy
from mathutils import Vector

for ob in list(bpy.data.objects):
    bpy.data.objects.remove(ob, do_unlink=True)
scene = bpy.context.scene
scene.frame_start = 1
scene.frame_end = 1
scene.render.fps = 24
random.seed(16)


def material(name, color, roughness=0.5, metallic=0.0, **inputs):
    mat = bpy.data.materials.new(name)
    mat.use_nodes = True
    bsdf = mat.node_tree.nodes["Principled BSDF"]
    bsdf.inputs["Base Color"].default_value = (*color, 1.0)
    bsdf.inputs["Roughness"].default_value = roughness
    bsdf.inputs["Metallic"].default_value = metallic
    for key, value in inputs.items():
        bsdf.inputs[key].default_value = value
    return mat


def smooth(ob):
    for p in ob.data.polygons:
        p.use_smooth = True
    return ob


def add(op, name, mat=None, **kw):
    getattr(bpy.ops.mesh, op)(**kw)
    ob = bpy.context.object
    ob.name = name
    if mat is not None:
        ob.data.materials.append(mat)
    return ob


def text(body, name, mat, location, size=1.0, extrude=0.02, rotation=(math.pi / 2, 0, 0), align="CENTER"):
    cu = bpy.data.curves.new(name, type="FONT")
    cu.body = body
    cu.size = size
    cu.extrude = extrude
    cu.align_x = align
    ob = bpy.data.objects.new(name, cu)
    scene.collection.objects.link(ob)
    ob.location = location
    ob.rotation_euler = rotation
    ob.data.materials.append(mat)
    return ob


def look_at(ob, target):
    ob.rotation_euler = (Vector(target) - ob.location).to_track_quat("-Z", "Y").to_euler()


def camera(location, target, lens=50.0, name="Camera", active=True, fstop=None, focus=None):
    data = bpy.data.cameras.new(name)
    data.lens = lens
    if fstop is not None:
        data.dof.use_dof = True
        data.dof.aperture_fstop = fstop
        data.dof.focus_distance = focus if focus is not None else (Vector(target) - Vector(location)).length
    cam = bpy.data.objects.new(name, data)
    scene.collection.objects.link(cam)
    cam.location = location
    look_at(cam, target)
    if active:
        scene.camera = cam
    return cam


def light(name, kind, location, energy, target=None, size=1.0, color=(1.0, 1.0, 1.0)):
    data = bpy.data.lights.new(name, kind)
    data.energy = energy
    data.color = color
    if kind == "AREA":
        data.size = size
    ob = bpy.data.objects.new(name, data)
    scene.collection.objects.link(ob)
    ob.location = location
    if target is not None:
        look_at(ob, target)
    return ob


def world(color=(0.02, 0.02, 0.03), strength=1.0):
    w = bpy.data.worlds.new("World")
    w.use_nodes = True
    bg = w.node_tree.nodes["Background"]
    bg.inputs[0].default_value = (*color, 1.0)
    bg.inputs[1].default_value = strength
    scene.world = w
    return w

gold = material("Gold", (1.0, 0.78, 0.35), roughness=0.14, metallic=1.0)
stone = material("Stone", (0.75, 0.85, 1.0), roughness=0.02, **{"Transmission Weight": 1.0, "IOR": 2.4})
velvet = material("Velvet", (0.12, 0.05, 0.09), roughness=0.95)
add("primitive_plane_add", "Velvet", velvet, size=12)
band = add("primitive_torus_add", "Band", gold, major_radius=0.9, minor_radius=0.11, major_segments=128, minor_segments=32,
           location=(0, 0, 0.9))
band.rotation_euler = (math.pi / 2, 0, 0.35)
smooth(band)
head = add("primitive_cylinder_add", "Head", gold, radius=0.24, depth=0.18, location=(0, 0, 1.93), vertices=48)
smooth(head)
gem = add("primitive_ico_sphere_add", "Gem", stone, radius=0.2, subdivisions=1, location=(0, 0, 2.1))
gem.rotation_euler = (0.2, 0.1, 0.4)
for a in (0.0, math.pi / 2, math.pi, 3 * math.pi / 2):
    prong = add("primitive_cylinder_add", "Prong", gold, radius=0.025, depth=0.26, location=(0.19 * math.cos(a), 0.19 * math.sin(a), 2.08), vertices=12)
    smooth(prong)
light("Key", "AREA", (1.5, -1.5, 2.8), 120, target=(0, 0, 1.9), size=1.2)
light("Spec", "AREA", (-1.2, 1.0, 2.6), 80, target=(0, 0, 2.0), size=0.4)
camera((0.0, -3.6, 2.2), (0.0, 0.0, 1.9), lens=100, fstop=2.8, focus=3.6)

Questions about this case

How do I render jewellery in Blender?

Use a metallic Principled material at low roughness for the metal and a glass material with a high IOR (around 2.4) for the stone, then light with a studio HDRI.

Which GPU does JANCTION Render use?

Measurements were taken on an NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition (96 GB).

More from the Journal