433937f684
Added the final Image, Cornell Box & Fixed bugs
...
1. Fixed bugs in sphere, movingsphere implementations. They were not
setting the front_face and normal correctly in their `hit`
implementation.
2. Added a random_in_range function in Vec3.
3. Updated Readme
4. Derived Clone on `materials` and `textures`.
2021-04-08 18:32:39 +05:30
f9b682a12c
Completed isotropic materials and constant medium/volumes
2021-04-08 11:09:27 +05:30
73e7085818
Completed the instances section
2021-04-08 09:31:23 +05:30
9d82129891
can create a stripped/basic version of cornell box
...
1. Refactored the project
2. Changed src/shapes/rectangle.rs to make it easy to create rectangles
aligned with any(X/Y/Z) Axis.
2021-04-07 22:15:10 +05:30
298e0a2301
Complete simple light demo
2021-03-06 21:49:16 +05:30
2545765e2a
Reverted some changes
2021-03-06 16:46:28 +05:30
8918521ebe
Added the image texture code
2021-03-05 22:22:36 +05:30
7468ba1112
completed perlin textures
2021-03-05 20:54:25 +05:30
aa74b321b8
wip: perlin noise
2021-03-05 20:03:33 +05:30
f56947eca2
Fixed a bug in perlin noise function, Removed some commented code
2021-03-05 18:09:08 +05:30
4f2365dbca
Trying to figure out perlin noise
2021-03-05 16:11:41 +05:30
b4d7ddfc4d
refactored some code and added two spheres
2021-03-02 20:31:22 +05:30
6037fe2802
Added checkered texture
2021-03-02 18:29:01 +05:30
a278969bbf
Refactored the project and added the Texture trait
2021-03-02 17:54:10 +05:30
e873ddac40
Fixed a bug in BVH implementation
2021-03-02 12:43:57 +05:30
18bb6a250b
Completed AABB BVH implementation
2021-03-02 01:29:13 +05:30
5916155b8e
Refactored the program before reimplementing BVH, Updated dependencies
2021-03-01 23:49:34 +05:30
1a7b674ac4
Completed Motion Blur Image
...
Moving to a different format for the project. Instead of having
a generic `Demo` trait implemented by all the demos amongst which
one can switch by pressing 1-0 keys, We'll just have one demo only.
And, To switch between different images, They can checkout to
respective branch
2020-04-17 21:58:03 +05:30
35259ad16d
Added basic structure of the project from ria-weekend project
...
1. Added Motion Blur Demo
2020-03-14 23:03:07 +05:30