Skip to content

Fix renderer demo run instructions #1780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions doc/code/renderer/demos.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The demo mostly follows the steps described in the [Level 1 Renderer - Basic Usa
documentation.

```bash
./bin/run test --demo renderer.tests.renderer_demo 0
cd bin && ./run test --demo renderer.tests.renderer_demo 0
```

**Result:**
Expand All @@ -38,7 +38,7 @@ This demo shows how simple *textured* meshes can be created and rendered. It als
how to interact with the window and the renderer using window callbacks.

```bash
./bin/run test --demo renderer.tests.renderer_demo 1
cd bin && ./run test --demo renderer.tests.renderer_demo 1
```

**Controls:**
Expand All @@ -56,7 +56,7 @@ In this demo, we show how animation and texture metadata files are parsed and us
load and render the correct textures and animations for a mesh.

```bash
./bin/run test --demo renderer.tests.renderer_demo 2
cd bin && ./run test --demo renderer.tests.renderer_demo 2
```

**Controls:**
Expand All @@ -76,7 +76,7 @@ This demo shows a minimal setup for the [Level 2 Renderer](level2.md) and how to
with it. The demo also introduces the camera system and how to interact with it.

```bash
./bin/run test --demo renderer.tests.renderer_demo 3
cd bin && ./run test --demo renderer.tests.renderer_demo 3
```

**Controls:**
Expand All @@ -95,7 +95,7 @@ This demos shows how animation frame timing works and how to control the animati
with the engine's internal clock.

```bash
./bin/run test --demo renderer.tests.renderer_demo 4
cd bin && ./run test --demo renderer.tests.renderer_demo 4
```

**Controls:**
Expand All @@ -115,7 +115,7 @@ This demo shows how to create [uniform buffers](level1.md#uniform-buffers) and h
Additionally, uniform buffer usage for the camera system is demonstrated.

```bash
./bin/run test --demo renderer.tests.renderer_demo 5
cd bin && ./run test --demo renderer.tests.renderer_demo 5
```

**Controls:**
Expand All @@ -132,7 +132,7 @@ Additionally, uniform buffer usage for the camera system is demonstrated.
This demo shows how to use [frustum culling](level2.md#frustum-culling) in the renderer.

```bash
./bin/run test --demo renderer.tests.renderer_demo 6
cd bin && ./run test --demo renderer.tests.renderer_demo 6
```

**Controls:**
Expand All @@ -144,12 +144,12 @@ This demo shows how to use [frustum culling](level2.md#frustum-culling) in the r
![Demo 6](/doc/code/renderer/images/demo_6.png)


### Demo 6
### Demo 7

This demo shows how to use [shader templating](level1.md#shader-templates) in the renderer.

```bash
./bin/run test --demo renderer.tests.renderer_demo 6
cd bin && ./run test --demo renderer.tests.renderer_demo 7
```

**Result:**
Expand All @@ -164,7 +164,7 @@ This demo shows how to use [shader templating](level1.md#shader-templates) in th
This stresstest tests the performance when rendering an increasingly larger number of objects.

```bash
./bin/run test --demo renderer.tests.stresstest 0
cd bin && ./run test --demo renderer.tests.renderer_stresstest 0
```

**Result:**
Expand All @@ -177,7 +177,7 @@ This stresstest tests the performance when [frustum culling](level2.md#frustum-c
number of objects is rendered on the screen.

```bash
./bin/run test --demo renderer.tests.stresstest 1
cd bin && ./run test --demo renderer.tests.renderer_stresstest 1
```

**Result:**
Expand Down
Loading