Commit ·
1ec939b
1
Parent(s): 3ff80e4
Jade Court Chinese Restaurant (#5)
Browse files- Jade Court Chinese Restaurant (a4dfe1ef2c295752b4b7f322fb9cab010dc4dc0b)
- .gitattributes +2 -0
- runs/jade-court-chinese-restaurant/artifacts/README.md +33 -0
- runs/jade-court-chinese-restaurant/artifacts/create.py +390 -0
- runs/jade-court-chinese-restaurant/artifacts/fix_glb_sheen.py +12 -0
- runs/jade-court-chinese-restaurant/artifacts/glb-check.png +3 -0
- runs/jade-court-chinese-restaurant/artifacts/interior.png +3 -0
- runs/jade-court-chinese-restaurant/artifacts/model.glb +3 -0
- runs/jade-court-chinese-restaurant/artifacts/moon-room.png +3 -0
- runs/jade-court-chinese-restaurant/artifacts/polish.py +78 -0
- runs/jade-court-chinese-restaurant/artifacts/preview.png +3 -0
- runs/jade-court-chinese-restaurant/artifacts/refine.py +159 -0
- runs/jade-court-chinese-restaurant/artifacts/sanitize.py +22 -0
- runs/jade-court-chinese-restaurant/artifacts/scene-statistics.json +28 -0
- runs/jade-court-chinese-restaurant/artifacts/scene.blend +3 -0
- runs/jade-court-chinese-restaurant/artifacts/validation.json +34 -0
- runs/jade-court-chinese-restaurant/mesh.parquet +3 -0
- runs/jade-court-chinese-restaurant/metadata.json +126 -0
- runs/jade-court-chinese-restaurant/trace.json +314 -0
- runs/jade-court-chinese-restaurant/viewer.parquet +3 -0
.gitattributes
CHANGED
|
@@ -60,3 +60,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
runs/high-poly-oak-kitchen/artifacts/model.glb filter=lfs diff=lfs merge=lfs -text
|
| 62 |
runs/high-poly-oak-kitchen/artifacts/scene.blend filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
runs/high-poly-oak-kitchen/artifacts/model.glb filter=lfs diff=lfs merge=lfs -text
|
| 62 |
runs/high-poly-oak-kitchen/artifacts/scene.blend filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
runs/jade-court-chinese-restaurant/artifacts/model.glb filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
runs/jade-court-chinese-restaurant/artifacts/scene.blend filter=lfs diff=lfs merge=lfs -text
|
runs/jade-court-chinese-restaurant/artifacts/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Jade Court
|
| 2 |
+
|
| 3 |
+
An original, fully modeled Chinese restaurant interior created in Blender. The restaurant is presented as an architectural cutaway, with an optional full enclosure saved in the native scene for interior photography.
|
| 4 |
+
|
| 5 |
+
## Deliverables
|
| 6 |
+
|
| 7 |
+
- `artifacts/scene.blend` — editable Blender 5.1 scene, organized into named collections, with packed textures, lighting, and three cameras.
|
| 8 |
+
- `artifacts/model.glb` — self-contained high-detail restaurant model with embedded PBR color and normal textures.
|
| 9 |
+
- `artifacts/preview.png` — 3200 × 2667 architectural overview.
|
| 10 |
+
- `artifacts/interior.png` — 3200 × 2133 eye-level interior render.
|
| 11 |
+
- `artifacts/moon-room.png` — 2560 × 1920 private dining detail.
|
| 12 |
+
|
| 13 |
+
## Design
|
| 14 |
+
|
| 15 |
+
The approximately 12 × 10 meter space includes two round dining tables with lazy Susans, two upholstered banquettes, a raised private dining room behind a circular moon gate, a tea service bar, a host station, and a bamboo garden screen. It provides approximately 23 seats including the bar and banquettes.
|
| 16 |
+
|
| 17 |
+
The palette combines walnut, honey oak, jade green, garnet upholstery, celadon and cobalt ceramics, limestone, and aged brass. Details include chopsticks and rests, rice bowls, tea cups, teapots, dim sum, tea canisters, tailored cushion piping, chair joinery pins, lantern ribs and tassels, lattice panels, and a layered mountain artwork.
|
| 18 |
+
|
| 19 |
+
## Viewing and rendering
|
| 20 |
+
|
| 21 |
+
Open `scene.blend` for the full native scene. The saved view is the architectural overview. The optional enclosure collection is disabled for the cutaway. The interior renders use the enclosure, practical lantern lights, and the front window area light, with the three studio softboxes disabled. The scene uses meters and Cycles with 160 samples and denoising for the supplied final renders.
|
| 22 |
+
|
| 23 |
+
The GLB deliberately contains the open cutaway. The optional ceiling and east/south walls, studio backdrop, cameras, and lights are excluded. Viewer lighting and tone mapping can change its appearance; the PNG renders show the intended Blender lighting. Color and micro-surface normal textures are embedded and need no external files. The GLB requires no mesh decoder extensions.
|
| 24 |
+
|
| 25 |
+
## Reproducibility and verification
|
| 26 |
+
|
| 27 |
+
`artifacts/create.py` builds the original geometry, materials, layout and cameras. `artifacts/refine.py` adds the final surface and geometry refinements, optional enclosure, and final renders. Run these sequentially in Blender, with `scene.blend` loaded for the refinement stage. Then run `artifacts/polish.py` on the saved scene to apply the final construction fixes, smooth lantern surfaces, camera framing, and final renders. It also calls `fix_glb_sheen.py` to preserve the intended sheen intensity in the portable material export. The GLB was imported into Blender, its evaluated triangle count and world bounds were compared against the native restaurant, and the imported result was rendered.
|
| 28 |
+
|
| 29 |
+
`artifacts/scene-statistics.json` records the final complexity and render settings; `artifacts/validation.json` records the export checks. All modeling assets are original to this scene.
|
| 30 |
+
|
| 31 |
+
## Public scene preparation
|
| 32 |
+
|
| 33 |
+
The presentation-only studio ground and optional enclosure meshes are hidden individually in the contributed Blender scene, so its visible restaurant geometry matches the GLB. The supplied final PNGs retain the original studio or enclosed-room presentation. `sanitize.py` records this preparation and removes local paths and unused data. The original task files remain unchanged.
|
runs/jade-court-chinese-restaurant/artifacts/create.py
ADDED
|
@@ -0,0 +1,390 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import bpy, math, random, os, json
|
| 2 |
+
from mathutils import Vector
|
| 3 |
+
from pathlib import Path
|
| 4 |
+
random.seed(12)
|
| 5 |
+
OUT=Path(__file__).resolve().parent
|
| 6 |
+
bpy.ops.object.select_all(action='SELECT'); bpy.ops.object.delete(use_global=False)
|
| 7 |
+
for c in list(bpy.data.collections):
|
| 8 |
+
if c.name!='Collection': bpy.data.collections.remove(c)
|
| 9 |
+
base=bpy.data.collections.get('Collection'); base.name='Architecture'
|
| 10 |
+
COL=base
|
| 11 |
+
|
| 12 |
+
def section(name):
|
| 13 |
+
global COL
|
| 14 |
+
COL=bpy.data.collections.new(name); bpy.context.scene.collection.children.link(COL)
|
| 15 |
+
def put(o,name,mat=None):
|
| 16 |
+
o.name=name
|
| 17 |
+
for c in list(o.users_collection): c.objects.unlink(o)
|
| 18 |
+
COL.objects.link(o)
|
| 19 |
+
if mat: o.data.materials.append(mat)
|
| 20 |
+
return o
|
| 21 |
+
def mat(name,c,metal=0,rough=.45,emit=0):
|
| 22 |
+
m=bpy.data.materials.new(name); m.diffuse_color=(*c,1); m.use_nodes=True
|
| 23 |
+
p=m.node_tree.nodes.get('Principled BSDF'); p.inputs['Base Color'].default_value=(*c,1); p.inputs['Metallic'].default_value=metal; p.inputs['Roughness'].default_value=rough
|
| 24 |
+
if emit: p.inputs['Emission Color'].default_value=(*c,1); p.inputs['Emission Strength'].default_value=emit
|
| 25 |
+
return m
|
| 26 |
+
wood=mat('Smoked walnut',(.115,.047,.023),rough=.32)
|
| 27 |
+
wood2=mat('Honey oak',(.39,.19,.068),rough=.36)
|
| 28 |
+
red=mat('Oxblood lacquer',(.29,.024,.019),rough=.28)
|
| 29 |
+
velvet=mat('Garnet upholstery',(.25,.026,.027),rough=.82)
|
| 30 |
+
jade=mat('Jade green upholstery',(.043,.145,.115),rough=.74)
|
| 31 |
+
gold=mat('Brushed aged brass',(.63,.36,.105),metal=.78,rough=.3)
|
| 32 |
+
cream=mat('Warm ivory plaster',(.75,.68,.52),rough=.9)
|
| 33 |
+
black=mat('Charcoal stone',(.029,.034,.034),rough=.58)
|
| 34 |
+
stone=mat('Warm limestone',(.44,.40,.32),rough=.73)
|
| 35 |
+
porcelain=mat('Celadon porcelain',(.54,.72,.65),rough=.19)
|
| 36 |
+
white=mat('Ivory porcelain',(.91,.86,.69),rough=.18)
|
| 37 |
+
blue=mat('Cobalt glaze',(.022,.095,.21),rough=.22)
|
| 38 |
+
leafmat=mat('Bamboo leaf',(.055,.21,.083),rough=.8)
|
| 39 |
+
stem=mat('Bamboo culm',(.25,.34,.10),rough=.65)
|
| 40 |
+
paper=mat('Lantern silk vermilion',(.69,.075,.026),rough=.57,emit=.32)
|
| 41 |
+
linen=mat('Natural linen',(.76,.67,.49),rough=.96)
|
| 42 |
+
glow=mat('Amber light', (1,.58,.22),rough=.3,emit=3)
|
| 43 |
+
tea=mat('Oolong tea',(.12,.045,.009),rough=.15)
|
| 44 |
+
# Portable image wood grain, packed and used through mesh UVs.
|
| 45 |
+
import numpy as np
|
| 46 |
+
n=1024; yy,xx=np.mgrid[0:n,0:n]; rng=np.random.default_rng(10)
|
| 47 |
+
grain=np.sin(xx*.20+np.sin(yy*.028)*2+np.sin(xx*.041)*3)*.025+rng.random((n,n))*.022
|
| 48 |
+
for m,c in [(wood,(.115,.047,.023)),(wood2,(.39,.19,.068))]:
|
| 49 |
+
im=bpy.data.images.new(m.name+' grain',width=n,height=n)
|
| 50 |
+
pix=np.ones((n,n,4),dtype=np.float32)
|
| 51 |
+
for k in range(3): pix[:,:,k]=np.clip(c[k]+grain*(.6 if k==0 else .3),0,1)
|
| 52 |
+
im.pixels.foreach_set(pix.ravel()); im.pack()
|
| 53 |
+
tex=m.node_tree.nodes.new('ShaderNodeTexImage'); tex.image=im
|
| 54 |
+
m.node_tree.links.new(tex.outputs['Color'],m.node_tree.nodes.get('Principled BSDF').inputs['Base Color'])
|
| 55 |
+
def bevel(o,a=.025):
|
| 56 |
+
mod=o.modifiers.new('Soft crafted edges','BEVEL'); mod.width=a; mod.segments=5
|
| 57 |
+
mod=o.modifiers.new('Weighted normals','WEIGHTED_NORMAL')
|
| 58 |
+
return o
|
| 59 |
+
def box(name,loc,dim,m,bev=.02):
|
| 60 |
+
bpy.ops.mesh.primitive_cube_add(size=1,location=loc); o=put(bpy.context.object,name,m); o.dimensions=dim
|
| 61 |
+
bpy.ops.object.transform_apply(location=False,rotation=False,scale=True)
|
| 62 |
+
if bev: bevel(o,bev)
|
| 63 |
+
return o
|
| 64 |
+
def cyl(name,loc,r,depth,m,verts=64):
|
| 65 |
+
bpy.ops.mesh.primitive_cylinder_add(vertices=verts,radius=r,depth=depth,location=loc);o=put(bpy.context.object,name,m); bevel(o,.009)
|
| 66 |
+
for p in o.data.polygons:p.use_smooth=True
|
| 67 |
+
return o
|
| 68 |
+
def ball(name,loc,scale,m):
|
| 69 |
+
bpy.ops.mesh.primitive_uv_sphere_add(segments=48,ring_count=24,location=loc);o=put(bpy.context.object,name,m);o.scale=scale
|
| 70 |
+
for p in o.data.polygons:p.use_smooth=True
|
| 71 |
+
return o
|
| 72 |
+
def path(name,pts,r,m,closed=False):
|
| 73 |
+
cu=bpy.data.curves.new(name,'CURVE');cu.dimensions='3D';cu.resolution_u=2;cu.bevel_depth=r;cu.bevel_resolution=4
|
| 74 |
+
sp=cu.splines.new('POLY');sp.points.add(len(pts)-1)
|
| 75 |
+
for p,co in zip(sp.points,pts):p.co=(*co,1)
|
| 76 |
+
sp.use_cyclic_u=closed;o=bpy.data.objects.new(name,cu);COL.objects.link(o);o.data.materials.append(m);return o
|
| 77 |
+
def rod(name,a,b,r,m):return path(name,[a,b],r,m)
|
| 78 |
+
def ring(name,loc,r,t,m,orient='Z'):
|
| 79 |
+
pts=[]
|
| 80 |
+
for i in range(64):
|
| 81 |
+
a=2*math.pi*i/64
|
| 82 |
+
pts.append((loc[0]+r*math.cos(a),loc[1]+(r*math.sin(a) if orient=='Z' else 0),loc[2]+(r*math.sin(a) if orient!='Z' else 0)))
|
| 83 |
+
return path(name,pts,t,m,True)
|
| 84 |
+
def lathe(name,loc,prof,m,N=96):
|
| 85 |
+
vs=[];fs=[]
|
| 86 |
+
for r,z in prof:
|
| 87 |
+
for i in range(N):
|
| 88 |
+
a=i*2*math.pi/N;vs.append((loc[0]+r*math.cos(a),loc[1]+r*math.sin(a),loc[2]+z))
|
| 89 |
+
for j in range(len(prof)-1):
|
| 90 |
+
for i in range(N):a=j*N+i;b=j*N+(i+1)%N;fs.append((a,b,b+N,a+N))
|
| 91 |
+
me=bpy.data.meshes.new(name);me.from_pydata(vs,[],fs);me.update();o=bpy.data.objects.new(name,me);COL.objects.link(o);me.materials.append(m)
|
| 92 |
+
for p in me.polygons:p.use_smooth=True
|
| 93 |
+
return o
|
| 94 |
+
def txt(name,text,loc,size,m,font=None):
|
| 95 |
+
cu=bpy.data.curves.new(name,'FONT');cu.body=text;cu.align_x='CENTER';cu.align_y='CENTER';cu.size=size;cu.extrude=.0015;cu.bevel_depth=.0007
|
| 96 |
+
if font:cu.font=font
|
| 97 |
+
o=bpy.data.objects.new(name,cu);COL.objects.link(o);o.location=loc;o.rotation_euler=(math.pi/2,0,0);cu.materials.append(m);return o
|
| 98 |
+
font=bpy.data.fonts.load('/System/Library/Fonts/Supplemental/Times New Roman.ttf')
|
| 99 |
+
cjk=bpy.data.fonts.load('/System/Library/Fonts/Hiragino Sans GB.ttc')
|
| 100 |
+
# Building shell; the east and south walls are intentionally cut away.
|
| 101 |
+
box('Floating architectural plinth',(0,0,-.22),(12.5,10.5,.44),black,.1)
|
| 102 |
+
box('Brass perimeter reveal',(0,0,-.025),(12.2,10.2,.035),gold,.005)
|
| 103 |
+
for ix in range(16):
|
| 104 |
+
for iy in range(13):
|
| 105 |
+
tint=random.uniform(.87,1.1);m=mat('Limestone tile %02d %02d'%(ix,iy),tuple(v*tint for v in (.42,.39,.32)),rough=.72)
|
| 106 |
+
box('Honed limestone floor',(-5.62+ix*.75,-4.61+iy*.75,.01),(.737,.737,.07),m,.005)
|
| 107 |
+
box('Rear plaster wall',(0,5,1.9),(12.2,.20,3.8),cream)
|
| 108 |
+
box('West plaster wall',(-6,0,1.9),(.20,10,3.8),cream)
|
| 109 |
+
box('Rear walnut wainscot',(0,4.85,.60),(12,.14,1.15),wood)
|
| 110 |
+
box('West walnut wainscot',(-5.85,0,.60),(.14,10,1.15),wood)
|
| 111 |
+
for z in [.14,1.16]:
|
| 112 |
+
box('Rear brass dado',(0,4.755,z),(12,.025,.025),gold,.004)
|
| 113 |
+
box('West brass dado',(-5.755,0,z),(.025,10,.025),gold,.004)
|
| 114 |
+
for x in [-5.85,-1.2,2.2,5.8]:
|
| 115 |
+
box('Structural redwood column',(x,4.72,1.9),(.22,.28,3.8),red)
|
| 116 |
+
box('Column brass foot',(x,4.72,.18),(.25,.31,.25),gold)
|
| 117 |
+
box('Rear crown beam',(0,4.66,3.68),(12.15,.4,.27),wood)
|
| 118 |
+
box('West crown beam',(-5.75,0,3.68),(.4,9.8,.27),wood)
|
| 119 |
+
# overhead beams stop short of the cutaway view
|
| 120 |
+
for y in [-3.1,.35,3.55]:
|
| 121 |
+
box('Exposed ceiling crossbeam',(-.25,y,3.82),(11.4,.16,.20),wood)
|
| 122 |
+
for x in [-4.3,0,3.7]:box('Brass beam collar',(x,y,3.82),(.13,.20,.23),gold,.008)
|
| 123 |
+
# inset aisle in front
|
| 124 |
+
box('Entry threshold',(3.8,-4.72,.078),(3.6,.33,.035),black)
|
| 125 |
+
for x in [2.2,5.4]:box('Entry brass inlay',(x,-3.6,.065),(.025,2.3,.014),gold,.002)
|
| 126 |
+
# Private area raised timber floor
|
| 127 |
+
section('Private dining • Moon room')
|
| 128 |
+
box('Private dining dais',(-3.5,3.35,.14),(4.65,2.95,.22),wood)
|
| 129 |
+
for i in range(23):box('Dais oak board',(-5.68+i*.199,3.35,.26),(.193,2.87,.025),wood2,.003)
|
| 130 |
+
box('Moon room entrance step',(-3.4,1.55,.12),(2.3,.55,.19),black)
|
| 131 |
+
box('Step brass nosing',(-3.4,1.28,.22),(2.3,.026,.03),gold,.003)
|
| 132 |
+
# Moon gate screen made of individual spandrels around a real circular opening.
|
| 133 |
+
ngx=-3.5; gy=1.96; gz=1.66; gr=1.40
|
| 134 |
+
for x0,x1 in [(-5.84,-4.90),(-2.10,-1.15)]:
|
| 135 |
+
box('Moon gate side panel',((x0+x1)/2,gy,1.8),(x1-x0,.15,3.15),jade)
|
| 136 |
+
for i in range(50):
|
| 137 |
+
x=ngx-gr+(i+.5)*2*gr/50; dz=math.sqrt(max(0,gr*gr-(x-ngx)**2));bottom=gz-dz;top=gz+dz
|
| 138 |
+
if bottom>.26:box('Gate lower spandrel',(x,gy,(bottom+.26)/2),(2*gr/50+.001,.15,bottom-.26),jade,.002)
|
| 139 |
+
if top<3.4:box('Gate upper spandrel',(x,gy,(top+3.4)/2),(2*gr/50+.001,.15,3.4-top),jade,.002)
|
| 140 |
+
ring('Moon gate walnut surround',(ngx,gy-.10,gz),gr,.10,wood,'Y')
|
| 141 |
+
ring('Moon gate brass inner line',(ngx,gy-.20,gz),gr-.02,.019,gold,'Y')
|
| 142 |
+
for x in [-5.84,-4.96,-2.04,-1.15]:box('Moon screen upright',(x,gy-.105,1.82),(.07,.08,3.22),wood)
|
| 143 |
+
for z in [.3,3.39]:box('Moon screen frame',(-3.5,gy-.105,z),(4.76,.09,.10),wood)
|
| 144 |
+
for x in [-5.58,-5.3,-1.7,-1.42]:
|
| 145 |
+
for z in [.63,1.17,1.71,2.25,2.79]:
|
| 146 |
+
o=box('Screen brass diamond',(x,gy-.105,z),(.19,.036,.19),gold,.005);o.rotation_euler[1]=math.pi/4
|
| 147 |
+
# Furniture helpers
|
| 148 |
+
|
| 149 |
+
def chair(x,y,a,basez=0,up=jade):
|
| 150 |
+
def p(dx,dy,z):return(x+dx*math.cos(a)-dy*math.sin(a),y+dx*math.sin(a)+dy*math.cos(a),z+basez)
|
| 151 |
+
for dx in [-.23,.23]:
|
| 152 |
+
for dy in [-.21,.21]:
|
| 153 |
+
rod('Tapered chair leg',p(dx*1.12,dy*1.12,.1),p(dx,dy,.54),.038,wood)
|
| 154 |
+
cyl('Chair brass ferrule',p(dx*1.12,dy*1.12,.1),.041,.10,gold,16)
|
| 155 |
+
o=box('Chair seat frame',p(0,0,.53),(.59,.54,.105),wood,.05);o.rotation_euler[2]=a
|
| 156 |
+
o=box('Upholstered chair seat',p(0,0,.60),(.53,.49,.10),up,.065);o.rotation_euler[2]=a
|
| 157 |
+
for dx in [-.255,.255]:rod('Chair back stile',p(dx,.20,.53),p(dx,.25,1.13),.032,wood)
|
| 158 |
+
pts=[p(.28*math.cos(t),.04+.23*math.sin(t),1.13) for t in [i*math.pi/24 for i in range(25)]]
|
| 159 |
+
path('Curved horseshoe back rail',pts,.045,wood)
|
| 160 |
+
o=box('Padded chair back',p(0,.245,.91),(.40,.075,.27),up,.065);o.rotation_euler[2]=a
|
| 161 |
+
rod('Chair back brass accent',p(-.16,.292,1.07),p(.16,.292,1.07),.009,gold)
|
| 162 |
+
|
| 163 |
+
def setting(x,y,z,a):
|
| 164 |
+
def p(dx,dy,dz=0):return(x+dx*math.cos(a)-dy*math.sin(a),y+dx*math.sin(a)+dy*math.cos(a),z+dz)
|
| 165 |
+
o=box('Woven place mat',p(0,0,.005),(.47,.36,.009),linen,.035);o.rotation_euler[2]=a
|
| 166 |
+
lathe('Celadon dinner plate',p(0,0,.014),[(0,0),(.11,0),(.145,.014),(.151,.032),(.14,.035),(.11,.013),(0,.01)],porcelain)
|
| 167 |
+
ring('Plate cobalt rim',p(0,0,.049),.141,.004,blue)
|
| 168 |
+
lathe('Rice bowl',p(0,.015,.04),[(.055,0),(.06,.012),(.086,.08),(.081,.085),(.072,.073),(.048,.015),(0,.015)],white,32)
|
| 169 |
+
ring('Bowl blue rim',p(0,.015,.123),.082,.004,blue)
|
| 170 |
+
lathe('Tea cup',p(-.13,.17,.015),[(.028,0),(.039,.06),(.034,.066),(.027,.012),(0,.012)],porcelain,24)
|
| 171 |
+
cyl('Tea in cup',p(-.13,.17,.065),.029,.004,tea,24)
|
| 172 |
+
for dx in [.178,.201]:rod('Rosewood chopstick',p(dx,-.125,.034),p(dx,.145,.034),.0045,wood2)
|
| 173 |
+
o=box('Porcelain chopstick rest',p(.19,.08,.026),(.055,.022,.021),white,.005);o.rotation_euler[2]=a
|
| 174 |
+
|
| 175 |
+
def teapot(x,y,z):
|
| 176 |
+
ball('Celadon teapot',(x,y,z+.105),(.14,.115,.095),porcelain)
|
| 177 |
+
cyl('Teapot lid',(x,y,z+.183),.075,.023,porcelain)
|
| 178 |
+
ball('Teapot lid finial',(x,y,z+.211),(.026,.026,.022),gold)
|
| 179 |
+
path('Curved teapot spout',[(x+.09,y,z+.10),(x+.17,y,z+.14),(x+.20,y,z+.19)],.026,porcelain)
|
| 180 |
+
path('Teapot loop handle',[(x-.1-.073*math.sin(t),y,z+.1+.075*math.cos(t)) for t in [i*math.pi/20 for i in range(21)]],.014,porcelain)
|
| 181 |
+
|
| 182 |
+
def roundtable(x,y,r=.88,n=4,bz=0):
|
| 183 |
+
cyl('Round dining table base',(x,y,bz+.12),.43,.10,black)
|
| 184 |
+
cyl('Fluted pedestal core',(x,y,bz+.53),.22,.76,wood)
|
| 185 |
+
for i in range(16):
|
| 186 |
+
a=i*math.tau/16;cyl('Pedestal fluting',(x+.22*math.cos(a),y+.22*math.sin(a),bz+.53),.018,.72,wood2,12)
|
| 187 |
+
cyl('Round walnut table top',(x,y,bz+.97),r,.10,wood2,64)
|
| 188 |
+
ring('Table brass edge',(x,y,bz+.98),r,.012,gold)
|
| 189 |
+
cyl('Lazy Susan',(x,y,bz+1.045),r*.42,.025,black,48)
|
| 190 |
+
ring('Lazy Susan rim',(x,y,bz+1.06),r*.42,.009,gold)
|
| 191 |
+
teapot(x-.07,y,bz+1.065)
|
| 192 |
+
lathe('Bamboo dim sum steamer',(x+.16,y+.12,bz+1.06),[(.13,0),(.13,.09),(.116,.09),(.116,.015)],wood2,32)
|
| 193 |
+
for u,v in [(0,0),(.05,0),(-.025,.043)]:ball('Steamed dumpling',(x+.16+u,y+.12+v,bz+1.12),(.033,.03,.025),white)
|
| 194 |
+
for i in range(n):
|
| 195 |
+
a=math.tau*i/n;d=r+.46
|
| 196 |
+
chair(x+d*math.cos(a),y+d*math.sin(a),a-math.pi/2,bz)
|
| 197 |
+
d=r*.72;setting(x+d*math.cos(a),y+d*math.sin(a),bz+1.026,a+math.pi/2)
|
| 198 |
+
roundtable(-3.5,3.48,.72,4,.28)
|
| 199 |
+
# rear artwork in private room, layered scenic relief
|
| 200 |
+
box('Private room art frame',(-3.5,4.71,2.44),(3.55,.07,1.61),wood)
|
| 201 |
+
box('Private room silk canvas',(-3.5,4.659,2.44),(3.4,.025,1.47),linen)
|
| 202 |
+
# stylized overlapping mountain silhouettes cut from meshes
|
| 203 |
+
for layer,color in enumerate([(.40,.47,.41),(.22,.36,.30),(.10,.23,.20)]):
|
| 204 |
+
m=mat('Landscape jade wash '+str(layer),color,rough=.9)
|
| 205 |
+
pts=[(-5.1,4.633-layer*.014,1.76)]
|
| 206 |
+
for i in range(31):
|
| 207 |
+
x=-5.1+i*3.2/30;z=2.15+.50*math.sin(i*.23+layer*.8)**2-layer*.11+.09*math.sin(i*.9)
|
| 208 |
+
pts.append((x,4.633-layer*.014,z))
|
| 209 |
+
pts.append((-1.9,4.633-layer*.014,1.76));me=bpy.data.meshes.new('Mountains');me.from_pydata(pts,[],[tuple(range(len(pts)))]);o=bpy.data.objects.new('Layered landscape silhouette',me);COL.objects.link(o);me.materials.append(m)
|
| 210 |
+
o=cyl('Landscape golden moon',(-2.60,4.625,2.84),.19,.015,gold);o.rotation_euler[0]=math.pi/2
|
| 211 |
+
section('Main dining • Round tables')
|
| 212 |
+
for y in [-2.35,1.05]:
|
| 213 |
+
cyl('Circular dining floor inset',(0,y,.057),1.59,.012,black,64)
|
| 214 |
+
ring('Brass floor medallion',(0,y,.067),1.56,.013,gold)
|
| 215 |
+
roundtable(0,y,.89,4)
|
| 216 |
+
section('West dining • Banquette booths')
|
| 217 |
+
for y in [-3.15,-.60]:
|
| 218 |
+
box('Booth platform',(-4.73,y,.13),(2.0,2.10,.18),wood)
|
| 219 |
+
box('Banquette plinth',(-5.36,y,.38),(.81,1.94,.48),wood)
|
| 220 |
+
box('Banquette seat',(-5.31,y,.64),(.86,1.92,.18),velvet,.08)
|
| 221 |
+
box('Banquette upholstered back',(-5.68,y,1.10),(.18,1.96,.94),velvet,.065)
|
| 222 |
+
for yy in [-.7,-.35,0,.35,.7]:
|
| 223 |
+
box('Channel tufting',(-5.568,y+yy,1.12),(.035,.018,.74),gold,.008)
|
| 224 |
+
for yy in [-1.0,1.0]:box('Booth arm',(-5.3,y+yy,.81),(.91,.10,.56),wood,.04)
|
| 225 |
+
cyl('Booth table pedestal',(-4.37,y,.55),.12,.85,black)
|
| 226 |
+
box('Booth dining tabletop',(-4.37,y,1.01),(1.02,1.48,.09),wood2,.09)
|
| 227 |
+
for yy in [-.40,.40]:
|
| 228 |
+
chair(-3.46,y+yy,-math.pi/2,up=velvet)
|
| 229 |
+
setting(-4.08,y+yy,1.062,-math.pi/2)
|
| 230 |
+
setting(-4.65,y+yy,1.062,math.pi/2)
|
| 231 |
+
teapot(-4.36,y,1.06)
|
| 232 |
+
# west wall lattice windows, warm translucent backing
|
| 233 |
+
section('Decor • Lattice windows')
|
| 234 |
+
for y in [-3.13,-.6]:
|
| 235 |
+
box('West window dark frame',(-5.84,y,2.47),(.12,1.94,1.7),wood)
|
| 236 |
+
box('West window rice paper',(-5.758,y,2.47),(.02,1.80,1.56),linen)
|
| 237 |
+
for yy in [-.87,0,.87]:box('Lattice vertical',(-5.72,y+yy,2.47),(.065,.045,1.60),wood)
|
| 238 |
+
for zz in [-.76,0,.76]:box('Lattice horizontal',(-5.72,y,2.47+zz),(.065,1.81,.045),wood)
|
| 239 |
+
for yy in [-.44,.44]:
|
| 240 |
+
for zz in [-.38,.38]:
|
| 241 |
+
for d in [-1,1]:
|
| 242 |
+
rod('Lattice diagonal',(-5.69,y+yy-.34,2.47+zz-d*.30),(-5.69,y+yy+.34,2.47+zz+d*.30),.018,wood)
|
| 243 |
+
# tea bar
|
| 244 |
+
section('Tea bar • Service')
|
| 245 |
+
box('Bar toe kick',(3.59,3.51,.15),(4.1,1.0,.24),black)
|
| 246 |
+
box('Tea bar cabinet',(3.59,3.51,.65),(4.1,1.0,.94),jade)
|
| 247 |
+
for x in [1.64+i*.13 for i in range(31)]:box('Bar walnut fluting',(x,2.988,.66),(.045,.065,.91),wood2,.014)
|
| 248 |
+
box('Bar brass top reveal',(3.59,3.51,1.14),(4.18,1.06,.04),gold)
|
| 249 |
+
box('Tea bar stone counter',(3.59,3.48,1.21),(4.34,1.17,.13),black,.055)
|
| 250 |
+
for x in [2.0,3.1,4.2]:
|
| 251 |
+
cyl('Tea stool foot',(x,2.35,.12),.27,.07,black)
|
| 252 |
+
cyl('Tea stool stem',(x,2.35,.47),.06,.69,gold)
|
| 253 |
+
ring('Stool foot ring',(x,2.35,.36),.20,.016,gold)
|
| 254 |
+
cyl('Tea stool cushion',(x,2.35,.85),.29,.13,velvet)
|
| 255 |
+
box('Back bar cabinet',(3.55,4.52,.66),(4.25,.55,1.14),wood)
|
| 256 |
+
box('Back bar countertop',(3.55,4.48,1.27),(4.39,.64,.095),black)
|
| 257 |
+
for x in [1.98,3.02,4.07,5.11]:
|
| 258 |
+
box('Cabinet inset panel',(x,4.228,.69),(.91,.025,.83),jade)
|
| 259 |
+
box('Cabinet pull',(x+.33,4.196,.86),(.018,.035,.18),gold)
|
| 260 |
+
box('Backbar feature panel',(3.55,4.79,2.57),(4.28,.075,2.13),jade)
|
| 261 |
+
for x in [1.39,5.70]:box('Display tall border',(x,4.7,2.53),(.07,.18,2.26),gold)
|
| 262 |
+
for z in [1.56,2.18,3.51]:box('Tea display shelf',(3.55,4.49,z),(4.30,.59,.065),wood2)
|
| 263 |
+
box('Illuminated shelf line',(3.55,4.32,2.137),(4.15,.025,.015),glow,.002)
|
| 264 |
+
box('Jade Court plaque',(3.55,4.66,2.83),(2.3,.065,1.06),wood)
|
| 265 |
+
txt('Chinese restaurant name','玉 庭',(3.55,4.608,2.99),.48,gold,cjk)
|
| 266 |
+
txt('English restaurant name','J A D E C O U R T',(3.55,4.605,2.61),.15,gold,font)
|
| 267 |
+
for x in [1.84,2.4,3.0,3.6,4.2,4.8,5.34]:
|
| 268 |
+
lathe('Tea canister',(x,4.43,1.60),[(.11,0),(.13,.04),(.13,.31),(.10,.34),(.10,.36),(0,.36)],porcelain,32)
|
| 269 |
+
cyl('Tea canister lid',(x,4.43,1.98),.112,.04,gold)
|
| 270 |
+
box('Tea canister label',(x,4.295,1.80),(.095,.007,.14),linen,.005)
|
| 271 |
+
for x in [1.85,5.22]:
|
| 272 |
+
lathe('Display ginger jar',(x,4.45,2.22),[(.1,0),(.18,.10),(.17,.32),(.09,.44),(.1,.46),(0,.48)],white)
|
| 273 |
+
for z in [.10,.17,.25]:ring('Cobalt jar band',(x,4.45,2.22+z),.174,.009,blue)
|
| 274 |
+
ball('Jar lid knob',(x,4.45,2.72),(.025,.025,.025),gold)
|
| 275 |
+
for x in [2.1,3.55,4.95]:
|
| 276 |
+
box('Tea service tray',(x,3.48,1.30),(.80,.47,.035),wood2,.035)
|
| 277 |
+
teapot(x-.13,3.50,1.32)
|
| 278 |
+
for dx in [.12,.27]:lathe('Bar tasting cup',(x+dx,3.4,1.32),[(.035,0),(.044,.065),(.037,.07),(.025,.015),(0,.015)],porcelain,24)
|
| 279 |
+
# Decorative partition between entrance and tea zone
|
| 280 |
+
section('Entrance • Host and garden')
|
| 281 |
+
box('Host podium foot',(4.85,-3.63,.12),(1.25,.80,.16),black)
|
| 282 |
+
box('Host podium',(4.85,-3.63,.66),(1.13,.69,1.01),wood)
|
| 283 |
+
box('Host jade panel',(4.85,-3.989,.69),(.91,.027,.73),jade)
|
| 284 |
+
txt('Host insignia','玉庭',(4.85,-4.014,.76),.24,gold,cjk)
|
| 285 |
+
box('Host podium top',(4.85,-3.63,1.19),(1.28,.83,.09),black,.035)
|
| 286 |
+
o=box('Reservations folio',(4.72,-3.58,1.255),(.43,.31,.035),red,.01);o.rotation_euler[2]=-.2
|
| 287 |
+
box('Folio gold spine',(4.49,-3.54,1.279),(.015,.27,.008),gold,.002)
|
| 288 |
+
# menu sign at entry
|
| 289 |
+
for x in [3.35,3.93]:rod('Menu stand leg',(x,-4.11,.08),(x,-4.02,1.28),.022,gold)
|
| 290 |
+
box('Standing menu frame',(3.64,-4.04,1.19),(.76,.08,.86),wood)
|
| 291 |
+
box('Standing menu paper',(3.64,-4.089,1.19),(.65,.014,.74),linen)
|
| 292 |
+
txt('Menu header','TEA & DIM SUM',(3.64,-4.102,1.42),.075,wood,font)
|
| 293 |
+
for i,w in enumerate([.4,.45,.34,.45,.38,.31]):box('Menu typeset line',(3.64,-4.10,1.28-i*.064),(w,.004,.007),wood,.001)
|
| 294 |
+
# planted screen: right edge open wood screen
|
| 295 |
+
for y in [-1.25,1.32]:box('Garden screen end post',(5.72,y,1.15),(.10,.10,2.24),wood)
|
| 296 |
+
for z in [.26,2.22]:box('Garden screen rail',(5.72,.035,z),(.10,2.67,.10),wood)
|
| 297 |
+
for y in [-1.10+i*.23 for i in range(11)]:box('Garden vertical slat',(5.72,y,1.22),(.06,.04,1.90),wood)
|
| 298 |
+
box('Indoor bamboo planter',(5.06,.03,.30),(.91,2.70,.50),black,.06)
|
| 299 |
+
box('Planter soil',(5.06,.03,.565),(.80,2.58,.035),wood)
|
| 300 |
+
for i in range(45):
|
| 301 |
+
ball('River stone',(random.uniform(4.71,5.4),random.uniform(-1.19,1.21),.59),(random.uniform(.03,.075),random.uniform(.025,.055),.026),stone)
|
| 302 |
+
|
| 303 |
+
def bamboo(x,y,h,bz=.59):
|
| 304 |
+
lean=random.uniform(-.14,.14)
|
| 305 |
+
rod('Bamboo stalk',(x,y,bz),(x+lean,y,bz+h),.022,stem)
|
| 306 |
+
for z in np.arange(.22,h,.28):ring('Bamboo node',(x+lean*z/h,y,bz+z),.024,.008,wood2)
|
| 307 |
+
for j in range(4):
|
| 308 |
+
z=bz+h*(.45+j*.15);ang=random.uniform(0,math.tau);cx=x+lean*(z-bz)/h
|
| 309 |
+
end=(cx+.34*math.cos(ang),y+.34*math.sin(ang),z+.13)
|
| 310 |
+
rod('Bamboo twig',(cx,y,z),end,.009,stem)
|
| 311 |
+
for k in range(4):
|
| 312 |
+
t=.36+k*.19;ox=cx+(end[0]-cx)*t;oy=y+(end[1]-y)*t;oz=z+.13*t
|
| 313 |
+
aa=ang+(-.9 if k%2 else .9);le=.20
|
| 314 |
+
v=[(ox,oy,oz),(ox+le*.5*math.cos(aa)-.035*math.sin(aa),oy+le*.5*math.sin(aa)+.035*math.cos(aa),oz+.03),(ox+le*math.cos(aa),oy+le*math.sin(aa),oz-.02),(ox+le*.5*math.cos(aa)+.035*math.sin(aa),oy+le*.5*math.sin(aa)-.035*math.cos(aa),oz+.02)]
|
| 315 |
+
me=bpy.data.meshes.new('Leaf');me.from_pydata(v,[],[(0,1,2,3)]);o=bpy.data.objects.new('Bamboo lanceolate leaf',me);COL.objects.link(o);me.materials.append(leafmat)
|
| 316 |
+
for i in range(11):bamboo(random.uniform(4.85,5.24),-1.08+i*.215,random.uniform(1.1,2.0))
|
| 317 |
+
# large blue-white vase near moon gate
|
| 318 |
+
lathe('Floor porcelain vase',(-1.38,3.38,.08),[(.19,0),(.29,.15),(.30,.44),(.20,.69),(.14,.91),(.19,.98),(.16,1.0),(.12,.88)],white)
|
| 319 |
+
for z,r in [(.2,.30),(.24,.30),(.52,.27),(.55,.26),(.95,.18)]:ring('Vase cobalt painted band',(-1.38,3.38,.08+z),r,.012,blue)
|
| 320 |
+
for i in range(7):bamboo(-1.38+random.uniform(-.07,.07),3.38+random.uniform(-.07,.07),random.uniform(.70,1.30),1.01)
|
| 321 |
+
# Lanterns with pleated silk surfaces, cap rings, suspension and tassels.
|
| 322 |
+
section('Lighting • Silk lanterns')
|
| 323 |
+
def area(name,loc,power,color,size,target):
|
| 324 |
+
d=bpy.data.lights.new(name,'AREA');d.energy=power;d.color=color;d.shape='DISK';d.size=size;o=bpy.data.objects.new(name,d);COL.objects.link(o);o.location=loc;o.rotation_euler=(Vector(target)-o.location).to_track_quat('-Z','Y').to_euler();return o
|
| 325 |
+
|
| 326 |
+
def lantern(x,y,z,r=.32):
|
| 327 |
+
rod('Lantern suspension',(x,y,z+.49),(x,y,3.83),.009,gold)
|
| 328 |
+
prof=[(.07,-.40),(.20,-.36),(r*.94,-.22),(r,0),(r*.94,.22),(.20,.36),(.07,.40)]
|
| 329 |
+
lathe('Red silk lantern',(x,y,z),prof,paper,48)
|
| 330 |
+
for i in range(16):
|
| 331 |
+
a=i*math.tau/16;pts=[(x+(rr+.005)*math.cos(a),y+(rr+.005)*math.sin(a),z+zz) for rr,zz in prof];path('Lantern silk rib',pts,.005,wood2)
|
| 332 |
+
for zz in [-.36,.36]:cyl('Lantern brass cap',(x,y,z+zz),.17,.055,gold)
|
| 333 |
+
cyl('Lantern luminous underside',(x,y,z-.385),.125,.012,glow)
|
| 334 |
+
rod('Tassel cord',(x,y,z-.39),(x,y,z-.55),.013,gold)
|
| 335 |
+
for i in range(8):
|
| 336 |
+
a=i*math.tau/8;rod('Red lantern tassel',(x+.02*math.cos(a),y+.02*math.sin(a),z-.53),(x+.038*math.cos(a),y+.038*math.sin(a),z-.76),.007,red)
|
| 337 |
+
area('Lantern warm pool',(x,y,z-.42),65,(1,.54,.26),.65,(x,y,0))
|
| 338 |
+
for x,y,z,r in [(-4.36,-3.1,2.92,.30),(-4.36,-.55,3.03,.30),(0,-2.35,3.12,.36),(0,1.05,3.15,.36),(-3.5,3.5,3.15,.34),(2.45,3.55,3.03,.24),(4.65,3.55,3.03,.24)]:lantern(x,y,z,r)
|
| 339 |
+
# Wash over bar and private landscape
|
| 340 |
+
area('Warm bar wash',(3.5,3.95,3.48),95,(1,.72,.42),2.5,(3.5,4.55,2))
|
| 341 |
+
area('Private room wash',(-3.5,4,3.45),75,(1,.74,.44),2,(-3.5,4.65,2.3))
|
| 342 |
+
section('Presentation • Studio')
|
| 343 |
+
# Ground is kept separate from exported asset.
|
| 344 |
+
ground=box('Studio ground',(0,0,-.51),(200,200,.10),mat('Backdrop',(.125,.16,.15),rough=.9),0)
|
| 345 |
+
ground.hide_select=True
|
| 346 |
+
area('Large softbox',(1,-6,12),1900,(1,.85,.66),9,(0,0,0))
|
| 347 |
+
area('Cool window fill',(-8,-2,7),1300,(.69,.83,1),7,(0,0,1))
|
| 348 |
+
area('Soft rim',(5,6,10),1700,(1,.75,.46),6,(0,0,0))
|
| 349 |
+
scene=bpy.context.scene
|
| 350 |
+
world=bpy.data.worlds.new('Evening studio');scene.world=world;world.use_nodes=True;world.node_tree.nodes['Background'].inputs[0].default_value=(.20,.25,.27,1);world.node_tree.nodes['Background'].inputs[1].default_value=.35
|
| 351 |
+
|
| 352 |
+
def camera(name,loc,target,ortho=None,lens=43):
|
| 353 |
+
d=bpy.data.cameras.new(name);o=bpy.data.objects.new(name,d);COL.objects.link(o);o.location=loc;o.rotation_euler=(Vector(target)-o.location).to_track_quat('-Z','Y').to_euler();d.lens=lens
|
| 354 |
+
if ortho:d.type='ORTHO';d.ortho_scale=ortho
|
| 355 |
+
return o
|
| 356 |
+
cam=camera('01 • Architectural overview',(16,-21,17),(0,0,1.15),18.4)
|
| 357 |
+
camera('02 • Dining room interior',(8,-12,6.8),(-1,1.0,1.45),None,40)
|
| 358 |
+
camera('03 • Moon gate detail',(1,-8,4.2),(-3.4,2.6,1.5),None,48)
|
| 359 |
+
scene.camera=cam;scene.render.engine='CYCLES';scene.cycles.samples=32;scene.cycles.use_denoising=True
|
| 360 |
+
try:
|
| 361 |
+
prefs=bpy.context.preferences.addons['cycles'].preferences;prefs.compute_device_type='METAL';prefs.get_devices()
|
| 362 |
+
for dev in prefs.devices:dev.use=True
|
| 363 |
+
scene.cycles.device='GPU'
|
| 364 |
+
except Exception:pass
|
| 365 |
+
scene.render.resolution_x=1800;scene.render.resolution_y=1500;scene.render.resolution_percentage=100
|
| 366 |
+
scene.render.image_settings.file_format='PNG';scene.render.filepath=str(OUT/'preview.png')
|
| 367 |
+
scene.view_settings.view_transform='AgX'
|
| 368 |
+
scene.render.film_transparent=False
|
| 369 |
+
# Convert all curve and font geometry so the GLB contains every crafted detail.
|
| 370 |
+
bpy.ops.object.select_all(action='DESELECT')
|
| 371 |
+
for o in scene.objects:
|
| 372 |
+
if o.type in {'CURVE','FONT'}:o.select_set(True)
|
| 373 |
+
if bpy.context.selected_objects:
|
| 374 |
+
bpy.context.view_layer.objects.active=bpy.context.selected_objects[0];bpy.ops.object.convert(target='MESH')
|
| 375 |
+
# Save a ready-to-open camera view.
|
| 376 |
+
for screen in bpy.data.screens:
|
| 377 |
+
for a in screen.areas:
|
| 378 |
+
if a.type=='VIEW_3D':
|
| 379 |
+
a.spaces.active.region_3d.view_perspective='CAMERA';a.spaces.active.clip_end=500
|
| 380 |
+
bpy.ops.wm.save_as_mainfile(filepath=str(OUT/'scene.blend'),compress=False)
|
| 381 |
+
# Studio lights and ground are presentation-only; portable restaurant geometry and practical lamps export.
|
| 382 |
+
bpy.ops.object.select_all(action='DESELECT')
|
| 383 |
+
for o in scene.objects:
|
| 384 |
+
if o.type=='MESH' and o!=ground:o.select_set(True)
|
| 385 |
+
bpy.ops.export_scene.gltf(filepath=str(OUT/'model.glb'),export_format='GLB',use_selection=True,export_apply=True,export_extras=False,export_cameras=False,export_lights=False)
|
| 386 |
+
print('ASSETS_SAVED',flush=True)
|
| 387 |
+
bpy.ops.render.render(write_still=True)
|
| 388 |
+
print('HERO_RENDER_COMPLETE',flush=True)
|
| 389 |
+
scene.camera=bpy.data.objects['02 • Dining room interior'];scene.render.resolution_x=1800;scene.render.resolution_y=1200;scene.render.filepath=str(OUT/'interior.png');bpy.ops.render.render(write_still=True)
|
| 390 |
+
print('INTERIOR_RENDER_COMPLETE',flush=True)
|
runs/jade-court-chinese-restaurant/artifacts/fix_glb_sheen.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Match Blender's non-unit sheen weight in the exported glTF sheen color factor."""
|
| 2 |
+
import json, struct
|
| 3 |
+
from pathlib import Path
|
| 4 |
+
p=Path(__file__).resolve().parent/'model.glb'
|
| 5 |
+
raw=p.read_bytes();jlen,jtype=struct.unpack_from('<II',raw,12);doc=json.loads(raw[20:20+jlen]);rest=raw[20+jlen:]
|
| 6 |
+
for m in doc.get('materials',[]):
|
| 7 |
+
sheen=m.get('extensions',{}).get('KHR_materials_sheen')
|
| 8 |
+
if sheen and sheen.get('sheenColorFactor')==[1.0,1.0,1.0]:
|
| 9 |
+
sheen['sheenColorFactor']=[.28,.28,.28]
|
| 10 |
+
js=json.dumps(doc,separators=(',',':'),ensure_ascii=False).encode();js+=b' '*((-len(js))%4)
|
| 11 |
+
p.write_bytes(struct.pack('<4sII',b'glTF',2,20+len(js)+len(rest))+struct.pack('<II',len(js),jtype)+js+rest)
|
| 12 |
+
print('Sheen export weights corrected.')
|
runs/jade-court-chinese-restaurant/artifacts/glb-check.png
ADDED
|
Git LFS Details
|
runs/jade-court-chinese-restaurant/artifacts/interior.png
ADDED
|
Git LFS Details
|
runs/jade-court-chinese-restaurant/artifacts/model.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a5927d516ac4bec7707e514000340746866cc7adcf6078a6dc0f1644a947226
|
| 3 |
+
size 46074860
|
runs/jade-court-chinese-restaurant/artifacts/moon-room.png
ADDED
|
Git LFS Details
|
runs/jade-court-chinese-restaurant/artifacts/polish.py
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import bpy, bmesh, math, json, runpy
|
| 2 |
+
from pathlib import Path
|
| 3 |
+
from mathutils import Vector
|
| 4 |
+
OUT=Path(__file__).resolve().parent
|
| 5 |
+
s=bpy.context.scene
|
| 6 |
+
# Seal the exposed ends of bent wood rails and structural tubing.
|
| 7 |
+
prefixes=('Curved horseshoe back rail','Chair back stile','Tapered chair leg','Chair back brass accent','Bamboo stalk','Bamboo twig','Lantern suspension','Tassel cord','Red lantern tassel','Menu stand leg','Lattice diagonal','Rosewood chopstick')
|
| 8 |
+
for ob in list(s.objects):
|
| 9 |
+
if ob.type=='MESH' and ob.name.startswith(prefixes):
|
| 10 |
+
bm=bmesh.new();bm.from_mesh(ob.data);edges=[e for e in bm.edges if e.is_boundary]
|
| 11 |
+
if edges:bmesh.ops.holes_fill(bm,edges=edges,sides=0)
|
| 12 |
+
bm.to_mesh(ob.data);bm.free()
|
| 13 |
+
# Replace the discretized gate spandrels with one precisely cut panel.
|
| 14 |
+
col=bpy.data.collections['Private dining • Moon room']
|
| 15 |
+
for ob in list(s.objects):
|
| 16 |
+
if ob.name.startswith(('Moon gate side panel','Gate lower spandrel','Gate upper spandrel')):bpy.data.objects.remove(ob,do_unlink=True)
|
| 17 |
+
bpy.ops.mesh.primitive_cube_add(size=1,location=(-3.5,1.96,1.83));panel=bpy.context.object;panel.name='Continuous moon gate panel';panel.dimensions=(4.69,.15,3.14);bpy.ops.object.transform_apply(location=False,rotation=False,scale=True)
|
| 18 |
+
for c in list(panel.users_collection):c.objects.unlink(panel)
|
| 19 |
+
col.objects.link(panel);panel.data.materials.append(bpy.data.materials['Jade green upholstery'])
|
| 20 |
+
bpy.ops.mesh.primitive_cylinder_add(vertices=192,radius=1.40,depth=1.0,location=(-3.5,1.96,1.66),rotation=(math.pi/2,0,0));cut=bpy.context.object
|
| 21 |
+
bpy.context.view_layer.objects.active=panel;mod=panel.modifiers.new('True circular moon opening','BOOLEAN');mod.operation='DIFFERENCE';mod.object=cut;bpy.ops.object.modifier_apply(modifier=mod.name);bpy.data.objects.remove(cut,do_unlink=True)
|
| 22 |
+
mod=panel.modifiers.new('Fine panel edges','BEVEL');mod.width=.006;mod.segments=3
|
| 23 |
+
# Smooth high-resolution lantern meridians, including ribs.
|
| 24 |
+
col=bpy.data.collections['Lighting • Silk lanterns'];silk=bpy.data.materials['Lantern silk vermilion'];oak=bpy.data.materials['Honey oak'];brass=bpy.data.materials['Brushed aged brass']
|
| 25 |
+
for ob in list(s.objects):
|
| 26 |
+
if ob.name.startswith('Lantern silk rib'):bpy.data.objects.remove(ob,do_unlink=True)
|
| 27 |
+
for ob in list(s.objects):
|
| 28 |
+
if not ob.name.startswith('Red silk lantern'):continue
|
| 29 |
+
pts=[v.co for v in ob.data.vertices];x=sum(p.x for p in pts)/len(pts);y=sum(p.y for p in pts)/len(pts);z=(min(p.z for p in pts)+max(p.z for p in pts))/2;r=max(p.x for p in pts)-x
|
| 30 |
+
prof=[(.07,-.40),(.20,-.36),(r*.94,-.22),(r,0),(r*.94,.22),(.20,.36),(.07,.40)];smooth=[]
|
| 31 |
+
for j in range(len(prof)-1):
|
| 32 |
+
p0=Vector(prof[max(0,j-1)]);p1=Vector(prof[j]);p2=Vector(prof[j+1]);p3=Vector(prof[min(len(prof)-1,j+2)])
|
| 33 |
+
for k in range(12):
|
| 34 |
+
t=k/12;v=.5*((2*p1)+(-p0+p2)*t+(2*p0-5*p1+4*p2-p3)*t*t+(-p0+3*p1-3*p2+p3)*t*t*t);smooth.append(v)
|
| 35 |
+
smooth.append(Vector(prof[-1]));vs=[];fs=[];N=96
|
| 36 |
+
for rr,zz in smooth:
|
| 37 |
+
for i in range(N):a=i*math.tau/N;vs.append((x+rr*math.cos(a),y+rr*math.sin(a),z+zz))
|
| 38 |
+
for j in range(len(smooth)-1):
|
| 39 |
+
for i in range(N):a=j*N+i;b=j*N+(i+1)%N;fs.append((a,b,b+N,a+N))
|
| 40 |
+
me=bpy.data.meshes.new('Smooth lantern silk');me.from_pydata(vs,[],fs);me.materials.append(silk);ob.data=me
|
| 41 |
+
for f in me.polygons:f.use_smooth=True
|
| 42 |
+
for i in range(16):
|
| 43 |
+
a=i*math.tau/16;cu=bpy.data.curves.new('Smooth lantern rib','CURVE');cu.dimensions='3D';cu.bevel_depth=.005;cu.bevel_resolution=3;cu.use_fill_caps=True;sp=cu.splines.new('POLY');sp.points.add(len(smooth)-1)
|
| 44 |
+
for point,(rr,zz) in zip(sp.points,smooth):point.co=(x+(rr+.003)*math.cos(a),y+(rr+.003)*math.sin(a),z+zz,1)
|
| 45 |
+
rib=bpy.data.objects.new('Smooth lantern rib',cu);col.objects.link(rib);cu.materials.append(oak)
|
| 46 |
+
bpy.ops.mesh.primitive_cylinder_add(vertices=24,radius=.011,depth=.13,location=(x,y,z+.445));o=bpy.context.object;o.name='Lantern suspension connector';o.data.materials.append(brass)
|
| 47 |
+
# Move beyond the reception sign for a clear eye-level view.
|
| 48 |
+
cam=bpy.data.objects['02 • Dining room interior'];cam.location=(2.5,-4.45,1.85);cam.rotation_euler=(Vector((-1.1,1.7,1.70))-cam.location).to_track_quat('-Z','Y').to_euler();cam.data.lens=25
|
| 49 |
+
bpy.ops.object.select_all(action='DESELECT')
|
| 50 |
+
for o in s.objects:
|
| 51 |
+
if o.type=='CURVE':o.select_set(True)
|
| 52 |
+
if bpy.context.selected_objects:bpy.context.view_layer.objects.active=bpy.context.selected_objects[0];bpy.ops.object.convert(target='MESH')
|
| 53 |
+
enc=bpy.data.collections['Optional full enclosure • Enable for interior cameras']
|
| 54 |
+
enc.hide_render=True;enc.hide_viewport=True
|
| 55 |
+
s.camera=bpy.data.objects['01 • Architectural overview'];s.render.resolution_x=3200;s.render.resolution_y=2667;s.render.filepath=str(OUT/'preview.png')
|
| 56 |
+
bpy.ops.wm.save_as_mainfile(filepath=str(OUT/'scene.blend'),compress=False)
|
| 57 |
+
bpy.ops.object.select_all(action='DESELECT')
|
| 58 |
+
for ob in s.objects:
|
| 59 |
+
if ob.type=='MESH' and ob.name!='Studio ground' and enc not in ob.users_collection:ob.select_set(True)
|
| 60 |
+
bpy.ops.export_scene.gltf(filepath=str(OUT/'model.glb'),export_format='GLB',use_selection=True,export_apply=True,export_extras=False,export_cameras=False,export_lights=False)
|
| 61 |
+
runpy.run_path(str(OUT/'fix_glb_sheen.py'))
|
| 62 |
+
print('POLISHED_ASSETS_SAVED',flush=True)
|
| 63 |
+
bpy.ops.render.render(write_still=True);print('POLISHED_OVERVIEW',flush=True)
|
| 64 |
+
enc.hide_render=False;enc.hide_viewport=False
|
| 65 |
+
for name in ['Large softbox','Cool window fill','Soft rim']:bpy.data.objects[name].hide_render=True
|
| 66 |
+
bpy.data.objects['Front window illumination'].hide_render=False
|
| 67 |
+
for ob in s.objects:
|
| 68 |
+
if ob.type=='LIGHT' and ob.name.startswith('Lantern warm pool'):ob.data.energy=100
|
| 69 |
+
for cam,filename,res in [('02 • Dining room interior','interior.png',(3200,2133)),('03 • Moon gate detail','moon-room.png',(2560,1920))]:
|
| 70 |
+
s.camera=bpy.data.objects[cam];s.render.filepath=str(OUT/filename);s.render.resolution_x=res[0];s.render.resolution_y=res[1];bpy.ops.render.render(write_still=True);print('POLISHED_RENDER',filename,flush=True)
|
| 71 |
+
enc.hide_render=True;enc.hide_viewport=True
|
| 72 |
+
for name in ['Large softbox','Cool window fill','Soft rim']:bpy.data.objects[name].hide_render=False
|
| 73 |
+
bpy.data.objects['Front window illumination'].hide_render=True
|
| 74 |
+
for ob in s.objects:
|
| 75 |
+
if ob.type=='LIGHT' and ob.name.startswith('Lantern warm pool'):ob.data.energy=65
|
| 76 |
+
s.camera=bpy.data.objects['01 • Architectural overview'];s.render.resolution_x=3200;s.render.resolution_y=2667;s.render.filepath=str(OUT/'preview.png')
|
| 77 |
+
bpy.ops.wm.save_as_mainfile(filepath=str(OUT/'scene.blend'),compress=False)
|
| 78 |
+
print('FINAL_SCENE_SAVED',flush=True)
|
runs/jade-court-chinese-restaurant/artifacts/preview.png
ADDED
|
Git LFS Details
|
runs/jade-court-chinese-restaurant/artifacts/refine.py
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import bpy, math, json, random
|
| 2 |
+
from mathutils import Vector
|
| 3 |
+
from pathlib import Path
|
| 4 |
+
import numpy as np
|
| 5 |
+
OUT=Path(__file__).resolve().parent
|
| 6 |
+
s=bpy.context.scene
|
| 7 |
+
random.seed(70)
|
| 8 |
+
# Image-based normal detail remains embedded in the GLB.
|
| 9 |
+
def normal_image(name,kind,N=1024):
|
| 10 |
+
yy,xx=np.mgrid[0:N,0:N];rng=np.random.default_rng(29)
|
| 11 |
+
if kind=='fabric': h=.36*np.sin(xx*math.tau/10)*np.cos(yy*math.tau/10)+rng.normal(0,.045,(N,N))
|
| 12 |
+
elif kind=='wood':h=.15*np.sin(xx*.42+np.sin(yy*.021)*4)+rng.normal(0,.03,(N,N))
|
| 13 |
+
else:h=rng.normal(0,.075,(N,N))+.05*np.sin(xx*.2)*np.sin(yy*.19)
|
| 14 |
+
dy,dx=np.gradient(h);v=np.dstack((-dx,-dy,np.ones_like(dx)));v/=np.linalg.norm(v,axis=2)[:,:,None]
|
| 15 |
+
px=np.ones((N,N,4),dtype=np.float32);px[:,:,:3]=v*.5+.5
|
| 16 |
+
im=bpy.data.images.new(name,width=N,height=N);im.colorspace_settings.name='Non-Color';im.pixels.foreach_set(px.ravel());im.pack();return im
|
| 17 |
+
normals={k:normal_image(k.title()+' microscopic surface',k) for k in ['fabric','wood','stone']}
|
| 18 |
+
for m in bpy.data.materials:
|
| 19 |
+
if not m.use_nodes:continue
|
| 20 |
+
p=m.node_tree.nodes.get('Principled BSDF')
|
| 21 |
+
if not p:continue
|
| 22 |
+
kind=None
|
| 23 |
+
if any(k in m.name.lower() for k in ['upholstery','linen','silk']):kind='fabric';p.inputs['Sheen Weight'].default_value=.28;p.inputs['Sheen Roughness'].default_value=.75
|
| 24 |
+
elif 'walnut' in m.name.lower() or 'oak' in m.name.lower():kind='wood';p.inputs['Coat Weight'].default_value=.2;p.inputs['Coat Roughness'].default_value=.3
|
| 25 |
+
elif any(k in m.name.lower() for k in ['limestone','plaster','stone']):kind='stone'
|
| 26 |
+
if kind:
|
| 27 |
+
tex=m.node_tree.nodes.new('ShaderNodeTexImage');tex.image=normals[kind]
|
| 28 |
+
nm=m.node_tree.nodes.new('ShaderNodeNormalMap');nm.inputs['Strength'].default_value=.25 if kind=='fabric' else .16
|
| 29 |
+
m.node_tree.links.new(tex.outputs['Color'],nm.inputs['Color']);m.node_tree.links.new(nm.outputs['Normal'],p.inputs['Normal'])
|
| 30 |
+
if any(k in m.name for k in ['porcelain','glaze']):p.inputs['Coat Weight'].default_value=.35;p.inputs['Coat Roughness'].default_value=.14
|
| 31 |
+
if 'Lantern silk' in m.name:
|
| 32 |
+
p.inputs['Subsurface Weight'].default_value=.07;p.inputs['Transmission Weight'].default_value=.12
|
| 33 |
+
# Upholstery piping follows each individual curved seat's local coordinates.
|
| 34 |
+
col=bpy.data.collections.new('Fine details • Seams and joinery');s.collection.children.link(col)
|
| 35 |
+
def tube(name,points,r,mat):
|
| 36 |
+
cu=bpy.data.curves.new(name,'CURVE');cu.dimensions='3D';cu.bevel_depth=r;cu.bevel_resolution=3
|
| 37 |
+
sp=cu.splines.new('POLY');sp.points.add(len(points)-1)
|
| 38 |
+
for p,xyz in zip(sp.points,points):p.co=(*xyz,1)
|
| 39 |
+
ob=bpy.data.objects.new(name,cu);col.objects.link(ob);cu.materials.append(mat);return ob
|
| 40 |
+
|
| 41 |
+
def rounded_rect(w,h,r,z):
|
| 42 |
+
pts=[]
|
| 43 |
+
for x,y,a in [(w/2-r,h/2-r,0),(-w/2+r,h/2-r,90),(-w/2+r,-h/2+r,180),(w/2-r,-h/2+r,270)]:
|
| 44 |
+
for j in range(13):
|
| 45 |
+
t=math.radians(a+j*90/12);pts.append((x+r*math.cos(t),y+r*math.sin(t),z))
|
| 46 |
+
pts.append(pts[0]);return pts
|
| 47 |
+
for ob in list(s.objects):
|
| 48 |
+
if ob.name.startswith('Upholstered chair seat'):
|
| 49 |
+
pts=[ob.matrix_world@Vector(v) for v in rounded_rect(.512,.472,.055,.027)]
|
| 50 |
+
tube('Tailored cushion piping',pts,.004,ob.data.materials[0])
|
| 51 |
+
if ob.name.startswith('Banquette seat'):
|
| 52 |
+
pts=[ob.matrix_world@Vector(v) for v in rounded_rect(.83,1.89,.075,.064)]
|
| 53 |
+
tube('Banquette perimeter piping',pts,.005,bpy.data.materials['Garnet upholstery'])
|
| 54 |
+
# Add subtle glazed cobalt motifs to the large jar and tiny table vase sprigs.
|
| 55 |
+
blue=bpy.data.materials['Cobalt glaze'];gold=bpy.data.materials['Brushed aged brass']
|
| 56 |
+
for i in range(16):
|
| 57 |
+
a=i*math.tau/16
|
| 58 |
+
pts=[]
|
| 59 |
+
for j in range(33):
|
| 60 |
+
t=j*math.tau/32;th=a+.10*math.sin(t);z=.42+.11*math.cos(t);r=.302
|
| 61 |
+
pts.append((-1.38+r*math.cos(th),3.38+r*math.sin(th),z))
|
| 62 |
+
tube('Ginger vase painted petal',pts,.004,blue)
|
| 63 |
+
# Chair joinery and dowels are physically modeled.
|
| 64 |
+
for ob in list(s.objects):
|
| 65 |
+
if ob.name.startswith('Chair seat frame'):
|
| 66 |
+
for dx in [-.21,.21]:
|
| 67 |
+
loc=ob.matrix_world@Vector((dx,-.273,0))
|
| 68 |
+
bpy.ops.mesh.primitive_uv_sphere_add(segments=16,ring_count=8,radius=.009,location=loc)
|
| 69 |
+
pin=bpy.context.object;pin.name='Brass chair joinery pin';pin.data.materials.append(gold)
|
| 70 |
+
# Smooth ceramics with real subdivision to support close render inspection.
|
| 71 |
+
for ob in list(s.objects):
|
| 72 |
+
if ob.type=='MESH' and any(ob.name.startswith(n) for n in ['Celadon teapot','Teapot lid finial','Steamed dumpling','Tea canister','Display ginger jar','Floor porcelain vase','Rice bowl','Tea cup','Celadon dinner plate']):
|
| 73 |
+
mod=ob.modifiers.new('High resolution ceramic surface','SUBSURF');mod.levels=1;mod.render_levels=2
|
| 74 |
+
# Curve seams are also part of portable geometry.
|
| 75 |
+
bpy.ops.object.select_all(action='DESELECT')
|
| 76 |
+
for ob in s.objects:
|
| 77 |
+
if ob.type=='CURVE':ob.select_set(True)
|
| 78 |
+
if bpy.context.selected_objects:
|
| 79 |
+
bpy.context.view_layer.objects.active=bpy.context.selected_objects[0];bpy.ops.object.convert(target='MESH')
|
| 80 |
+
# Refine plant leaves into gently curved, thin surfaces.
|
| 81 |
+
for ob in list(s.objects):
|
| 82 |
+
if ob.name.startswith('Bamboo lanceolate leaf'):
|
| 83 |
+
verts=[v.co.copy() for v in ob.data.vertices]
|
| 84 |
+
if len(verts)!=4:continue
|
| 85 |
+
start,end=verts[0],verts[2];side=(verts[1]-verts[3])*.5;v=[];f=[]
|
| 86 |
+
for i in range(13):
|
| 87 |
+
t=i/12;mid=start.lerp(end,t);mid.z+=.024*math.sin(math.pi*t)
|
| 88 |
+
for j in [-1,0,1]:
|
| 89 |
+
q=mid+side*j*math.sin(math.pi*t);q.z-=abs(j)*.008*math.sin(math.pi*t);v.append(q)
|
| 90 |
+
for i in range(12):
|
| 91 |
+
for j in range(2):a=i*3+j;f.append((a,a+1,a+4,a+3))
|
| 92 |
+
me=bpy.data.meshes.new('Curved bamboo leaf surface');me.from_pydata(v,[],f);me.materials.append(bpy.data.materials['Bamboo leaf']);ob.data=me
|
| 93 |
+
for face in me.polygons:face.use_smooth=True
|
| 94 |
+
mod=ob.modifiers.new('Thin leaf membrane','SOLIDIFY');mod.thickness=.0008
|
| 95 |
+
# Richer natural cloth colors and softer silk glow.
|
| 96 |
+
for name,color in [('Garnet upholstery',(.12,.011,.015)),('Jade green upholstery',(.026,.092,.065))]:
|
| 97 |
+
p=bpy.data.materials[name].node_tree.nodes.get('Principled BSDF');p.inputs['Base Color'].default_value=(*color,1)
|
| 98 |
+
bpy.data.materials['Lantern silk vermilion'].node_tree.nodes.get('Principled BSDF').inputs['Emission Strength'].default_value=.12
|
| 99 |
+
# Optional architectural enclosure is saved in Blender for eye-level photographs.
|
| 100 |
+
enc=bpy.data.collections.new('Optional full enclosure • Enable for interior cameras');s.collection.children.link(enc)
|
| 101 |
+
def enclosure_box(name,loc,dim,mat):
|
| 102 |
+
bpy.ops.mesh.primitive_cube_add(size=1,location=loc);ob=bpy.context.object;ob.name=name;ob.dimensions=dim
|
| 103 |
+
bpy.ops.object.transform_apply(location=False,rotation=False,scale=True)
|
| 104 |
+
for c in list(ob.users_collection):c.objects.unlink(ob)
|
| 105 |
+
enc.objects.link(ob);ob.data.materials.append(mat);return ob
|
| 106 |
+
plaster=bpy.data.materials['Warm ivory plaster'];wood=bpy.data.materials['Smoked walnut']
|
| 107 |
+
enclosure_box('Full ceiling',(0,0,4.04),(12.15,10.2,.18),plaster)
|
| 108 |
+
enclosure_box('East enclosure wall',(6.10,0,1.95),(.15,10.2,3.9),plaster)
|
| 109 |
+
enclosure_box('South enclosure wall',(0,-5.1,1.95),(12.2,.15,3.9),plaster)
|
| 110 |
+
for x in [-4.5,-1.5,1.5,4.5]:enclosure_box('Ceiling inset batten',(x,0,3.94),(.045,10,.075),wood)
|
| 111 |
+
enc.hide_render=True;enc.hide_viewport=True
|
| 112 |
+
cam=bpy.data.objects['02 • Dining room interior'];cam.location=(4.0,-4.65,1.85);cam.rotation_euler=(Vector((-1.3,1.8,1.6))-cam.location).to_track_quat('-Z','Y').to_euler();cam.data.lens=26
|
| 113 |
+
cam=bpy.data.objects['03 • Moon gate detail'];cam.location=(1.9,-2.1,1.85);cam.rotation_euler=(Vector((-3.2,2.35,1.5))-cam.location).to_track_quat('-Z','Y').to_euler();cam.data.lens=40
|
| 114 |
+
|
| 115 |
+
# Save portable model and high quality native scene.
|
| 116 |
+
prefs=bpy.context.preferences.addons['cycles'].preferences;prefs.compute_device_type='METAL';prefs.get_devices()
|
| 117 |
+
for d in prefs.devices:d.use=d.type=='METAL'
|
| 118 |
+
s.cycles.device='GPU';s.cycles.samples=160;s.cycles.adaptive_threshold=.012;s.cycles.use_denoising=True
|
| 119 |
+
s.render.resolution_x=3200;s.render.resolution_y=2667;s.render.resolution_percentage=100
|
| 120 |
+
s.camera=bpy.data.objects['01 • Architectural overview'];s.render.filepath=str(OUT/'preview.png')
|
| 121 |
+
s['Design']='Jade Court — contemporary Chinese restaurant architectural cutaway'
|
| 122 |
+
s['Sections']='Main dining, west banquettes, private moon room, tea bar, reception, bamboo garden'
|
| 123 |
+
s['Units']='meters'
|
| 124 |
+
s['Export note']='GLB contains restaurant geometry and embedded PBR textures. Studio backdrop and studio lights omitted.'
|
| 125 |
+
s.unit_settings.system='METRIC'
|
| 126 |
+
bpy.ops.wm.save_as_mainfile(filepath=str(OUT/'scene.blend'),compress=False)
|
| 127 |
+
bpy.ops.object.select_all(action='DESELECT')
|
| 128 |
+
for ob in s.objects:
|
| 129 |
+
if ob.type=='MESH' and ob.name!='Studio ground' and enc not in ob.users_collection:ob.select_set(True)
|
| 130 |
+
bpy.ops.export_scene.gltf(filepath=str(OUT/'model.glb'),export_format='GLB',use_selection=True,export_apply=True,export_extras=False,export_cameras=False,export_lights=False)
|
| 131 |
+
print('REFINED_ASSETS_SAVED',flush=True)
|
| 132 |
+
bpy.ops.render.render(write_still=True)
|
| 133 |
+
print('FINAL_OVERVIEW_RENDERED',flush=True)
|
| 134 |
+
enc.hide_render=False;enc.hide_viewport=False
|
| 135 |
+
# Interior practical lighting and broad window illumination.
|
| 136 |
+
for name in ['Large softbox','Cool window fill','Soft rim']:bpy.data.objects[name].hide_render=True
|
| 137 |
+
for ob in s.objects:
|
| 138 |
+
if ob.type=='LIGHT' and ob.name.startswith('Lantern warm pool'):ob.data.energy=100
|
| 139 |
+
d=bpy.data.lights.new('Front window illumination','AREA');d.energy=700;d.color=(1,.88,.72);d.shape='RECTANGLE';d.size=7;d.size_y=2.3
|
| 140 |
+
o=bpy.data.objects.new('Front window illumination',d);s.collection.objects.link(o);o.location=(0,-4.95,2.4);o.rotation_euler=(Vector((0,1,1))-o.location).to_track_quat('-Z','Y').to_euler()
|
| 141 |
+
s.camera=bpy.data.objects['02 • Dining room interior'];s.render.resolution_x=3200;s.render.resolution_y=2133;s.render.filepath=str(OUT/'interior.png')
|
| 142 |
+
bpy.ops.render.render(write_still=True)
|
| 143 |
+
print('FINAL_INTERIOR_RENDERED',flush=True)
|
| 144 |
+
s.camera=bpy.data.objects['03 • Moon gate detail'];s.render.resolution_x=2560;s.render.resolution_y=1920;s.render.filepath=str(OUT/'moon-room.png')
|
| 145 |
+
bpy.ops.render.render(write_still=True)
|
| 146 |
+
print('FINAL_DETAIL_RENDERED',flush=True)
|
| 147 |
+
enc.hide_render=True;enc.hide_viewport=True
|
| 148 |
+
bpy.data.objects['Front window illumination'].hide_render=True
|
| 149 |
+
for name in ['Large softbox','Cool window fill','Soft rim']:bpy.data.objects[name].hide_render=False
|
| 150 |
+
for ob in s.objects:
|
| 151 |
+
if ob.type=='LIGHT' and ob.name.startswith('Lantern warm pool'):ob.data.energy=65
|
| 152 |
+
s.camera=bpy.data.objects['01 • Architectural overview'];s.render.resolution_x=3200;s.render.resolution_y=2667;s.render.filepath=str(OUT/'preview.png')
|
| 153 |
+
bpy.ops.wm.save_as_mainfile(filepath=str(OUT/'scene.blend'),compress=False)
|
| 154 |
+
dg=bpy.context.evaluated_depsgraph_get();tri=0
|
| 155 |
+
for ob in s.objects:
|
| 156 |
+
if ob.type=='MESH' and ob.name!='Studio ground' and enc not in ob.users_collection:
|
| 157 |
+
ev=ob.evaluated_get(dg);me=ev.to_mesh();me.calc_loop_triangles();tri+=len(me.loop_triangles);ev.to_mesh_clear()
|
| 158 |
+
report={'mesh_objects':sum(o.type=='MESH' for o in s.objects),'evaluated_restaurant_triangles':tri,'render_samples':160,'overview_resolution':[3200,2667],'interior_resolution':[3200,2133],'detail_resolution':[2560,1920],'embedded_image_textures':len([i for i in bpy.data.images if i.packed_file]),'sections':['Main dining','Banquettes','Private moon room','Tea bar','Reception','Bamboo garden']}
|
| 159 |
+
(OUT/'scene-statistics.json').write_text(json.dumps(report,indent=2));print(json.dumps(report),flush=True)
|
runs/jade-court-chinese-restaurant/artifacts/sanitize.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Prepare the saved native restaurant for a public dataset while preserving originals."""
|
| 2 |
+
import bpy
|
| 3 |
+
from pathlib import Path
|
| 4 |
+
OUT=Path(__file__).resolve().parent
|
| 5 |
+
s=bpy.context.scene
|
| 6 |
+
enc=bpy.data.collections.get('Optional full enclosure • Enable for interior cameras')
|
| 7 |
+
for ob in s.objects:
|
| 8 |
+
if ob.name=='Studio ground' or enc in ob.users_collection:
|
| 9 |
+
ob.hide_render=True;ob.hide_set(True)
|
| 10 |
+
for text in list(bpy.data.texts):bpy.data.texts.remove(text)
|
| 11 |
+
for im in bpy.data.images:
|
| 12 |
+
if im.packed_file:im.filepath='//'+im.name.replace(' ','-')+'.png'
|
| 13 |
+
s.render.filepath='//preview.png'
|
| 14 |
+
for screen in bpy.data.screens:
|
| 15 |
+
for area in screen.areas:
|
| 16 |
+
for sp in area.spaces:
|
| 17 |
+
if sp.type=='FILE_BROWSER' and sp.params:
|
| 18 |
+
sp.params.directory=b'/' + b'_'*1000
|
| 19 |
+
sp.params.directory=b'//';sp.params.filename='scene.blend'
|
| 20 |
+
bpy.ops.outliner.orphans_purge(do_local_ids=True,do_linked_ids=True,do_recursive=True)
|
| 21 |
+
bpy.ops.wm.save_as_mainfile(filepath=str(OUT/'scene.blend'),compress=False)
|
| 22 |
+
print('SANITIZED_SCENE_SAVED')
|
runs/jade-court-chinese-restaurant/artifacts/scene-statistics.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mesh_objects": 1864,
|
| 3 |
+
"evaluated_restaurant_triangles": 1627749,
|
| 4 |
+
"render_samples": 160,
|
| 5 |
+
"overview_resolution": [
|
| 6 |
+
3200,
|
| 7 |
+
2667
|
| 8 |
+
],
|
| 9 |
+
"interior_resolution": [
|
| 10 |
+
3200,
|
| 11 |
+
2133
|
| 12 |
+
],
|
| 13 |
+
"detail_resolution": [
|
| 14 |
+
2560,
|
| 15 |
+
1920
|
| 16 |
+
],
|
| 17 |
+
"embedded_image_textures": 5,
|
| 18 |
+
"sections": [
|
| 19 |
+
"Main dining",
|
| 20 |
+
"Banquettes",
|
| 21 |
+
"Private moon room",
|
| 22 |
+
"Tea bar",
|
| 23 |
+
"Reception",
|
| 24 |
+
"Bamboo garden"
|
| 25 |
+
],
|
| 26 |
+
"exported_mesh_objects": 1856,
|
| 27 |
+
"final_geometry_polished": true
|
| 28 |
+
}
|
runs/jade-court-chinese-restaurant/artifacts/scene.blend
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ceaf73de77509eff0157207e5b973ae88253e551059d9ac81ce3d09d6f64017f
|
| 3 |
+
size 69412592
|
runs/jade-court-chinese-restaurant/artifacts/validation.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"native_geometry": {
|
| 3 |
+
"objects": 1856,
|
| 4 |
+
"triangles": 1627749,
|
| 5 |
+
"min": [
|
| 6 |
+
-6.25,
|
| 7 |
+
-5.25,
|
| 8 |
+
-0.4399999976158142
|
| 9 |
+
],
|
| 10 |
+
"max": [
|
| 11 |
+
6.25,
|
| 12 |
+
5.25,
|
| 13 |
+
3.934999942779541
|
| 14 |
+
]
|
| 15 |
+
},
|
| 16 |
+
"glb_geometry": {
|
| 17 |
+
"objects": 1856,
|
| 18 |
+
"triangles": 1627749,
|
| 19 |
+
"min": [
|
| 20 |
+
-6.25,
|
| 21 |
+
-5.25,
|
| 22 |
+
-0.4399999976158142
|
| 23 |
+
],
|
| 24 |
+
"max": [
|
| 25 |
+
6.25,
|
| 26 |
+
5.25,
|
| 27 |
+
3.934999942779541
|
| 28 |
+
]
|
| 29 |
+
},
|
| 30 |
+
"triangle_count_matches": true,
|
| 31 |
+
"world_bounds_match": true,
|
| 32 |
+
"glb_import_success": true,
|
| 33 |
+
"note": "The GLB excludes the optional enclosure, studio ground, cameras and lights. PBR textures are embedded."
|
| 34 |
+
}
|
runs/jade-court-chinese-restaurant/mesh.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6fdeb6d62fa048a84c93bfdc5abd9d676ddb1626a2251f5913dd7076f69cf02
|
| 3 |
+
size 38041922
|
runs/jade-court-chinese-restaurant/metadata.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "0.3.0",
|
| 3 |
+
"title": "Jade Court Chinese Restaurant",
|
| 4 |
+
"source": {
|
| 5 |
+
"platform": "Codex"
|
| 6 |
+
},
|
| 7 |
+
"task": {
|
| 8 |
+
"prompt": "Create a 3D Blender rendering of a chinese restaurant. It should include tables, chairs, Asian-appropriate decor, sections, and so on. Complete it and render a final GLB as well as a final .blend file to complete it.",
|
| 9 |
+
"task_type": "3d-modeling"
|
| 10 |
+
},
|
| 11 |
+
"agent": {
|
| 12 |
+
"host": "Codex",
|
| 13 |
+
"model": null
|
| 14 |
+
},
|
| 15 |
+
"summary": {
|
| 16 |
+
"message_count": 7,
|
| 17 |
+
"step_count": 24
|
| 18 |
+
},
|
| 19 |
+
"artifacts": [
|
| 20 |
+
{
|
| 21 |
+
"path": "artifacts/README.md",
|
| 22 |
+
"mime_type": "text/markdown",
|
| 23 |
+
"size_bytes": 3510,
|
| 24 |
+
"role": "final",
|
| 25 |
+
"privacy_review": "text_scanned"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"path": "artifacts/create.py",
|
| 29 |
+
"mime_type": "text/x-python",
|
| 30 |
+
"size_bytes": 24071,
|
| 31 |
+
"role": "final",
|
| 32 |
+
"privacy_review": "text_scanned"
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"path": "artifacts/fix_glb_sheen.py",
|
| 36 |
+
"mime_type": "text/x-python",
|
| 37 |
+
"size_bytes": 724,
|
| 38 |
+
"role": "final",
|
| 39 |
+
"privacy_review": "text_scanned"
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"path": "artifacts/glb-check.png",
|
| 43 |
+
"mime_type": "image/png",
|
| 44 |
+
"size_bytes": 2279742,
|
| 45 |
+
"role": "final",
|
| 46 |
+
"privacy_review": "manual_review_required"
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"path": "artifacts/interior.png",
|
| 50 |
+
"mime_type": "image/png",
|
| 51 |
+
"size_bytes": 8963208,
|
| 52 |
+
"role": "final",
|
| 53 |
+
"privacy_review": "manual_review_required"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"path": "artifacts/model.glb",
|
| 57 |
+
"mime_type": "model/gltf-binary",
|
| 58 |
+
"size_bytes": 46074860,
|
| 59 |
+
"role": "final",
|
| 60 |
+
"privacy_review": "manual_review_required"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"path": "artifacts/moon-room.png",
|
| 64 |
+
"mime_type": "image/png",
|
| 65 |
+
"size_bytes": 6351872,
|
| 66 |
+
"role": "final",
|
| 67 |
+
"privacy_review": "manual_review_required"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"path": "artifacts/polish.py",
|
| 71 |
+
"mime_type": "text/x-python",
|
| 72 |
+
"size_bytes": 6490,
|
| 73 |
+
"role": "final",
|
| 74 |
+
"privacy_review": "text_scanned"
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"path": "artifacts/preview.png",
|
| 78 |
+
"mime_type": "image/png",
|
| 79 |
+
"size_bytes": 10577648,
|
| 80 |
+
"role": "final",
|
| 81 |
+
"privacy_review": "manual_review_required"
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"path": "artifacts/refine.py",
|
| 85 |
+
"mime_type": "text/x-python",
|
| 86 |
+
"size_bytes": 11189,
|
| 87 |
+
"role": "final",
|
| 88 |
+
"privacy_review": "text_scanned"
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"path": "artifacts/sanitize.py",
|
| 92 |
+
"mime_type": "text/x-python",
|
| 93 |
+
"size_bytes": 1009,
|
| 94 |
+
"role": "final",
|
| 95 |
+
"privacy_review": "text_scanned"
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"path": "artifacts/scene-statistics.json",
|
| 99 |
+
"mime_type": "application/json",
|
| 100 |
+
"size_bytes": 482,
|
| 101 |
+
"role": "final",
|
| 102 |
+
"privacy_review": "text_scanned"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"path": "artifacts/scene.blend",
|
| 106 |
+
"mime_type": "application/octet-stream",
|
| 107 |
+
"size_bytes": 69412592,
|
| 108 |
+
"role": "final",
|
| 109 |
+
"privacy_review": "manual_review_required"
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"path": "artifacts/validation.json",
|
| 113 |
+
"mime_type": "application/json",
|
| 114 |
+
"size_bytes": 637,
|
| 115 |
+
"role": "final",
|
| 116 |
+
"privacy_review": "text_scanned"
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"redaction": {
|
| 120 |
+
"performed": true,
|
| 121 |
+
"matches_redacted": 0
|
| 122 |
+
},
|
| 123 |
+
"outcome": {
|
| 124 |
+
"status": "partial"
|
| 125 |
+
}
|
| 126 |
+
}
|
runs/jade-court-chinese-restaurant/trace.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "0.3.0",
|
| 3 |
+
"title": "Jade Court Chinese Restaurant",
|
| 4 |
+
"messages": [
|
| 5 |
+
{
|
| 6 |
+
"role": "user",
|
| 7 |
+
"content": "Create a 3D Blender rendering of a chinese restaurant. It should include tables, chairs, Asian-appropriate decor, sections, and so on. Complete it and render a final GLB as well as a final .blend file to complete it."
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"role": "assistant",
|
| 11 |
+
"content": "I’ll build a detailed restaurant interior with dining areas, a host station, warm lantern lighting, and Chinese-inspired woodwork, then deliver the Blender scene, a GLB model, and a rendered preview."
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"role": "assistant",
|
| 15 |
+
"content": "The design is a warm “Jade Court” interior: a main dining room, upholstered booths, a private dining area behind a circular moon gate, and a tea bar. I’m building it as an open architectural cutaway so the furniture, table settings, and decorative details stay visible in the final model."
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"role": "user",
|
| 19 |
+
"content": "Make sure that it is a high-poly rendering and extremely realistic"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"role": "assistant",
|
| 23 |
+
"content": "I’ll push the realism further with high-resolution geometry, rounded furniture edges, detailed ceramics and table settings, textured wood, and physically based lighting. I’ll also render a closer interior view so you can judge the materials and detail beyond the overview."
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"role": "assistant",
|
| 27 |
+
"content": "The model has about 1.4 million triangles, and the GLB’s geometry matches the Blender scene exactly. The close-up review caught a few details to polish—chair rail ends, lantern attachments, and the moon gate’s inner edge—which I’m fixing before the final render pass."
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"role": "assistant",
|
| 31 |
+
"content": "Completed with 1.63 million triangles, six furnished areas, detailed materials, and three high-resolution renders. The GLB was verified against the Blender scene."
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"steps": [
|
| 35 |
+
{
|
| 36 |
+
"type": "tool_call",
|
| 37 |
+
"name": "Inspect Blender environment",
|
| 38 |
+
"description": "Read the capture skill and confirmed the installed Blender executable.",
|
| 39 |
+
"input": {
|
| 40 |
+
"action": "Blender --version"
|
| 41 |
+
},
|
| 42 |
+
"input_omitted": "Unrelated workspace inventory omitted.",
|
| 43 |
+
"index": 1
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"type": "tool_result",
|
| 47 |
+
"name": "Installed Blender",
|
| 48 |
+
"description": "Blender 5.1.2 was available.",
|
| 49 |
+
"status": "success",
|
| 50 |
+
"index": 2
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"type": "tool_call",
|
| 54 |
+
"name": "Write restaurant creation code",
|
| 55 |
+
"description": "Created the retained artifacts/create.py using bpy mesh, curve, material, lighting and camera operations.",
|
| 56 |
+
"input": {
|
| 57 |
+
"file": "artifacts/create.py"
|
| 58 |
+
},
|
| 59 |
+
"input_omitted": "Full code is retained as the artifact rather than duplicated in this step.",
|
| 60 |
+
"index": 3
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"type": "tool_call",
|
| 64 |
+
"name": "Initial Blender launch",
|
| 65 |
+
"description": "Executed the creation script in background Blender.",
|
| 66 |
+
"input": {
|
| 67 |
+
"script": "artifacts/create.py"
|
| 68 |
+
},
|
| 69 |
+
"index": 4
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "tool_result",
|
| 73 |
+
"name": "Graphics initialization failure",
|
| 74 |
+
"description": "Blender exited during Metal graphics initialization before modeling.",
|
| 75 |
+
"status": "failed",
|
| 76 |
+
"output_omitted": "Raw machine stack trace omitted; failure description retained.",
|
| 77 |
+
"index": 5
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"type": "tool_call",
|
| 81 |
+
"name": "Run Blender with graphics access",
|
| 82 |
+
"description": "Retried background Blender with approved graphics access.",
|
| 83 |
+
"input": {
|
| 84 |
+
"script": "artifacts/create.py"
|
| 85 |
+
},
|
| 86 |
+
"index": 6
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"type": "tool_result",
|
| 90 |
+
"name": "Creation script error",
|
| 91 |
+
"description": "The moon gate code referenced an undefined variable.",
|
| 92 |
+
"output": "NameError: name 'ngx' is not defined. Did you mean: 'gx'?",
|
| 93 |
+
"status": "failed",
|
| 94 |
+
"index": 7
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"type": "tool_call",
|
| 98 |
+
"name": "Correct and increase detail",
|
| 99 |
+
"description": "Corrected the gate variable, increased mesh resolution, bevel segments and texture size, then ran Blender again.",
|
| 100 |
+
"input": {
|
| 101 |
+
"script": "artifacts/create.py",
|
| 102 |
+
"correction": "gx renamed to ngx",
|
| 103 |
+
"sphere_segments": 48,
|
| 104 |
+
"sphere_rings": 24,
|
| 105 |
+
"wood_texture_size": 1024
|
| 106 |
+
},
|
| 107 |
+
"index": 8
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"type": "tool_result",
|
| 111 |
+
"name": "Initial scene and renders saved",
|
| 112 |
+
"description": "Saved the native scene, GLB and two camera renders.",
|
| 113 |
+
"output": [
|
| 114 |
+
"ASSETS_SAVED",
|
| 115 |
+
"HERO_RENDER_COMPLETE",
|
| 116 |
+
"INTERIOR_RENDER_COMPLETE"
|
| 117 |
+
],
|
| 118 |
+
"status": "success",
|
| 119 |
+
"index": 9
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"type": "tool_call",
|
| 123 |
+
"name": "Inspect initial render images",
|
| 124 |
+
"description": "Viewed the overview and initial interior PNGs.",
|
| 125 |
+
"input": {
|
| 126 |
+
"images": [
|
| 127 |
+
"preview.png",
|
| 128 |
+
"interior.png"
|
| 129 |
+
]
|
| 130 |
+
},
|
| 131 |
+
"index": 10
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"type": "tool_call",
|
| 135 |
+
"name": "Refine materials and geometry",
|
| 136 |
+
"description": "Wrote and executed artifacts/refine.py in Blender: microscopic surface normals, upholstery piping, joinery, glazed ceramics, curved leaves and the optional enclosure.",
|
| 137 |
+
"input": {
|
| 138 |
+
"script": "artifacts/refine.py",
|
| 139 |
+
"cycles_samples": 160
|
| 140 |
+
},
|
| 141 |
+
"index": 11
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"type": "tool_result",
|
| 145 |
+
"name": "Refined scene and renders",
|
| 146 |
+
"description": "Saved three refined camera views and the updated assets.",
|
| 147 |
+
"output": {
|
| 148 |
+
"restaurant_triangles": 1420821,
|
| 149 |
+
"overview_resolution": [
|
| 150 |
+
3200,
|
| 151 |
+
2667
|
| 152 |
+
],
|
| 153 |
+
"interior_resolution": [
|
| 154 |
+
3200,
|
| 155 |
+
2133
|
| 156 |
+
],
|
| 157 |
+
"detail_resolution": [
|
| 158 |
+
2560,
|
| 159 |
+
1920
|
| 160 |
+
]
|
| 161 |
+
},
|
| 162 |
+
"status": "success",
|
| 163 |
+
"index": 12
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"type": "tool_call",
|
| 167 |
+
"name": "Import and compare GLB",
|
| 168 |
+
"description": "Reopened the native scene and imported the GLB for geometry comparison and a test render.",
|
| 169 |
+
"input": {
|
| 170 |
+
"action": "bpy.ops.import_scene.gltf"
|
| 171 |
+
},
|
| 172 |
+
"index": 13
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "tool_result",
|
| 176 |
+
"name": "Initial geometry comparison",
|
| 177 |
+
"description": "Native and exported geometry had identical triangle counts and world bounds.",
|
| 178 |
+
"output": {
|
| 179 |
+
"triangles_each": 1420821,
|
| 180 |
+
"bounds_match": true
|
| 181 |
+
},
|
| 182 |
+
"status": "success",
|
| 183 |
+
"index": 14
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "tool_call",
|
| 187 |
+
"name": "Inspect exported appearance",
|
| 188 |
+
"description": "Viewed the imported GLB render and inspected material factors. The fabric sheen appeared excessive.",
|
| 189 |
+
"input": {
|
| 190 |
+
"image": "glb-check.png"
|
| 191 |
+
},
|
| 192 |
+
"index": 15
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "tool_call",
|
| 196 |
+
"name": "Correct sheen export",
|
| 197 |
+
"description": "Created fix_glb_sheen.py to match the Blender sheen weight in the glTF sheenColorFactor.",
|
| 198 |
+
"input": {
|
| 199 |
+
"sheen_color_factor": [
|
| 200 |
+
0.28,
|
| 201 |
+
0.28,
|
| 202 |
+
0.28
|
| 203 |
+
]
|
| 204 |
+
},
|
| 205 |
+
"index": 16
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "tool_call",
|
| 209 |
+
"name": "Inspect eye-level interior",
|
| 210 |
+
"description": "Viewed the refined interior render; noticed open rail ends, lantern suspension gaps, stair-stepped gate edges and a foreground reception sign.",
|
| 211 |
+
"input": {
|
| 212 |
+
"image": "interior.png"
|
| 213 |
+
},
|
| 214 |
+
"index": 17
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "tool_call",
|
| 218 |
+
"name": "Polish construction and framing",
|
| 219 |
+
"description": "Wrote and executed artifacts/polish.py in Blender to cap rails, connect lanterns, create a true Boolean moon opening, smooth lantern meridians, and reposition the interior camera.",
|
| 220 |
+
"input": {
|
| 221 |
+
"script": "artifacts/polish.py"
|
| 222 |
+
},
|
| 223 |
+
"index": 18
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "tool_result",
|
| 227 |
+
"name": "Polished final assets",
|
| 228 |
+
"description": "Saved the final native scene, corrected GLB and all three final renders.",
|
| 229 |
+
"output": [
|
| 230 |
+
"POLISHED_ASSETS_SAVED",
|
| 231 |
+
"POLISHED_OVERVIEW",
|
| 232 |
+
"POLISHED_RENDER interior.png",
|
| 233 |
+
"POLISHED_RENDER moon-room.png",
|
| 234 |
+
"FINAL_SCENE_SAVED"
|
| 235 |
+
],
|
| 236 |
+
"status": "success",
|
| 237 |
+
"index": 19
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"type": "tool_call",
|
| 241 |
+
"name": "Validate final export",
|
| 242 |
+
"description": "Imported the polished GLB into Blender and compared evaluated geometry.",
|
| 243 |
+
"input": {
|
| 244 |
+
"action": "bpy.ops.import_scene.gltf",
|
| 245 |
+
"checks": [
|
| 246 |
+
"triangle count",
|
| 247 |
+
"world bounds",
|
| 248 |
+
"embedded images",
|
| 249 |
+
"rendered appearance"
|
| 250 |
+
]
|
| 251 |
+
},
|
| 252 |
+
"index": 20
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "tool_result",
|
| 256 |
+
"name": "Final export verified",
|
| 257 |
+
"description": "The polished native and exported restaurant geometry matched.",
|
| 258 |
+
"output": {
|
| 259 |
+
"mesh_objects": 1856,
|
| 260 |
+
"triangles_each": 1627749,
|
| 261 |
+
"minimum": [
|
| 262 |
+
-6.25,
|
| 263 |
+
-5.25,
|
| 264 |
+
-0.4399999976158142
|
| 265 |
+
],
|
| 266 |
+
"maximum": [
|
| 267 |
+
6.25,
|
| 268 |
+
5.25,
|
| 269 |
+
3.934999942779541
|
| 270 |
+
],
|
| 271 |
+
"embedded_images": 5,
|
| 272 |
+
"required_decoder_extensions": []
|
| 273 |
+
},
|
| 274 |
+
"status": "success",
|
| 275 |
+
"index": 21
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "tool_call",
|
| 279 |
+
"name": "Inspect final renders",
|
| 280 |
+
"description": "Viewed the polished overview, imported GLB test render, clear eye-level dining view and moon-room close-up.",
|
| 281 |
+
"input": {
|
| 282 |
+
"images": [
|
| 283 |
+
"preview.png",
|
| 284 |
+
"glb-check.png",
|
| 285 |
+
"interior.png",
|
| 286 |
+
"moon-room.png"
|
| 287 |
+
]
|
| 288 |
+
},
|
| 289 |
+
"index": 22
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "tool_call",
|
| 293 |
+
"name": "Prepare sanitized contribution copy",
|
| 294 |
+
"description": "Selected only final Blender assets, modeling code, render images, documentation and verification results. Executed sanitize.py on a copy to remove local output paths and folder history and hide the non-exported studio ground and optional enclosure per object.",
|
| 295 |
+
"input": {
|
| 296 |
+
"script": "artifacts/sanitize.py"
|
| 297 |
+
},
|
| 298 |
+
"index": 23
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "tool_call",
|
| 302 |
+
"name": "Remove render metadata",
|
| 303 |
+
"description": "Inspected PNG metadata, found local scene paths and render timestamps, and removed text and EXIF metadata chunks from selected PNG copies without changing image pixels.",
|
| 304 |
+
"index": 24
|
| 305 |
+
}
|
| 306 |
+
],
|
| 307 |
+
"final_response": "Completed with 1.63 million triangles, six furnished areas, detailed materials, and three high-resolution renders. The GLB was verified against the Blender scene.",
|
| 308 |
+
"limitations": [
|
| 309 |
+
"Partial reconstruction from visible conversation, retained modeling scripts and observed execution results; repeated polling and full raw host tool envelopes are omitted.",
|
| 310 |
+
"The contributed Blender scene hides the studio ground and optional enclosure per object so its visible restaurant geometry matches the GLB. The supplied PNGs retain the original studio or enclosed-room presentation.",
|
| 311 |
+
"Blender-specific lighting and some material behavior can differ in external GLB viewers. The GLB contains embedded PBR textures and no cameras, lights or optional enclosure.",
|
| 312 |
+
"No user-provided attachments are included. No hidden reasoning, system instructions, local account paths, raw host identifiers or credentials are included."
|
| 313 |
+
]
|
| 314 |
+
}
|
runs/jade-court-chinese-restaurant/viewer.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4f59d6a684fc709afb3260199d8a3c1009e21e898f84954aa851084b9b82fd4
|
| 3 |
+
size 10599779
|