File tree 2 files changed +15
-4
lines changed
2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1
1
### RAYMAX
2
2
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.
4
15
5
16
## Scenes
6
- Scenes are described by a json file that contains:
17
+ Scenes are described in a json file that contains:
7
18
- the position, direction and field-of-view of the camera
8
19
- the definition of the light sources
9
20
- 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
11
22
- a pointer to a 3D mesh object stored in OBJ format
12
23
- the resolution of the resulting picture
13
24
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ use raymax::scene::load_scene;
15
15
16
16
#[ cfg( not( target_arch = "wasm32" ) ) ]
17
17
#[ derive( StructOpt , Debug ) ]
18
- #[ structopt( name = "rtest " , about = "minimal raytracer " ) ]
18
+ #[ structopt( name = "raymax " , about = "ray/path-tracer " ) ]
19
19
struct Options {
20
20
#[ structopt( long, default_value = "pic.png" ) ]
21
21
img_file : PathBuf ,
You can’t perform that action at this time.
0 commit comments