Intro to the “Core” Blender Source Code
Brad Eric Hollister · Apress eBooks · 2020
The goal of this chapter is to familiarize you with the Blender “core” source, and is intended to be the starting point for the rest of the book. Blender’s codebase is written primarily in the C programming language. Part of this introduction is a preliminary discussion of Blender’s CMake build system. Additionally, we provide an execution trace of how Blender registers an operator, and of the execution of its callback. Much of this book will be easier to digest, if you make an effort to browse the source code in a text editor—ideally, after reading the associated passage. If you have not yet downloaded and compiled the Blender source code, you will eventually want to do so. However, this chapter may be read first.