Skip to content

Commit ae7d206

Browse files
committed
misc update
1 parent a5960fc commit ae7d206

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

README.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
### RAYMAX
22

3-
Rust implementation of a ray-tracer.
3+
Rust implementation of a ray-tracer and path-tracer.
4+
5+
Features:
6+
- ray-tracing + path-tracing
7+
- parallelism with rayon
8+
- allow the use of OBJ mesh objects
9+
- material: kd/ke/ks
10+
- light sources
11+
- antialiasing
12+
- bugs!
13+
14+
It can run with a user-interface (egui), or via command line interface.
415

516
## Scenes
6-
Scenes are described by a json file that contains:
17+
Scenes are described in a json file that contains:
718
- the position, direction and field-of-view of the camera
819
- the definition of the light sources
920
- the definition of each material kd/ke/ks used throughout the scene
10-
- the position of each infinite-plane, sphere or triangle if any,
21+
- the position of each infinite-plane, sphere or triangle if any
1122
- a pointer to a 3D mesh object stored in OBJ format
1223
- the resolution of the resulting picture
1324

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use raymax::scene::load_scene;
1515

1616
#[cfg(not(target_arch = "wasm32"))]
1717
#[derive(StructOpt, Debug)]
18-
#[structopt(name = "rtest", about = "minimal raytracer")]
18+
#[structopt(name = "raymax", about = "ray/path-tracer")]
1919
struct Options {
2020
#[structopt(long, default_value = "pic.png")]
2121
img_file: PathBuf,

0 commit comments

Comments
 (0)