# Dice Studio 2.0 · Blender Open **Dice-Studio.blend** in Blender 5.2.3 LTS. Save a working copy. Press F12 to render the blue-green D20 on leather. Everything needed for editing and rendering lives in the blend. The fonts and scripts support optional rebuilding. Read NOTICES.md for pending redistribution terms. ## A five-minute exercise 1. In **01 Studio**, select **Studio D20**. Open the wrench tab. Expand **Dice controls**. In **Body** choose **Lagoon | solid** for a faster opaque preview. Keep **Cream | paint** in **Mark**. Use Cycles Rendered view to judge finishes. Solid view uses simple colors. 2. Move **Fill fraction** from .27 to .82 and watch the paint rise inside each recess. Try **Serif**, then **Raised**. Only the relief height applies when raised. 3. For a layered casting, restore the engraved setting and choose **Estuary | cast resin**. In Object Properties → Relations, change **Pass Index** from 5 to 12. The internal streams move while the lettering holds its place. Return to 5 to recover the original. This also changes the index used by an object-index render pass. 4. Try **Orchid | silver fleck**. Expand **Suspended foil**, enable **Glitter** and choose **Silver | flake** in Foil. Compare 300 and 3,000 particles at .16 mm. Disable glitter when switching to opaque plastic. 5. Choose **02 Seven examples** in the top scene menu. Select **D6** and clear **Pips** to get digits. Try **Kiln | enamel**, **Brass | satin**, **Serif** and **Raised** together. This gives raised metal over a coated body. The generator has a single exterior face profile. 6. Duplicate a form with Shift+D and move the copy sideways. Choose another Pass Index and Particle seed. Save the scene. To reuse a form in a new file, use File → Append → Dice-Studio.blend → Collection → **Form | D6** or another form. Keep hidden sources linked and hidden. ## What the controls measure One Blender unit represents one millimetre. Scene unit scale is .001. D20 spans 20 mm between opposite face planes. D6 spans 16 mm. The two scenes share their geometry helpers and materials. Keep the modifier order and base mesh when duplicating. | Control | Range and effect | | --- | --- | | Edge radius, first modifier | Blender Bevel offset along adjacent faces, usually .55 mm with six segments. The corners follow it. Check face clearance after larger edits. | | Proxy only | Rounded body before letters, paint and flakes. Use it as a convex collision starting point for engraved forms. | | Pips | D6 only. Toggles 21 pips or six numbers. | | Serif | Liberation Serif Bold on, Quicksand Bold off. Applies to digits. | | Mark size | .83–1.06 times the original footprint about each anchor. Pip centers stay fixed. | | Raised and Relief mm | Union solid lettering with the body, .08–.36 mm above the face. This can change tabletop contact and requires a suitable collision shape. | | Cut mm | Engraved cavity floor depth, .23–.44 mm. | | Fill fraction | .18–.82 of cut depth. Recess equals cut × (1 − fraction). At .36 and .5 the paint sits .18 mm below the face. | | Size factor | .45–2.0. Scales everything after construction. Earlier millimetre controls describe the unscaled form. | | Body and Mark | Choose an actual output material in each selector. | | Glitter | Adds real hexagonal metallic flakes. Proxy mode bypasses them. | | Flake count | 1–4,000. Higher counts take more memory. | | Flake mm | Maximum diameter .035–.22 mm. Individual diameters vary from 48% to 100% of this. | | Particle seed | 0–4,095. Changes selected positions and rotations. | | Foil | Material on flakes. Recolor without moving them. | | Source meshes | Advanced links to baked outlines and the form's interior point bank. Keep assigned. | | Object Pass Index | 0–32,767. Shifts local coordinates in the second-edition materials. Legacy Tide and Garnet swirls use normalized generated coordinates. | After resizing, rotating or changing relief, place the lowest evaluated vertex on the table. For an unchanged resting pose at original height h, multiply h by Size factor. Appending into a metre-unit scene requires matching object scale (.001), light distances, depth of field and absorption. In the supplied studio the camera uses an aperture value of .016 to account for the millimetre coordinate convention in Cycles. ## Editing a look In Material Properties or the Shader Editor, pick the material by name. To isolate an edit, make a single-user copy, name it, edit it and select that exact copy in **Dice controls**. The modifier controls the evaluated assignments. Changing a slot alone may leave the output unchanged. - **Lagoon**, **Porcelain**, **Iron** and **Brass** use Principled Base Color and Metallic. **Kiln** takes its blue-green from Enamel colors and uses a glossy coat. **Shell** combines folded color with varying thin-film thickness and a clear coat. - **Cream**, **Ink** and **Honey** take their bright and shadow colors from Paint at the shoulder. Local ambient occlusion darkens corners where the paint sits below a wall. This is an artistic contact treatment. - **Surface wear** adds a patch mask to roughness. In this Multiply Add node, the second input sets wear strength and the last sets baseline roughness. Surface grain controls bump. Polishing direction stretches the abrasion texture. Polished marking edges uses Cycles Bevel shading on top of real profile loops. For faster previews disconnect that node from Surface grain → Normal. A preview engine can omit this effect. - **Amber** and **Orchid** use transmission with volume absorption. Change Tint through depth for the color and density. Deeper paths absorb more light. Transparent bodies can reveal the undersides of paint. - **Estuary** uses 3D Pigment flow noise. Change Resin tint for the transmitting surface, Internal pigment for scatter color, Filament density for the internal bands and Deep sea glass for absorption. Adjust Pour direction to stretch the flow. Matching the ramp positions keeps the tint and dense streaks aligned. This optical treatment costs more samples than solid plastic. Raise samples for moving glitter or volumes and inspect the raw render before denoising. - **Tide** and **Garnet** provide the original lower-cost surface swirls. Adjust Pigment colors and Swirl spacing. ## Read and rebuild the geometry A cube makes the approach visible. Each face has a center, a direction to the right, a direction up the printed number and an outward normal. Put the number in a flat sketch. Moving a sketch point x across and y up the face produces center + x × right + y × up. A depth along the normal turns that sketch into a cutter. The same calculation works on a triangular face. In Geometry Nodes, follow the source switch to **Dice | Place cap and floor**. Each helper point carries anchor, outline, inward miter, normal (axis), cap and flare. Reconstruct a point as anchor + size × outline + (inset + flare × lip) × miter + axis × mix(bottom, top, cap) The four section loops use cap values 0, .76, .90 and 1 with flare 0, 0, .19 and 1. A negative lip opens the cutter mouth. A positive lip eases the paint crown or raised edge inward. Short outline edges limit miter travel to protect small serifs. The cutter runs from −cut to +.012 mm with a −.056 mm lip. The separate paint starts .009 above the floor with nominal .009 side clearance and a .018 lip. Raised solids start at −.055 mm and use .028 lip. Inspect Difference, Join Geometry and Union. The last switches select embedded foil, the proxy and final scale. Small gaps keep paint and walls from sharing coincident faces. The foil subgroup instances thin closed hexagons at a seeded selection from 4,096 interior candidates per shape. The builder rejects centers closer than .74 mm to an ideal plane or .245 mm to another center. This leaves room for the tested engravings and foil radii. Extreme custom bevels or changed source geometry require fresh checks. The final graph realizes the instances for mesh export. Read numbering from the original ideal mesh. Booleans change topology. Each face carries face_value and D4 points carry apex_value. The frames_y_up object property retains the source table. The builder rotates (x,y,z) to (x,−z,y) to preserve handedness. - D4 uses the tip shared by three matching labels. Each supporting face records its opposite apex. - D6, D8, D12 and D20 use the upper face. A dot below a single 6 or 9 marks the baseline. - The two ten-sided forms use kites. Read a single zero as ten or as zero units in a pair. Tens reads 00 through 90. Together 00 and 0 mean 100. - Numbering arrangements can vary between manufacturers. Keep the supplied frame order and inspect the intended orientation after changing a typeface. ## Rebuild and verify Use a fresh background process from the extracted folder. Substitute the path to your Blender executable. The builder resets the scene in that process and requires a fresh destination. The verifier edits the open scene in memory and writes a new report. blender --factory-startup -b --python-exit-code 1 -P build_dice.py -- MyDice.blend blender --factory-startup -b Dice-Studio.blend --python-exit-code 1 -P verify_dice.py -- checks.json blender --factory-startup -b Dice-Studio.blend --python-exit-code 1 -P render_example.py -- Details my-fill-test draft The last command outputs low and high fill comparisons. Choose Matched-D20, Matched-D6, Tray, Details, Cubes, Hero, Portrait, Profile, Orchid, Pearl, Orbit or Variations. Use a new directory per example. Draft produces 640 × 360 CPU samples. Omit draft for larger renders. Orbit and Variations produce numbered PNG sequences for 24 fps playback. Variations shows edge width, fill, digit styles, relief and three cast seeds. It holds individual states so you can inspect them. Source files cover the shape and node builder (build_dice.py), optical materials (surfaces.py), particle sampling (inclusions.py), lighting (photography.py) and numerical guide (frames.json). To add another licensed typeface, replace one entry in FONTS in a copy, rebuild and inspect counters and spacing. RECONSTRUCT.md contains a standalone reconstruction exercise with the numerical appendix. The checker exercises each form, both fonts, pips, engraving, relief, paired extremes, foil, seed restoration, material assignment, resting contact of saved examples, manifold edges, nonadjacent overlap, positive volume and proxy convexity. It compares sorted point hashes after restoration. Inspect actual rendered type and custom edits separately. Test environment is Blender 5.2.3 LTS on Linux x64. The builder uses the 5.2 modifier input API and Manifold solver. Other versions and operating systems await testing. These are static render assets. A rolling solver, result targeting, calibrated mass, manufacturing certification and print tolerances are outside this edition.