Godzil
|
a8ca88640b
Add GPLv2 strict license
|
4 years ago |
Godzil
|
9bdfb26f7e
Add Chapter 06 test!
|
4 years ago |
Godzil
|
5ebed12f4f
Add support for point light and materials.
|
4 years ago |
Godzil
|
73d60fb7e4
Fix a copy mistake.
|
4 years ago |
Godzil
|
4a9379c0b2
Naming consistency
|
4 years ago |
Godzil
|
aeb4669162
Add vector reflection via a normal vector.
|
4 years ago |
Godzil
|
a8194169c5
Add function to calculate sphere normal vector on given point on the sphere.
|
4 years ago |
Godzil
|
656ff52204
Add Chapter 5 "putting it together" example.
|
4 years ago |
Godzil
|
00b283053e
Add transformation to objects.
|
4 years ago |
Godzil
|
b799e5f819
Update a comment.
|
4 years ago |
Godzil
|
cabe7ff147
Change Ray to use the generic Tuple instead of Point/Vector (but you still should use Point/Vector for initialisation)
|
4 years ago |
Godzil
|
17aebe6538
Move the cross product to Tuple instead of just vector (to ease some stuff later, but this is invalid on Points)
|
4 years ago |
Godzil
|
a1087a9871
Add default size to matrix (4 as it is the most common)
|
4 years ago |
Godzil
|
c4418683c6
Add the hit function to get the closest non negative hit, and add some mecanisme to test that properly and report when no valid hit occur.
|
4 years ago |
Godzil
|
1900d1f45d
Change the Intersection to a class, and stop using memory allocation for it (and pointer)
|
4 years ago |
Godzil
|
513cd9d7eb
Update glfw, googletest and lodepng submodules to their latest version
|
4 years ago |
Godzil
|
01a0de09ab
Add 3 new type of object: Sphere, Object and Intersect.
|
4 years ago |
Godzil
|
8faf1db3be
More Ray work.
|
4 years ago |
Godzil
|
79af9fbc97
Also rename the test file.
|
4 years ago |
Godzil
|
1e2588441f
Rename tuple file to remove the plural.
|
4 years ago |
Godzil
|
1f4b14c896
Add a function to convert degree to radian.
|
4 years ago |
Godzil
|
dee4b9ae91
Now we can transform!
|
4 years ago |
Godzil
|
514bd649c1
Correct how google test is used.
|
4 years ago |
Godzil
|
0621ca86e1
Change width to size, as it is more correct.
|
4 years ago |
Godzil
|
9f2a41e6f3
Change default precision to float instead of double (need to investigate there)
|
4 years ago |
Godzil
|
95c7616646
Moving some functions around to keep the header a bit more tidy
|
4 years ago |
Godzil
|
c4c216647d
First batch of matrix related functions
|
4 years ago |
Godzil
|
fac2212661
Canvas implementation and add build of LodePNG
|
4 years ago |
Godzil
|
a9321b5051
Update an header
|
4 years ago |
Godzil
|
f3678992c5
Add Colour implementation
|
4 years ago |