Support Blender Core Development with a monthly contribution.
The creators who share. Access production content and knowledge from the Open Movies.
Latest news and updates on Blender development.
Join the community and help with design, development, docs and more.
A platform to collect and display the Blender Benchmark results.
Documentation on Blender's features, tools and API.
The yearly event that brings together the Blender community in one place.
Download the latest Blender version, or try the beta!
Videos
Published by
Sometimes it can be tricky to get the computer to do exactly what you want, and it's a great victory when things finally work. It's tempting to move on to the next task at hand, but often it's better to look back and improve some things.
In this episode Sybren shows some techniques to reorganise code, with the aim of improving the readability & understandability.
00:00 Intro 01:12 Investigating the Camera Background Image panel code 02:31 Splitting the code that handles an image into a function 05:30 A little analysis of the loop 06:11 Splitting up the code further into functions 07:44 The has_bg mystery and the final flattening 13:55 Cognitive Complexity 15:00 Conclusion This video was made using Blender 3.0 alpha.
0 Comments
Join to comment publicly.