Skip to content

Commit bb84fbb

Browse files
committed
blender: Adjust light and camera a bit.
1 parent 7462966 commit bb84fbb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

blender/animate.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def orientPlayer(pos, obj, arma):
361361
# script will malfunction if there's keyframes in its way
362362

363363
camera = bpy.data.objects['camera']
364-
lightoff = Vector((0, 0, 8))
364+
lightoff = Vector((0, 2, 6))
365365
initial_pos = positions[0]
366366

367367
banner_height = 4.47 # todo: query
@@ -371,10 +371,10 @@ def set_cam(center, rot):
371371

372372
camera.rotation_mode = 'XYZ'
373373
camera.rotation_euler.z = rot
374-
camera.rotation_euler.x = 1.25
374+
camera.rotation_euler.x = 1.27
375375
camera.rotation_euler.y = 0
376376

377-
campos = center + Vector((sin(rot) * 4, 1, cos(rot) * 4))
377+
campos = center + Vector((sin(rot) * 4.3, 1, cos(rot) * 4.3))
378378

379379
camera.location.x = campos.x
380380
camera.location.y = -campos.z
@@ -460,7 +460,7 @@ def movelight(to):
460460

461461
rot += rotspeed
462462

463-
if rotspeed < 0.015: rotspeed += 0.000035
463+
if rotspeed < 0.013: rotspeed += 0.000035
464464

465465
#p = blue
466466
#cmu_enrich(p)

0 commit comments

Comments
 (0)