1. Introduction
  2. 1. Coding In Scratch
    ❱
    1. 1.1. The Basics
    2. 1.2. Best practices when writing scratch code
    3. 1.3. Running Scratch code
    4. 1.4. Optimizing critical algorithms
  3. 2. Data Structures
    ❱
    1. 2.1. Storing large amount of data in Scratch
    2. 2.2. Object representation in Scratch
    3. 2.3. Mesh data in scratch
    4. 2.4. Texture storing
  4. 3. Rasterization and Triangles
    ❱
    1. 3.1. Drawing Triangles
    2. 3.2. Rendering Basics
    3. 3.3. Painter’s algorithm
    4. 3.4. BSP sorting
    5. 3.5. Depth Buffers
    6. 3.6. Projection optimizations
  5. 4. Ray-based 3D rendering
    ❱
    1. 4.1. 2.5D Ray-casting
    2. 4.2. Ray-tracing
    3. 4.3. Ray-marching
    4. 4.4. Path-tracing
    5. 4.5. Photon-Mapping
  6. 5. Sprite-Based Rendering
    ❱
    1. 5.1. Stamp Based Engine
    2. 5.2. Clone Based Engine
  7. 6. Grids
    ❱
    1. 6.1. Projection
    2. 6.2. Ray Based
  8. 7. Shading
  9. 8. Handling colors in Scratch
    ❱
    1. 8.1. Color representation in Scratch
    2. 8.2. Color conversions
    3. 8.3. Post-processing
  10. 9. BSP
  11. 10. Movement
  12. 11. BVH
  13. 12. Math functions
  14. 13. Glossary
  15. Credits

Scratch 3D Project Development

BSP sorting

See this article by littlebunny06.