mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Add quick debug option
This commit is contained in:
parent
46c6074b92
commit
6959729ea1
6
main.py
6
main.py
@ -40,7 +40,11 @@ def main(args):
|
||||
genome_ptr, ngenomes = pyflam3.Genome.from_string(fp.read())
|
||||
genomes = cast(genome_ptr, POINTER(pyflam3.Genome*ngenomes)).contents
|
||||
anim = Animation(genomes)
|
||||
anim.compile()
|
||||
if '-g' in args:
|
||||
anim.compile(keep=True,
|
||||
cmp_options=('-use_fast_math', '-maxrregcount', '32', '-G'))
|
||||
else:
|
||||
anim.compile()
|
||||
anim.load()
|
||||
for n, out in enumerate(anim.render_frames()):
|
||||
noalpha = np.delete(out, 3, axis=2)
|
||||
|
Loading…
Reference in New Issue
Block a user