Skip to content

Commit bde130b

Browse files
Update readme
1 parent 4527237 commit bde130b

File tree

2 files changed

+46
-2
lines changed

2 files changed

+46
-2
lines changed

README.md

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,55 @@
22

33
Basics dynamics used in real-time rendering simulations
44

5+
## Projects
6+
7+
#### 01 Cloth simulation
8+
9+
![cloth](doc/project-01.png)
10+
511
## Getting started
612

7-
TODO
13+
### Prerequisites
14+
15+
You need to install the CMake build system and a modern C++ compiler.
16+
17+
#### Linux
18+
19+
```
20+
sudo apt-get install build-essential cmake
21+
```
22+
23+
#### Windows
24+
25+
To get the MSVC compiler, you need to install [Visual Studio](https://visualstudio.microsoft.com/fr/) (and not VSCode) and select the C++ development package during install. You also need to install [CMake](https://cmake.org/) which can also be done by visual studio.
26+
27+
### Build
28+
29+
You can handle the `CMakeLists.txt` in any way you like, here's some way to use it :
30+
31+
#### `Option 1: CLI`
32+
33+
Go to the folder of this project and run :
34+
35+
```bash
36+
mkdir build
37+
cd build
38+
cmake ..
39+
make
40+
```
41+
42+
#### `Option 2: Visual Studio (Windows only)`
43+
44+
Open this folder with the `CMake...` option in file->open on Visual Studio, and run the project.
45+
46+
47+
#### `Option 3: VSCode`
48+
49+
Use the `CMakeTools` plugin, build with `f7` then run with `f5` (But be careful to be on the right platform, there is a launch file for windows and for linux).
50+
51+
### Launch
852

9-
Setup CMake and vcpkg if on windows
53+
Simply open the `project01` file generated in the build directory and run it
1054

1155
## Sources
1256

doc/project-01.png

467 KB
Loading

0 commit comments

Comments
 (0)