Commit Graph

  • a6f0422bd1 Add renderstat to get some info about rendering. Godzil 2020-02-27 17:20:55 +00:00
  • a4ddfddbf3 Found the problem with openmp. X here need to be declared as private, else each thread are sharing the same variable which... well.... don't work well .. :/ Godzil 2020-02-26 16:09:28 +00:00
  • f1849cdbc1 Pow is way too slow. Godzil 2020-02-26 16:08:34 +00:00
  • 9174424d91 Update README.md Manoël Trapier 2020-02-26 02:29:10 +00:00
  • 0369bee306 It is christmas time! Godzil 2020-02-26 02:24:04 +00:00
  • ed347e304d Quick (and dirty) change to be able to use OpenMP for rendering. Godzil 2020-02-26 02:18:54 +00:00
  • 7a96d42874 Add bounding box calculation to triangle.. Godzil 2020-02-26 02:17:57 +00:00
  • 1c00077949 Prepare code to be able to get material from some form of a "group leader". Godzil 2020-02-26 00:32:14 +00:00
  • 5e4cfb84e6 Fix an issue with groups, and add Chapter 14 example! Godzil 2020-02-26 00:30:09 +00:00
  • aded6bb943 Triangles!!! Godzil 2020-02-25 18:42:45 +00:00
  • 2ea4abdce7 Boundingboxes should be ready. Chapter14 Godzil 2020-02-25 18:03:12 +00:00
  • 831a096281 Continue working on bounding boxes. Godzil 2020-02-25 09:20:38 +00:00
  • 3011544e8f Started working on boundingboxes. Godzil 2020-02-24 18:03:25 +00:00
  • d1965caf8d Add an option to run coverage locally Godzil 2020-02-24 17:26:36 +00:00
  • 7bbe5e843b Group should work now. Godzil 2020-02-24 17:25:54 +00:00
  • 7c794f0496 Working on groups Godzil 2020-02-24 09:25:52 +00:00
  • 80f59efa43 Add another hardcoded scene. Also made a test file for hw3 that should cover all the commands. Godzil 2020-02-23 19:37:47 +00:00
  • f226664fe3 And cones ! Chapter13 Godzil 2020-02-23 02:31:30 +00:00
  • 0650ac7b44 There were a small copy mistake in ch12 test file. Update the render output Godzil 2020-02-22 23:01:06 +00:00
  • d87bbb184e And now we have cylinders! Godzil 2020-02-22 22:58:57 +00:00
  • b9bacd3ac9 Don't really understand why this code is marked as not being tested where it should. Godzil 2020-02-22 18:51:03 +00:00
  • 1d685de8fd Trying to identify why they say these lines are not tested Godzil 2020-02-22 18:29:47 +00:00
  • 9c35cfc4f3 Trying to fix coverage. Godzil 2020-02-22 18:21:30 +00:00
  • 56095169eb Add a test for hw3render Godzil 2020-02-22 18:00:07 +00:00
  • 60db274214 Trye to talk a bit more in the readme XD Godzil 2020-02-22 17:45:45 +00:00
  • 566be9bcf6 Add missing image Godzil 2020-02-22 17:40:48 +00:00
  • dac74007ea Add sample from Chapter 12 :) Chapter12 Godzil 2020-02-22 17:39:25 +00:00
  • b251b632ac Add a parameter for shapes to not drop shadow. Godzil 2020-02-22 17:38:25 +00:00
  • 81e323fdf4 Added CUBES! Godzil 2020-02-22 17:30:15 +00:00
  • c9021974f6 Add a world generator based on another raytracer file format I made in the past and add a crude tool to run it. Godzil 2020-02-22 15:16:25 +00:00
  • 4d4c4a7453 Add preliminary support for material emissivity. Godzil 2020-02-22 15:14:09 +00:00
  • 935c8ebff7 Add support for multiple lights Godzil 2020-02-22 15:12:06 +00:00
  • 4cdf7a4264 Correct default canvas size for ch11_test Godzil 2020-02-22 01:29:42 +00:00
  • 51a6bbebb9 Refraction is fully there, with magic fresnel! Chapter11 Godzil 2020-02-22 01:27:48 +00:00
  • e45dbad59e Added some proper test scenes for chapter 11. Godzil 2020-02-22 00:50:55 +00:00
  • 3db0aaaeac Refraction seems to work. Still need to do a nice scene. Godzil 2020-02-21 22:50:12 +00:00
  • df52cb36db Working on refraction & transparency. Lots of work left to do! Godzil 2020-02-21 18:59:14 +00:00
  • 89dd74fa7c Finally! We have reflections! Godzil 2020-02-21 17:39:45 +00:00
  • 7337ae4837 Finally! We have reflections! Godzil 2020-02-21 17:21:06 +00:00
  • 9fffb68026 Remove nanogui dependencies for now. If the need of a gui come, will add back but for now it just add unnecessary checkout time Godzil 2020-02-21 12:08:54 +00:00
  • 7687581e83 Finishing touch for patterns! Chapter10 Godzil 2020-02-21 12:05:30 +00:00
  • 75cf59cc1a Adding support for pattern. Godzil 2020-02-21 09:36:34 +00:00
  • 9d0db6a635 Added planes! Chapter09 Godzil 2020-02-21 00:26:48 +00:00
  • 66c1582a5f Shape is now an abstract class and can't be instanciated. Godzil 2020-02-21 00:02:30 +00:00
  • 2a8fe61388 Working on adding test for the shape object. Godzil 2020-02-20 18:06:29 +00:00
  • f8c60da05e Updating readme Chapter08 Godzil 2020-02-20 17:48:09 +00:00
  • de315d06f9 Just to be sure. Godzil 2020-02-20 17:47:26 +00:00
  • cf5597ad6d Adding shadows! Godzil 2020-02-20 17:46:03 +00:00
  • 5198888df6 Doh Manoël Trapier 2020-02-20 16:49:02 +00:00
  • 10ae695f01 Trying to fixing some weird things about coverall, also add some real more coverage. Godzil 2020-02-20 16:47:00 +00:00
  • d4fae2dbe2 Revert the canvas size to the one from the chapter Godzil 2020-02-20 16:20:20 +00:00
  • daef0c078f Revert the canvas size to the one from the chapter Godzil 2020-02-20 16:13:58 +00:00
  • a477b137e7 Add a super special Camera from a well known constructor. Can take picture up to Infinite TeraPixel! Chapter07 Godzil 2020-02-20 16:08:47 +00:00
  • ba1ae34855 Canvas: use Tuple instead of Colour for put Pixel, add two constructor that may be usefull in the future. Godzil 2020-02-20 16:07:39 +00:00
  • bc047cd89e Add viewTransform transformation Godzil 2020-02-20 15:11:40 +00:00
  • 863bb2a34b Name consistency Godzil 2020-02-20 14:48:11 +00:00
  • 14c3044acf Cosmetics Godzil 2020-02-20 13:27:12 +00:00
  • 4b4d2b7819 Wow travis detected (by luck?) that uninitialised variable where one test failed in one specific configuration but no other one.. Godzil 2020-02-20 02:01:35 +00:00
  • 9e1f448e0f testS.... Godzil 2020-02-20 01:53:28 +00:00
  • 457f5d04e4 Also run the unit test directly. Godzil 2020-02-20 01:49:37 +00:00
  • 999419dfe1 World is on the verge of working! Godzil 2020-02-20 01:41:53 +00:00
  • be6b472472 Simplify hit search as now the list is ordered. Godzil 2020-02-20 01:40:50 +00:00
  • aa078f4d46 Fix in world. Godzil 2020-02-20 00:47:02 +00:00
  • dbaa6eea2c Fix Intersect and add sort the list each time we add something to it. Godzil 2020-02-20 00:46:19 +00:00
  • a82b67faa4 Working on worlds. Godzil 2020-02-19 18:05:48 +00:00
  • efe46e2864 Fix function prototype Godzil 2020-02-19 15:45:19 +00:00
  • 60d639f3a7 Start working on world (domination) Godzil 2020-02-18 17:31:21 +00:00
  • ddaefafa1a Don't fully understand coveralls behaviour. Let's try building with gcc to see it is works better. Godzil 2020-02-18 12:24:05 +00:00
  • 9f764018d3 Add a couple of test for code that wasn't tested before. Godzil 2020-02-18 12:20:40 +00:00
  • 6200e5ed56 It generally works better when we build before trying to run..... Godzil 2020-02-18 12:10:38 +00:00
  • be245523c9 This should be the proper way. Godzil 2020-02-18 12:07:37 +00:00
  • 11a00a6e74 Testing travis job feature. Godzil 2020-02-18 11:50:16 +00:00
  • af96d52c5a Renaming Object to Shape (part 2) Godzil 2020-02-18 11:43:05 +00:00
  • 5a4f9f4dc4 Renaming Object to Shape (part 1) Godzil 2020-02-18 11:40:55 +00:00
  • df4ec9794a Update travis badge Godzil 2020-02-17 23:47:08 +00:00
  • db9f2c0203 Do I really know SH script? I wonder sometimes 😣 Godzil 2020-02-17 23:33:48 +00:00
  • 88fcd48481 This test wasn't support to be there at first. Godzil 2020-02-17 23:29:50 +00:00
  • 5e295c06b2 Seems that coveralls don't like the OS X build, so let's only push when build from linux Godzil 2020-02-17 23:28:38 +00:00
  • 4dd7a3af39 Add Chapter 5 and 6 executable to the test list Godzil 2020-02-17 23:22:05 +00:00
  • 1aab8f6619 Remove the test 🤨 Godzil 2020-02-17 23:21:28 +00:00
  • 27ec4d5567 Trying to find which version of gcov is installed on travis-ci. Godzil 2020-02-17 23:13:09 +00:00
  • a64b1288a5 Trying to make travis having the proper gcov version. Godzil 2020-02-17 23:06:02 +00:00
  • 77907499a4 Rework a bit the base Cmakelist to make it clearer. Godzil 2020-02-17 23:05:37 +00:00
  • cf00e62c5a Update coverall script to use my fork that properly support AppleClang. Godzil 2020-02-17 23:05:08 +00:00
  • 5086a5c82f Use file/glob instead of set to add source files Godzil 2020-02-17 23:02:38 +00:00
  • b84ed7496b Trying to make gcov/coveralls to work... Godzil 2020-02-17 22:32:33 +00:00
  • b4bd8bd4b7 CoverallS... Godzil 2020-02-17 22:19:10 +00:00
  • c1e7496d21 Fix a glib problem on some distros. Godzil 2020-02-17 22:18:59 +00:00
  • 674831b370 Travis don't like tabs! (he is right :)) Godzil 2020-02-17 22:09:31 +00:00
  • 8cc2272b50 Add a really really light readme. Godzil 2020-02-17 22:04:00 +00:00
  • 2e2d8c143c Add travis, coverall and other things. Godzil 2020-02-17 21:56:59 +00:00
  • a8ca88640b Add GPLv2 strict license Godzil 2020-02-17 21:28:55 +00:00
  • 9bdfb26f7e Add Chapter 06 test! Godzil 2020-02-17 19:15:58 +00:00
  • 5ebed12f4f Add support for point light and materials. Add material to objects. Chapter06 Godzil 2020-02-17 19:12:57 +00:00
  • 73d60fb7e4 Fix a copy mistake. Godzil 2020-02-17 19:09:31 +00:00
  • 4a9379c0b2 Naming consistency Godzil 2020-02-17 17:57:55 +00:00
  • aeb4669162 Add vector reflection via a normal vector. Godzil 2020-02-17 15:56:08 +00:00
  • a8194169c5 Add function to calculate sphere normal vector on given point on the sphere. Godzil 2020-02-17 15:39:14 +00:00
  • 656ff52204 Add Chapter 5 "putting it together" example. Chapter05 Godzil 2020-02-17 14:30:21 +00:00
  • 00b283053e Add transformation to objects. Godzil 2020-02-17 14:15:55 +00:00