Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to analyse the source code of Blender

I am a beginner of Blender, my professor asked me to read the source code of Blender 2.6 and study how blender implements the material and texture block. After i have downloaded the source code, i find it is impossible for me to read whole source code, especially without detailed comment and professional manual. Is there anybody can give me some advice or offer me some learning material? For example, i am confused by how multiple layers of texture are compounded by using different blend type, like mix, add, subtract or overlay. How does blender implement these functionality?

like image 835
chenhao9255 Avatar asked Jul 31 '12 06:07

chenhao9255


People also ask

Is blender written in C or C++?

Blender is coded in 3 languages; C, C++ and Python. Python is used as an internal scripting language for Blender, the majority of the Blender code is in C and C++, so we will focus on that.

What code language does blender use?

Blender uses the Python programming language for its scripting API. The Blender Python API is based on Python 3. It is integrated deeply, used for writing add-ons, generating user interface layouts, and import and export of many file formats. It covers all user-accessible data and functionality.

How many lines of code is blender?

Blender is also a large software project (well over a million lines of code), with a great many active contributors over a lifespan of more than a decade, and it continues to be developed at a rapid rate.


1 Answers

Take a look at the code layout diagram here.

like image 129
asdfasdfgeragsergergearg Avatar answered Sep 24 '22 00:09

asdfasdfgeragsergergearg