summaryrefslogtreecommitdiff
path: root/gfx/doc
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2023-01-03 08:49:54 -0800
committer3gg <3gg@shellblade.net>2023-01-03 08:49:54 -0800
commit1e3fcf5b38d67fb54102786be74af42be5c6792f (patch)
tree88bff4e24121c50d0e3c62f5ddb4eff6a3dfa238 /gfx/doc
Initial commit.
Diffstat (limited to 'gfx/doc')
-rw-r--r--gfx/doc/extern/2013SiggraphPresentationsNotes-26915738.pdfbin0 -> 2947929 bytes
-rw-r--r--gfx/doc/gfx.pngbin0 -> 6272 bytes
-rw-r--r--gfx/doc/gfx.txt10
-rw-r--r--gfx/doc/gltfOverview-2.0.0b.pngbin0 -> 4757973 bytes
-rw-r--r--gfx/doc/pipeline.pngbin0 -> 10318 bytes
-rw-r--r--gfx/doc/pipeline.txt16
-rw-r--r--gfx/doc/renderer.pngbin0 -> 13144 bytes
-rw-r--r--gfx/doc/renderer.txt18
-rw-r--r--gfx/doc/scene.pngbin0 -> 45239 bytes
-rw-r--r--gfx/doc/scene.txt80
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
3class Gfx {
4
5}
6
7Gfx --> Render
8Gfx *-- 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
3class RenderPipeline {
4
5}
6
7RenderPipeline *-- RenderPass
8
9class RenderPass {
10 +clear colour
11}
12
13RenderPass --> Shader
14RenderPass 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
3class Render {
4
5}
6
7Render *-- RenderPipeline
8Render --> Assets
9
10class Assets {
11
12}
13
14Assets *-- Shader
15Assets *-- Geometry
16Assets *-- 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
3class Scene {
4
5}
6
7Scene *-- Camera
8Scene *-- Node
9
10class Camera {
11
12}
13
14class Node {
15 + transform
16}
17
18Node *-- Object
19Node o-- Light : "affected by"
20Node o-- Camera
21Node *-- Node
22
23class Object {
24 + transform
25}
26
27Object *-- Mesh
28
29class Mesh {
30
31}
32
33Mesh --> BoundingVolume
34Mesh --> Geometry
35Mesh --> Material
36
37class Geometry {
38 + positions
39 + normals
40 + texcoords
41 + indices
42}
43
44class BoundingVolume {
45
46}
47
48class Material {
49 + shader params
50}
51
52Material --> Shader
53Material o-- Texture
54
55class Shader {
56 + uniforms
57}
58
59Shader --> VertexShader
60Shader --> FragmentShader
61
62class VertexShader {
63 + pos
64 + normal
65 + texcoords
66 + Modelview
67 + Projection
68}
69
70class FragmentShader {
71 + lights
72 + textures
73}
74
75class Texture {
76 + pixels
77 + format
78}
79
80@enduml