File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ def parse_cli():
5050 action = "store_true" ,
5151 help = "Render at a high quality" ,
5252 ),
53+ parser .add_argument (
54+ "--four_k" ,
55+ action = "store_true" ,
56+ help = "Render at a 4K quality" ,
57+ ),
5358 parser .add_argument (
5459 "-g" , "--save_pngs" ,
5560 action = "store_true" ,
@@ -214,6 +219,8 @@ def get_camera_configuration(args):
214219 camera_config .update (manimlib .constants .MEDIUM_QUALITY_CAMERA_CONFIG )
215220 elif args .high_quality :
216221 camera_config .update (manimlib .constants .HIGH_QUALITY_CAMERA_CONFIG )
222+ elif args .four_k :
223+ camera_config .update (manimlib .constants .FOURK_CAMERA_CONFIG )
217224 else :
218225 camera_config .update (manimlib .constants .PRODUCTION_QUALITY_CAMERA_CONFIG )
219226
Original file line number Diff line number Diff line change @@ -115,6 +115,12 @@ class MyText(Text):
115115"""
116116
117117# There might be other configuration than pixel shape later...
118+ FOURK_CAMERA_CONFIG = {
119+ "pixel_height" : 2160 ,
120+ "pixel_width" : 3840 ,
121+ "frame_rate" : 60 ,
122+ }
123+
118124PRODUCTION_QUALITY_CAMERA_CONFIG = {
119125 "pixel_height" : 1440 ,
120126 "pixel_width" : 2560 ,
You can’t perform that action at this time.
0 commit comments