|
|
7684bb2088
|
Add translated and rotated cuboids to cornell box scene.
Chose name 'cuboid' because 'box' is a module imported by the prelude in
rust and makes things complicated.
|
2018-09-25 21:00:05 -07:00 |
|
|
|
f1fcbe7449
|
Add empty cornell box with light and flipped normals.
|
2018-09-23 22:00:52 -07:00 |
|
|
|
73002df31e
|
Make world in test scene larger and flatter.
|
2018-09-23 21:32:40 -07:00 |
|
|
|
3839ff316d
|
Add XZ and YZ rects to complement XY.
|
2018-09-23 21:29:50 -07:00 |
|
|
|
2f0ee09084
|
Fix out of bounds texture lookup and tweak noise function.
|
2018-09-23 21:29:14 -07:00 |
|
|
|
9c5233e057
|
Implement DiffuseLight material.
Allow Scenes to define global_illumination so scenes without lighting
can continue to work.
|
2018-09-23 18:30:24 -07:00 |
|
|
|
34ce373269
|
Implement image based textures.
|
2018-09-23 15:53:46 -07:00 |
|
|
|
415cb7be9a
|
Perlin noise with dot product.
|
2018-09-23 09:51:46 -07:00 |
|
|
|
697d056a9d
|
Basic Perlin texture implementation.
|
2018-09-23 09:33:01 -07:00 |
|
|
|
4206ad7289
|
Use CheckerTexture for ground in book scene.
|
2018-09-22 20:32:21 -07:00 |
|
|
|
96d49e685f
|
Add CheckerTexture.
|
2018-09-22 20:23:46 -07:00 |
|
|
|
a1d3cce4e4
|
Add ConstantTexture and use it for Lambertian material.
|
2018-09-22 19:53:27 -07:00 |
|
|
|
e1c430b9b2
|
Clippy lint.
|
2018-09-22 12:25:22 -07:00 |
|
|
|
fecd7b6a00
|
Remove dead code.
|
2018-09-22 12:09:05 -07:00 |
|
|
|
08ea5ca089
|
Lint.
|
2018-09-22 12:08:26 -07:00 |
|
|
|
0ff10e99dd
|
Help string for --pprof.
|
2018-09-22 12:08:12 -07:00 |
|
|
|
a5b5ccb291
|
Make it easy for bench scene to compare hitlist vs accelerated rendering.
|
2018-09-22 12:07:35 -07:00 |
|
|
|
02639e4d3f
|
Make BVH faster by doing hit test on bbox before descending.
|
2018-09-22 12:06:29 -07:00 |
|
|
|
fedcd3792b
|
Missed part of commit 78da1c644141e87bb47ae907ef9d80fb926c1965
|
2018-09-22 12:06:08 -07:00 |
|
|
|
5723b285f0
|
Note to self about time-bomb.
|
2018-09-22 12:05:24 -07:00 |
|
|
|
78da1c6441
|
List choices for --mode and make --pprof a path, not just a bool.
|
2018-09-22 12:05:08 -07:00 |
|
|
|
2104f1a76c
|
Implement kd-tree.
Add simple test scene.
Failed attempt to make BVH faster.
Failed attempt to implement SAH w/ BVH.
Failed attempt to make AABB::hit faster.
|
2018-09-22 11:11:40 -07:00 |
|
|
|
54f1304695
|
Add benchmark scene and change default flags to run under cargo-profile.
|
2018-09-18 20:58:31 -07:00 |
|
|
|
57ccefbcdc
|
Move scene building to its own set of submodules.
|
2018-09-18 18:57:20 -07:00 |
|
|
|
aa26c79f6d
|
Add some faster AABB hit implementations.
Switch e?println to info/trace logging.
|
2018-09-18 17:48:27 -07:00 |
|
|
|
4a9754dfdb
|
bvh: add some tests and fmt::Display implementations.
|
2018-09-16 20:03:42 -07:00 |
|
|
|
11a7cc6f08
|
Implement AABB and BVH.
|
2018-09-16 18:59:27 -07:00 |
|
|
|
a4556212ed
|
Rebase with master.
|
2018-09-14 13:06:09 -07:00 |
|
|
|
ca4a385438
|
Stub cube impl.
|
2018-09-14 13:03:26 -07:00 |
|
|
|
896ae20196
|
Add motion blur and MovingSphere type to exercise it.
Also changes Ray implementation to use public struct members instead of
accessor functions.
|
2018-09-14 12:06:29 -07:00 |
|
|
|
919fa5f8d5
|
Add --model flag to select model to render.
|
2018-09-13 21:35:39 -07:00 |
|
|
|
802b4f69a8
|
Parallelize across subsample frames and dump intermediates.
|
2018-09-13 20:36:47 -07:00 |
|
|
|
9bd29660ff
|
Move Opt from library to CLI.
|
2018-09-12 20:11:11 -07:00 |
|
|
|
23058d1268
|
Move tracing logic to renderer module and add CLI flags.
|
2018-09-12 16:15:10 -07:00 |
|
|
|
c4e958975c
|
Initial clumsy parallel renderer.
|
2018-09-12 15:24:52 -07:00 |
|
|
|
672dc3cdd2
|
Save .png output directly from rust.
|
2018-09-11 09:46:50 -07:00 |
|
|
|
0c9edd9e61
|
Fullres book cover and add timing.
Squelch clippy warning in camera.rs.
|
2018-09-11 09:08:32 -07:00 |
|
|
|
823e75da88
|
Add boolean for drawing book cover.
|
2018-09-10 21:50:40 -07:00 |
|
|
|
f2c5cf48ad
|
Update camera to implement defocused blur.
Removed tracer programs that no longer compile with new Camera API.
|
2018-09-10 21:43:39 -07:00 |
|
|
|
5ba579a374
|
Use Box<Hit> instead of reference in HitableList.
|
2018-09-10 21:01:40 -07:00 |
|
|
|
196a4b76bc
|
Implement positional camera.
Bug fix for cross()
|
2018-09-09 21:27:34 -07:00 |
|
|
|
b342e00d4c
|
Implement dielectrics (glassy) materials.
Add Neg to Vec3.
|
2018-09-09 20:23:28 -07:00 |
|
|
|
7c213e3a2b
|
Implement Lambertian and Metal materials.
Fixed bug with Vec3::unit_vector().
Had to remove old example programs because Sphere::new() API changed to
allow materials.
|
2018-09-09 17:01:52 -07:00 |
|
|
|
73ca5c8454
|
Implement diffuse lighting, and gamma correction.
|
2018-09-09 14:49:21 -07:00 |
|
|
|
4584eeb08f
|
Always in-progress renderer.
It is copied to an appropriately named render as chapters are
implemented.
|
2018-09-09 13:37:51 -07:00 |
|
|
|
9698afce43
|
Implement sub-sampling anti-aliasing.
Move camera to code to separate module.
|
2018-09-09 13:37:35 -07:00 |
|
|
|
35722b57b1
|
Closer to correct shading, but still not there.
|
2018-09-08 23:13:11 -07:00 |
|
|
|
15fe1e632c
|
Add more abstraction.
Implement Sphere as its own module.
Create HitableList that can hold multiple objects.
Fixed shading problem in the process.
|
2018-09-08 23:10:26 -07:00 |
|
|
|
c16ba06a53
|
Normal shading of sphere.
Doesn't quite work right.
|
2018-09-08 21:53:15 -07:00 |
|
|
|
20c79a655b
|
Implement Vec3 + f32
|
2018-09-08 21:52:49 -07:00 |
|