Where is the slate generated?

General discussions and questions.
Post Reply
tobkum
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
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Where is the slate generated?

Post by timurhai »

Hi!

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.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply