Skip to content

Commit 3c8d0e0

Browse files
committed
fix: relight light-link-studio plaques for card-scale readability
Closer camera left the LINKED/UNLINKED floor plaques out of frame, and they were unreadable in the decoy's dark zone regardless. Plaques moved into view with a faint self-glow so both read at thumbnail (the decoy stays dark — that is the contract). Ratio re-verified: 4.0x on 5.1.2, rise 276%, drift 0.0%; check green on 4.5.11 too. Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.com>
1 parent 80886eb commit 3c8d0e0

5 files changed

Lines changed: 12 additions & 4 deletions

File tree

1.43 KB
Loading
784 Bytes
Loading

docs/gallery/light-link-studio/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ <h2>Source</h2>
324324
cam = bpy.data.cameras.new(<span class="s">&quot;Cam&quot;</span>)
325325
cam.lens = <span class="n">55.0</span>
326326
cam_ob = bpy.data.objects.new(<span class="s">&quot;Cam&quot;</span>, cam)
327-
cam_ob.location = (<span class="n">0.0</span>, -<span class="n">6.4</span>, <span class="n">1.35</span>)
327+
cam_ob.location = (<span class="n">0.0</span>, -<span class="n">5.9</span>, <span class="n">1.32</span>)
328328
cam_ob.rotation_euler = (math.radians(<span class="n">86</span>), <span class="n">0.0</span>, <span class="n">0.0</span>)
329329
sc.collection.objects.link(cam_ob)
330330
sc.camera = cam_ob
@@ -444,13 +444,17 @@ <h2>Source</h2>
444444
pb.inputs[<span class="s">&quot;Base Color&quot;</span>].default_value = (<span class="n">0.42</span>, <span class="n">0.44</span>, <span class="n">0.48</span>, <span class="n">1.0</span>)
445445
pb.inputs[<span class="s">&quot;Metallic&quot;</span>].default_value = <span class="n">0.2</span>
446446
pb.inputs[<span class="s">&quot;Roughness&quot;</span>].default_value = <span class="n">0.6</span>
447+
<span class="c"># faint self-glow: the LINKED plaque must read even in the decoy&#x27;s dark</span>
448+
sock = pb.inputs.get(<span class="s">&quot;Emission Color&quot;</span>) <span class="k">or</span> pb.inputs[<span class="s">&quot;Emission&quot;</span>]
449+
sock.default_value = (<span class="n">0.35</span>, <span class="n">0.37</span>, <span class="n">0.42</span>, <span class="n">1.0</span>)
450+
pb.inputs[<span class="s">&quot;Emission Strength&quot;</span>].default_value = <span class="n">0.6</span>
447451
cu = bpy.data.curves.new(<span class="s">&quot;Plaque&quot;</span>, <span class="s">&#x27;FONT&#x27;</span>)
448452
cu.body = text
449453
cu.align_x = <span class="s">&#x27;CENTER&#x27;</span>
450454
cu.size = <span class="n">0.20</span>
451455
cu.extrude = <span class="n">0.006</span>
452456
ob = bpy.data.objects.new(<span class="s">&quot;Plaque&quot;</span>, cu)
453-
ob.location = (x, -<span class="n">1.05</span>, <span class="n">0.01</span>)
457+
ob.location = (x, -<span class="n">0.68</span>, <span class="n">0.01</span>)
454458
ob.data.materials.append(pm)
455459
sc.collection.objects.link(ob)
456460

examples/light-link-studio/light_link_studio.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def build_studio(sc):
119119
cam = bpy.data.cameras.new("Cam")
120120
cam.lens = 55.0
121121
cam_ob = bpy.data.objects.new("Cam", cam)
122-
cam_ob.location = (0.0, -6.4, 1.35)
122+
cam_ob.location = (0.0, -5.9, 1.32)
123123
cam_ob.rotation_euler = (math.radians(86), 0.0, 0.0)
124124
sc.collection.objects.link(cam_ob)
125125
sc.camera = cam_ob
@@ -239,13 +239,17 @@ def plaque(sc, text, x):
239239
pb.inputs["Base Color"].default_value = (0.42, 0.44, 0.48, 1.0)
240240
pb.inputs["Metallic"].default_value = 0.2
241241
pb.inputs["Roughness"].default_value = 0.6
242+
# faint self-glow: the LINKED plaque must read even in the decoy's dark
243+
sock = pb.inputs.get("Emission Color") or pb.inputs["Emission"]
244+
sock.default_value = (0.35, 0.37, 0.42, 1.0)
245+
pb.inputs["Emission Strength"].default_value = 0.6
242246
cu = bpy.data.curves.new("Plaque", 'FONT')
243247
cu.body = text
244248
cu.align_x = 'CENTER'
245249
cu.size = 0.20
246250
cu.extrude = 0.006
247251
ob = bpy.data.objects.new("Plaque", cu)
248-
ob.location = (x, -1.05, 0.01)
252+
ob.location = (x, -0.68, 0.01)
249253
ob.data.materials.append(pm)
250254
sc.collection.objects.link(ob)
251255

1.1 KB
Loading

0 commit comments

Comments
 (0)