Skip to content

Commit d69bdba

Browse files
committed
Run commands for examples
1 parent 51562a1 commit d69bdba

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

examples/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Examples
22
========
33

4+
All examples must run from the root of the repository where ``manage.py`` is located.
5+
46
Cubes
57
-----
68

@@ -10,6 +12,10 @@ Simple example showing three cubes
1012
* Lighting
1113
* Textured
1214

15+
```bash
16+
python manage.py runeffect examples.cubes
17+
```
18+
1319
![screenshot](https://raw.githubusercontent.com/Contraz/demosys-py/master/examples/images/cubes.png)
1420

1521
Texture source : http://free-texture-site.blogspot.com/2010/10/free-game-crate-texture.html
@@ -19,5 +25,10 @@ Feedback
1925

2026
Basic example of using transform feedback. Thousands of particles are being
2127
affected by newton's law with a pulsing gravity field in the middle of the scene.
28+
Particles are drawn as points were a geometry shader emits billboarded quads.
29+
30+
```bash
31+
python manage.py runeffect examples.feedback
32+
```
2233

2334
![screenshot](https://github.com/Contraz/demosys-py/blob/master/examples/images/feedback.png)

0 commit comments

Comments
 (0)