# simfeo/blender architecture

> Architecture diagram of the GitHub repository simfeo/blender, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/simfeo/blender
- Repository: https://github.com/simfeo/blender

## Overview

This is an unofficial Android/arm64/Vulkan port of Blender, the 3D creation suite. Users launch the Android activity and work in Blender across modeling, animation, simulation, rendering, compositing, motion tracking, and video editing. The graph highlights the documented Android platform and major product domains, plus sampled implementation layers for rendering, geometry attributes, tracking, physics, audio, and XR. Source excerpts are selective, so undocumented runtime connections are omitted; dashed links mark only the optional Vulkan integration documented by the README.

Main entry points: [`source/blender/blenkernel`](https://github.com/simfeo/blender/tree/android/source/blender/blenkernel) (Scene and object data), [`source/blender/draw/engines/eevee/eevee_pipeline.cc`](https://github.com/simfeo/blender/blob/android/source/blender/draw/engines/eevee/eevee_pipeline.cc) (Eevee pipelines), [`source/blender/render/intern/pipeline.cc`](https://github.com/simfeo/blender/blob/android/source/blender/render/intern/pipeline.cc) (Render pipeline), [`build_files/android/apk/app/src/main/java/org/blender/blender/BlenderActivity.java`](https://github.com/simfeo/blender/blob/android/build_files/android/apk/app/src/main/java/org/blender/blender/BlenderActivity.java) (Android activity)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_platform["Android platform"]
  node_activity["Android activity"]
  node_xr_controller["XR controller models"]
  node_ndof["3D navigation input"]
end

subgraph group_creation["3D creation"]
  node_app_engine["Blender engine integration<br/>[engine.py]"]
  node_scene_data["Scene and object data"]
  node_attributes["Geometry attributes"]
  node_tracking["Camera tracking<br/>[pipeline.cc]"]
end

subgraph group_rendering["Rendering and GPU"]
  node_viewport["Viewport drawing"]
  node_eevee["Eevee pipelines<br/>[eevee_pipeline.cc]"]
  node_render["Render pipeline<br/>[pipeline.cc]"]
  node_render_api["Render results API<br/>[RE_pipeline.h]"]
  node_vulkan[("Vulkan pipeline cache")]
end

subgraph group_simulation["Simulation and media"]
  node_physics["Bullet physics"]
  node_collision_world["Collision world<br/>[btCollisionWorld.h]"]
  node_islands["Physics islands"]
  node_audio["Audio playback"]
  node_audio_volume["Audio volume state<br/>[VolumeStorage.cpp]"]
end

subgraph group_foundations["Runtime foundations"]
  node_gltf["glTF support<br/>[tiny_gltf.h]"]
  node_logging["Logging<br/>[CLG_log.h]"]
  node_memory["Guarded allocation<br/>[MEM_guardedalloc.h]"]
end

node_user(("Blender user"))

node_user -->|"launches"| node_activity
node_activity -.->|"starts Blender"| node_app_engine
node_app_engine -.->|"uses scene data"| node_scene_data
node_scene_data -.->|"stores attributes"| node_attributes
node_scene_data -->|"supports modeling"| node_viewport
node_viewport -.->|"draws viewport"| node_eevee
node_eevee -.->|"uses Vulkan"| node_vulkan
node_scene_data -.->|"renders scene"| node_render
node_render -.->|"publishes results"| node_render_api
node_scene_data -->|"supports tracking"| node_tracking
node_scene_data -->|"supports simulation"| node_physics
node_physics -->|"queries collisions"| node_collision_world
node_collision_world -->|"groups bodies"| node_islands
node_scene_data -->|"supports video editing"| node_audio
node_audio -.->|"controls volume"| node_audio_volume
node_user -.->|"navigates scenes"| node_ndof
node_xr_controller -->|"loads model data"| node_gltf
node_render -->|"allocates render data"| node_memory
node_eevee -.->|"logs diagnostics"| node_logging

click node_activity "https://github.com/simfeo/blender/blob/android/build_files/android/apk/app/src/main/java/org/blender/blender/BlenderActivity.java"
click node_app_engine "https://github.com/simfeo/blender/blob/android/intern/cycles/blender/addon/engine.py"
click node_scene_data "https://github.com/simfeo/blender/tree/android/source/blender/blenkernel"
click node_attributes "https://github.com/simfeo/blender/blob/android/source/blender/blenkernel/intern/attribute_storage.cc"
click node_viewport "https://github.com/simfeo/blender/tree/android/source/blender/draw/engines"
click node_eevee "https://github.com/simfeo/blender/blob/android/source/blender/draw/engines/eevee/eevee_pipeline.cc"
click node_render "https://github.com/simfeo/blender/blob/android/source/blender/render/intern/pipeline.cc"
click node_render_api "https://github.com/simfeo/blender/blob/android/source/blender/render/RE_pipeline.h"
click node_vulkan "https://github.com/simfeo/blender/blob/android/source/blender/gpu/vulkan/vk_pipeline_pool.cc"
click node_tracking "https://github.com/simfeo/blender/blob/android/intern/libmv/libmv/simple_pipeline/pipeline.cc"
click node_physics "https://github.com/simfeo/blender/blob/android/extern/bullet2/src/BulletDynamics/Character/btKinematicCharacterController.cpp"
click node_collision_world "https://github.com/simfeo/blender/blob/android/extern/bullet2/src/BulletCollision/CollisionDispatch/btCollisionWorld.h"
click node_islands "https://github.com/simfeo/blender/blob/android/extern/bullet2/src/BulletDynamics/Dynamics/btSimulationIslandManagerMt.cpp"
click node_audio "https://github.com/simfeo/blender/blob/android/extern/audaspace/bindings/python/PyPlaybackManager.cpp"
click node_audio_volume "https://github.com/simfeo/blender/blob/android/extern/audaspace/src/fx/VolumeStorage.cpp"
click node_xr_controller "https://github.com/simfeo/blender/blob/android/intern/ghost/intern/GHOST_XrControllerModel.cc"
click node_ndof "https://github.com/simfeo/blender/blob/android/intern/ghost/intern/GHOST_NDOFManager.cc"
click node_gltf "https://github.com/simfeo/blender/blob/android/extern/tinygltf/tiny_gltf.h"
click node_logging "https://github.com/simfeo/blender/blob/android/intern/clog/CLG_log.h"
click node_memory "https://github.com/simfeo/blender/blob/android/intern/guardedalloc/MEM_guardedalloc.h"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_activity,node_xr_controller,node_ndof,node_user toneBlue
class node_app_engine,node_scene_data,node_attributes,node_tracking toneAmber
class node_viewport,node_eevee,node_render,node_render_api,node_vulkan toneMint
class node_physics,node_collision_world,node_islands,node_audio,node_audio_volume toneRose
class node_gltf,node_logging,node_memory toneIndigo
```

## Components

### Android platform

- [Android activity](https://github.com/simfeo/blender/blob/android/build_files/android/apk/app/src/main/java/org/blender/blender/BlenderActivity.java): `build_files/android/apk/app/src/main/java/org/blender/blender/BlenderActivity.java`
- [XR controller models](https://github.com/simfeo/blender/blob/android/intern/ghost/intern/GHOST_XrControllerModel.cc): `intern/ghost/intern/GHOST_XrControllerModel.cc`
- [3D navigation input](https://github.com/simfeo/blender/blob/android/intern/ghost/intern/GHOST_NDOFManager.cc): `intern/ghost/intern/GHOST_NDOFManager.cc`

### 3D creation

- [Blender engine integration](https://github.com/simfeo/blender/blob/android/intern/cycles/blender/addon/engine.py): `intern/cycles/blender/addon/engine.py`
- [Scene and object data](https://github.com/simfeo/blender/tree/android/source/blender/blenkernel): `source/blender/blenkernel`
- [Geometry attributes](https://github.com/simfeo/blender/blob/android/source/blender/blenkernel/intern/attribute_storage.cc): `source/blender/blenkernel/intern/attribute_storage.cc`
- [Camera tracking](https://github.com/simfeo/blender/blob/android/intern/libmv/libmv/simple_pipeline/pipeline.cc): `intern/libmv/libmv/simple_pipeline/pipeline.cc`

### Rendering and GPU

- [Viewport drawing](https://github.com/simfeo/blender/tree/android/source/blender/draw/engines): `source/blender/draw/engines`
- [Eevee pipelines](https://github.com/simfeo/blender/blob/android/source/blender/draw/engines/eevee/eevee_pipeline.cc): `source/blender/draw/engines/eevee/eevee_pipeline.cc`
- [Render pipeline](https://github.com/simfeo/blender/blob/android/source/blender/render/intern/pipeline.cc): `source/blender/render/intern/pipeline.cc`
- [Render results API](https://github.com/simfeo/blender/blob/android/source/blender/render/RE_pipeline.h): `source/blender/render/RE_pipeline.h`
- [Vulkan pipeline cache](https://github.com/simfeo/blender/blob/android/source/blender/gpu/vulkan/vk_pipeline_pool.cc): `source/blender/gpu/vulkan/vk_pipeline_pool.cc`

### Simulation and media

- [Bullet physics](https://github.com/simfeo/blender/blob/android/extern/bullet2/src/BulletDynamics/Character/btKinematicCharacterController.cpp): `extern/bullet2/src/BulletDynamics/Character/btKinematicCharacterController.cpp`
- [Collision world](https://github.com/simfeo/blender/blob/android/extern/bullet2/src/BulletCollision/CollisionDispatch/btCollisionWorld.h): `extern/bullet2/src/BulletCollision/CollisionDispatch/btCollisionWorld.h`
- [Physics islands](https://github.com/simfeo/blender/blob/android/extern/bullet2/src/BulletDynamics/Dynamics/btSimulationIslandManagerMt.cpp): `extern/bullet2/src/BulletDynamics/Dynamics/btSimulationIslandManagerMt.cpp`
- [Audio playback](https://github.com/simfeo/blender/blob/android/extern/audaspace/bindings/python/PyPlaybackManager.cpp): `extern/audaspace/bindings/python/PyPlaybackManager.cpp`
- [Audio volume state](https://github.com/simfeo/blender/blob/android/extern/audaspace/src/fx/VolumeStorage.cpp): `extern/audaspace/src/fx/VolumeStorage.cpp`

### Runtime foundations

- [glTF support](https://github.com/simfeo/blender/blob/android/extern/tinygltf/tiny_gltf.h): `extern/tinygltf/tiny_gltf.h`
- [Logging](https://github.com/simfeo/blender/blob/android/intern/clog/CLG_log.h): `intern/clog/CLG_log.h`
- [Guarded allocation](https://github.com/simfeo/blender/blob/android/intern/guardedalloc/MEM_guardedalloc.h): `intern/guardedalloc/MEM_guardedalloc.h`

### Other components

- **Blender user**

## Connections

- Blender user → Android activity: launches
- Android activity → Blender engine integration: starts Blender
- Blender engine integration → Scene and object data: uses scene data
- Scene and object data → Geometry attributes: stores attributes (evidence: `source/blender/blenkernel/intern/attribute_storage.cc`)
- Scene and object data → Viewport drawing: supports modeling (evidence: `source/blender/draw/engines/gpencil/gpencil_engine_c.cc`)
- Viewport drawing → Eevee pipelines: draws viewport (evidence: `source/blender/draw/engines/eevee/eevee_pipeline.cc`)
- Eevee pipelines → Vulkan pipeline cache: uses Vulkan
- Scene and object data → Render pipeline: renders scene (evidence: `source/blender/render/intern/pipeline.cc`)
- Render pipeline → Render results API: publishes results
- Scene and object data → Camera tracking: supports tracking
- Scene and object data → Bullet physics: supports simulation
- Bullet physics → Collision world: queries collisions (evidence: `extern/bullet2/src/BulletDynamics/Character/btKinematicCharacterController.cpp`)
- Collision world → Physics islands: groups bodies (evidence: `extern/bullet2/src/BulletDynamics/Dynamics/btSimulationIslandManagerMt.cpp`)
- Scene and object data → Audio playback: supports video editing
- Audio playback → Audio volume state: controls volume
- Blender user → 3D navigation input: navigates scenes
- XR controller models → glTF support: loads model data (evidence: `intern/ghost/intern/GHOST_XrControllerModel.cc`)
- Render pipeline → Guarded allocation: allocates render data (evidence: `source/blender/render/intern/pipeline.cc`)
- Eevee pipelines → Logging: logs diagnostics
