Skip to content

Commit 4dfd87a

Browse files
committed
screenshots folder and readme
1 parent 3a75386 commit 4dfd87a

11 files changed

+28
-0
lines changed

screenshots/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Screenshots
2+
3+
Here you can see some screenshots of the showcase program utilizing the library. Pay attention to the texts on the images. You can see how much time the frame rendering took in the top left corner.
4+
5+
## Spaceship
6+
7+
This is a very simple model created within the demo program itself. *(An object file format and loader is planned, but this object is created programatically at this time.)*
8+
9+
![The spaceship](spaceship.png)
10+
![And from behind](spaceship_behind.png)
11+
12+
As you can see in the bottom left corner, there are some features that can be toggled, which change the output significantly. Most are for debug purposes though.
13+
14+
Turning off the "lighting/shading" gives us uniformly colored surfaces, which makes the spaceship lose its 3D appearance.
15+
16+
![Spaceship without lighting and shading](spaceship_nonlighted.png)
17+
18+
Turning on the wireframing and some debug options we can see each objects' translation and transformation, each one originating from the absolute center (or its parent's center). Objects can be arranged in a tree-like structure, each object having its sub-objects. Transforming and translating these parent objects affect their childrens' position, size and rotation.
19+
20+
![Wireframing and debug segments](spaceship_wireframe_translations.png)
21+
22+
Another debug feature is the "bumpmap" shader, which changes every triangles' color based on its facing direction. This gives objects a colorful look.
23+
24+
![Bumpmapped spaceship](spaceship_bumpmap.png)
25+
26+
## Icosahedron
27+
28+
There are some screenshots in this directory of an icosahedron, which can be refined endlessly, making it more and more spherical.
490 KB
Loading

screenshots/icosa_refined.png

45.2 KB
Loading
133 KB
Loading

screenshots/icosa_rough.png

17 KB
Loading

screenshots/spaceship.png

24.6 KB
Loading

screenshots/spaceship_behind.png

20.3 KB
Loading

screenshots/spaceship_bumpmap.png

26.8 KB
Loading
76.9 KB
Loading

screenshots/spaceship_nonlighted.png

15.2 KB
Loading
56.2 KB
Loading

0 commit comments

Comments
 (0)