How Do I View Blender's Source Code?

How do I view Blender's source code?  I want to edit it because Blender's physics tools are absolutely horrible and nobody seems to care except Andrew Price, who cares about everything.  (That's why I use Houdini.)  Also, what programming language was Blender written in?  Where can I find some good scripting tutorials for writing Blender add-ons?

  • ottawablenderguy replied

    Here's a short video tutorial for getting, prepping, and compiling Blender's source. As for editing, any text editor will do, but if you grab Visual Studio Community 2017, it's easier to navigate the code.

    Most of Blender is written in C and C++, but there's also a fair chunk of Python in there.

  • William Miller(williamatics) replied

    @rontarrant I tried that and it didn't work.  You'd think there'd be an easier way...

  • ottawablenderguy replied


    williamatics Yup, you'd think. I haven't seen a straightforward click-this-link to download Blender source in quite some time. It used to exist, though.

    On the other hand, these instructions are about as simplified as they can get. I followed them without trouble, but attention to minute detail is assumed by the author.

  • ottawablenderguy replied

    Oh! It does still exist: http://download.blender.org/source/

  • William Miller(williamatics) replied

    @rontarrant I downloaded the file and then double-clicked on it.  All I got was thousands of Chinese/Japanese characters.

  • ottawablenderguy replied


    williamatics It's a rar file. I'm guessing you're on Windows, so use 7-z. Just Google it.