Skip to content

Commit 80886eb

Browse files
committed
fix: reframe the gamma-cross bench for card-scale readability
The t=0 crimson panel kissed the left frame edge and read as a black slot at card scale, the panel row was sparse, and the floor caption was unreadable. The bench is now dense and fully inside the frame with margins, and the caption material carries a faint self-glow so it survives thumbnail scale. Render-path only; the check is untouched and re-verified on 5.1.2 and 4.5.11. Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.com>
1 parent a54356f commit 80886eb

5 files changed

Lines changed: 12 additions & 6 deletions

File tree

604 Bytes
Loading
178 Bytes
Loading

‎docs/gallery/vse-gamma-cross/index.html‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ <h2>Source</h2>
408408
<span class="k">try</span>:
409409
bmesh.ops.create_cube(bm, size=<span class="n">1.0</span>,
410410
matrix=__import__(<span class="s">&quot;mathutils&quot;</span>).Matrix.Diagonal(
411-
(<span class="n">0.52</span>, <span class="n">0.10</span>, <span class="n">0.62</span>, <span class="n">1.0</span>)))
411+
(<span class="n">0.56</span>, <span class="n">0.10</span>, <span class="n">0.66</span>, <span class="n">1.0</span>)))
412412
bm.to_mesh(me)
413413
<span class="k">finally</span>:
414414
bm.free()
@@ -438,7 +438,7 @@ <h2>Source</h2>
438438

439439
<span class="c"># two rows: the authentic fade across the top, the naive mid below it,</span>
440440
<span class="c"># framed — the gamma dip is the visible contrast</span>
441-
xs = [(-<span class="n">2.50</span> + <span class="n">0.72</span> * i) <span class="k">for</span> i <span class="k">in</span> range(<span class="n">8</span>)]
441+
xs = [(-<span class="n">2.17</span> + <span class="n">0.62</span> * i) <span class="k">for</span> i <span class="k">in</span> range(<span class="n">8</span>)]
442442
<span class="k">for</span> (f, _t), x <span class="k">in</span> zip(SAMPLES, xs):
443443
panel(<span class="s">f&quot;</span><span class="s">t</span>{_t}<span class="s">&quot;</span>, got[f], x, z=<span class="n">1.85</span>)
444444
lerp_rgb = tuple(naive(<span class="n">0.5</span>, k) <span class="k">for</span> k <span class="k">in</span> range(<span class="n">3</span>))
@@ -451,6 +451,9 @@ <h2>Source</h2>
451451
cb.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>)
452452
cb.inputs[<span class="s">&quot;Metallic&quot;</span>].default_value = <span class="n">0.2</span>
453453
cb.inputs[<span class="s">&quot;Roughness&quot;</span>].default_value = <span class="n">0.6</span>
454+
sock = cb.inputs.get(<span class="s">&quot;Emission Color&quot;</span>) <span class="k">or</span> cb.inputs[<span class="s">&quot;Emission&quot;</span>]
455+
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>)
456+
cb.inputs[<span class="s">&quot;Emission Strength&quot;</span>].default_value = <span class="n">0.6</span>
454457

455458
<span class="k">def</span> caption(text, x, z):
456459
cu = bpy.data.curves.new(<span class="s">&quot;Caption&quot;</span>, <span class="s">&#x27;FONT&#x27;</span>)
@@ -548,7 +551,7 @@ <h2>Source</h2>
548551
cam_data = bpy.data.cameras.new(<span class="s">&quot;Cam&quot;</span>)
549552
cam_data.lens = <span class="n">50.0</span>
550553
cam = bpy.data.objects.new(<span class="s">&quot;Cam&quot;</span>, cam_data)
551-
cam.location = (<span class="n">0.2</span>, -<span class="n">8.2</span>, <span class="n">2.4</span>)
554+
cam.location = (<span class="n">0.3</span>, -<span class="n">9.2</span>, <span class="n">2.5</span>)
552555
scene.collection.objects.link(cam)
553556
target = bpy.data.objects.new(<span class="s">&quot;Aim&quot;</span>, <span class="k">None</span>)
554557
target.location = (<span class="n">0.15</span>, <span class="n">0.0</span>, <span class="n">1.35</span>)
102 Bytes
Loading

‎examples/vse-gamma-cross/vse_gamma_cross.py‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def panel(name, rgb, x, z, hot=False):
202202
try:
203203
bmesh.ops.create_cube(bm, size=1.0,
204204
matrix=__import__("mathutils").Matrix.Diagonal(
205-
(0.52, 0.10, 0.62, 1.0)))
205+
(0.56, 0.10, 0.66, 1.0)))
206206
bm.to_mesh(me)
207207
finally:
208208
bm.free()
@@ -232,7 +232,7 @@ def panel(name, rgb, x, z, hot=False):
232232

233233
# two rows: the authentic fade across the top, the naive mid below it,
234234
# framed — the gamma dip is the visible contrast
235-
xs = [(-2.50 + 0.72 * i) for i in range(8)]
235+
xs = [(-2.17 + 0.62 * i) for i in range(8)]
236236
for (f, _t), x in zip(SAMPLES, xs):
237237
panel(f"t{_t}", got[f], x, z=1.85)
238238
lerp_rgb = tuple(naive(0.5, k) for k in range(3))
@@ -245,6 +245,9 @@ def panel(name, rgb, x, z, hot=False):
245245
cb.inputs["Base Color"].default_value = (0.42, 0.44, 0.48, 1.0)
246246
cb.inputs["Metallic"].default_value = 0.2
247247
cb.inputs["Roughness"].default_value = 0.6
248+
sock = cb.inputs.get("Emission Color") or cb.inputs["Emission"]
249+
sock.default_value = (0.35, 0.37, 0.42, 1.0)
250+
cb.inputs["Emission Strength"].default_value = 0.6
248251

249252
def caption(text, x, z):
250253
cu = bpy.data.curves.new("Caption", 'FONT')
@@ -342,7 +345,7 @@ def light(name, loc, energy, size, col, rot):
342345
cam_data = bpy.data.cameras.new("Cam")
343346
cam_data.lens = 50.0
344347
cam = bpy.data.objects.new("Cam", cam_data)
345-
cam.location = (0.2, -8.2, 2.4)
348+
cam.location = (0.3, -9.2, 2.5)
346349
scene.collection.objects.link(cam)
347350
target = bpy.data.objects.new("Aim", None)
348351
target.location = (0.15, 0.0, 1.35)

0 commit comments

Comments
 (0)