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