diff options
author | 3gg <3gg@shellblade.net> | 2023-01-03 08:49:54 -0800 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2023-01-03 08:49:54 -0800 |
commit | 1e3fcf5b38d67fb54102786be74af42be5c6792f (patch) | |
tree | 88bff4e24121c50d0e3c62f5ddb4eff6a3dfa238 /gfx/doc |
Initial commit.
Diffstat (limited to 'gfx/doc')
-rw-r--r-- | gfx/doc/extern/2013SiggraphPresentationsNotes-26915738.pdf | bin | 0 -> 2947929 bytes | |||
-rw-r--r-- | gfx/doc/gfx.png | bin | 0 -> 6272 bytes | |||
-rw-r--r-- | gfx/doc/gfx.txt | 10 | ||||
-rw-r--r-- | gfx/doc/gltfOverview-2.0.0b.png | bin | 0 -> 4757973 bytes | |||
-rw-r--r-- | gfx/doc/pipeline.png | bin | 0 -> 10318 bytes | |||
-rw-r--r-- | gfx/doc/pipeline.txt | 16 | ||||
-rw-r--r-- | gfx/doc/renderer.png | bin | 0 -> 13144 bytes | |||
-rw-r--r-- | gfx/doc/renderer.txt | 18 | ||||
-rw-r--r-- | gfx/doc/scene.png | bin | 0 -> 45239 bytes | |||
-rw-r--r-- | gfx/doc/scene.txt | 80 |
10 files changed, 124 insertions, 0 deletions
diff --git a/gfx/doc/extern/2013SiggraphPresentationsNotes-26915738.pdf b/gfx/doc/extern/2013SiggraphPresentationsNotes-26915738.pdf new file mode 100644 index 0000000..989658e --- /dev/null +++ b/gfx/doc/extern/2013SiggraphPresentationsNotes-26915738.pdf | |||
Binary files differ | |||
diff --git a/gfx/doc/gfx.png b/gfx/doc/gfx.png new file mode 100644 index 0000000..e64f6e1 --- /dev/null +++ b/gfx/doc/gfx.png | |||
Binary files differ | |||
diff --git a/gfx/doc/gfx.txt b/gfx/doc/gfx.txt new file mode 100644 index 0000000..d3ce01b --- /dev/null +++ b/gfx/doc/gfx.txt | |||
@@ -0,0 +1,10 @@ | |||
1 | @startuml | ||
2 | |||
3 | class Gfx { | ||
4 | |||
5 | } | ||
6 | |||
7 | Gfx --> Render | ||
8 | Gfx *-- Scene | ||
9 | |||
10 | @enduml | ||
diff --git a/gfx/doc/gltfOverview-2.0.0b.png b/gfx/doc/gltfOverview-2.0.0b.png new file mode 100644 index 0000000..6a5bb61 --- /dev/null +++ b/gfx/doc/gltfOverview-2.0.0b.png | |||
Binary files differ | |||
diff --git a/gfx/doc/pipeline.png b/gfx/doc/pipeline.png new file mode 100644 index 0000000..426f39e --- /dev/null +++ b/gfx/doc/pipeline.png | |||
Binary files differ | |||
diff --git a/gfx/doc/pipeline.txt b/gfx/doc/pipeline.txt new file mode 100644 index 0000000..51523d6 --- /dev/null +++ b/gfx/doc/pipeline.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | @startuml | ||
2 | |||
3 | class RenderPipeline { | ||
4 | |||
5 | } | ||
6 | |||
7 | RenderPipeline *-- RenderPass | ||
8 | |||
9 | class RenderPass { | ||
10 | +clear colour | ||
11 | } | ||
12 | |||
13 | RenderPass --> Shader | ||
14 | RenderPass o-- RenderTarget | ||
15 | |||
16 | @enduml | ||
diff --git a/gfx/doc/renderer.png b/gfx/doc/renderer.png new file mode 100644 index 0000000..d0516b0 --- /dev/null +++ b/gfx/doc/renderer.png | |||
Binary files differ | |||
diff --git a/gfx/doc/renderer.txt b/gfx/doc/renderer.txt new file mode 100644 index 0000000..90b18f8 --- /dev/null +++ b/gfx/doc/renderer.txt | |||
@@ -0,0 +1,18 @@ | |||
1 | @startuml | ||
2 | |||
3 | class Render { | ||
4 | |||
5 | } | ||
6 | |||
7 | Render *-- RenderPipeline | ||
8 | Render --> Assets | ||
9 | |||
10 | class Assets { | ||
11 | |||
12 | } | ||
13 | |||
14 | Assets *-- Shader | ||
15 | Assets *-- Geometry | ||
16 | Assets *-- Texture | ||
17 | |||
18 | @enduml | ||
diff --git a/gfx/doc/scene.png b/gfx/doc/scene.png new file mode 100644 index 0000000..017e91b --- /dev/null +++ b/gfx/doc/scene.png | |||
Binary files differ | |||
diff --git a/gfx/doc/scene.txt b/gfx/doc/scene.txt new file mode 100644 index 0000000..dc22927 --- /dev/null +++ b/gfx/doc/scene.txt | |||
@@ -0,0 +1,80 @@ | |||
1 | @startuml | ||
2 | |||
3 | class Scene { | ||
4 | |||
5 | } | ||
6 | |||
7 | Scene *-- Camera | ||
8 | Scene *-- Node | ||
9 | |||
10 | class Camera { | ||
11 | |||
12 | } | ||
13 | |||
14 | class Node { | ||
15 | + transform | ||
16 | } | ||
17 | |||
18 | Node *-- Object | ||
19 | Node o-- Light : "affected by" | ||
20 | Node o-- Camera | ||
21 | Node *-- Node | ||
22 | |||
23 | class Object { | ||
24 | + transform | ||
25 | } | ||
26 | |||
27 | Object *-- Mesh | ||
28 | |||
29 | class Mesh { | ||
30 | |||
31 | } | ||
32 | |||
33 | Mesh --> BoundingVolume | ||
34 | Mesh --> Geometry | ||
35 | Mesh --> Material | ||
36 | |||
37 | class Geometry { | ||
38 | + positions | ||
39 | + normals | ||
40 | + texcoords | ||
41 | + indices | ||
42 | } | ||
43 | |||
44 | class BoundingVolume { | ||
45 | |||
46 | } | ||
47 | |||
48 | class Material { | ||
49 | + shader params | ||
50 | } | ||
51 | |||
52 | Material --> Shader | ||
53 | Material o-- Texture | ||
54 | |||
55 | class Shader { | ||
56 | + uniforms | ||
57 | } | ||
58 | |||
59 | Shader --> VertexShader | ||
60 | Shader --> FragmentShader | ||
61 | |||
62 | class VertexShader { | ||
63 | + pos | ||
64 | + normal | ||
65 | + texcoords | ||
66 | + Modelview | ||
67 | + Projection | ||
68 | } | ||
69 | |||
70 | class FragmentShader { | ||
71 | + lights | ||
72 | + textures | ||
73 | } | ||
74 | |||
75 | class Texture { | ||
76 | + pixels | ||
77 | + format | ||
78 | } | ||
79 | |||
80 | @enduml | ||