we might have foreground3 too
This commit is contained in:
parent
73a9481ef1
commit
72ab1b1d13
1 changed files with 9 additions and 1 deletions
10
render.py
10
render.py
|
@ -95,7 +95,15 @@ def compose(clips, target=150, base=1024, voice_over=None):
|
|||
else:
|
||||
foley = fg
|
||||
if 'foreground2' in clip:
|
||||
if chance(seq, 0.5):
|
||||
if 'foreground3' in clip:
|
||||
n = seq()
|
||||
if n <= 3: # 0,1,2,3
|
||||
clip['foreground']
|
||||
elif n <= 6: # 4,5,6
|
||||
clip['foreground2']
|
||||
else: # 7,8,9
|
||||
clip['foreground3']
|
||||
elif chance(seq, 0.5):
|
||||
fg = clip['foreground2']
|
||||
|
||||
scene['front']['V1'].append({
|
||||
|
|
Loading…
Reference in a new issue