Skip to content

Commit 0efa5df

Browse files
authored
Update BUILD.md
1 parent f1d04ed commit 0efa5df

1 file changed

Lines changed: 18 additions & 9 deletions

File tree

BUILD.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,21 @@ In case you need to run the ISPC backend, download the [ISPC compiler executable
5656

5757
Note: On Windows, please remember to replace the backslashes `\\` in the paths with `/` when passing arguments to CMake.
5858

59-
## Usage
60-
61-
1. The renderer's executable file is named `luisa-render-cli`, which locates in build directory
62-
2. Usage can be accessed by running `luisa-render-cli --help`
63-
3. The renderer can be simply run as
64-
```bash
65-
luisa-render-cli -b <backend> <scene-file>
66-
```
67-
4. Example scene files are under `data/scenes`
59+
# Usage
60+
61+
Use command line to execute LuisaRender:
62+
```bash
63+
<build-fodler>/bin/luisa-render-cli -b <backend> [-d <device-index>] <scene-file>
64+
```
65+
66+
To print the help message about the command line arguments, simply type
67+
```bash
68+
<build-fodler>/bin/luisa-render-cli -h
69+
```
70+
or
71+
```bash
72+
<build-fodler>/bin/luisa-render-cli --help
73+
```
74+
75+
Demo scenes can be found in a separate [repo](https://github.com/LuisaGroup/LuisaRenderScenes)
76+

0 commit comments

Comments
 (0)