Where is the slate generated?

General discussions and questions.
Post Reply
Posts: 3
Joined: Wed Sep 18, 2019 9:55 am

Where is the slate generated?

Post by tobkum »

Hey Timur!

I wanted to tinker with the code a bit and wondered if you could point me to the right place of the code where the first frame/the slate of the dailies is generated, including the R/G/B squares in the top left and the grey test bar at the top.

Thanks, Tobi
User avatar
Site Admin
Posts: 610
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev

Re: Where is the slate generated?

Post by timurhai »


Dailies are generated by this command (Python script):
https://github.com/CGRU/cgru/blob/maste ... kemovie.py

That script generates each frame by:
https://github.com/CGRU/cgru/blob/maste ... keframe.py

It uses some templates to draw:
https://github.com/CGRU/cgru/tree/maste ... /templates

You can customize templates, but such things as color-bars, are created by Python script makeframe.py, not template.

Also you can run makemovie.py command line manually from terminal, add -V flag to verbose commands.
Timur Hairulin
CGRU 3.0.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
Post Reply