Commit Graph

  • 0e188a0594 Update build badge from travis to github action. master Manoël Trapier 2022-02-28 11:43:31 +00:00
  • c1f41cb6f6 Trying to fix github actions. Godzil 2022-02-28 11:31:50 +00:00
  • 50143076ab Fix a typo in README Godzil 2022-02-28 11:29:44 +00:00
  • c33cdabdec Add some actions! Manoël Trapier 2022-02-28 11:04:51 +00:00
  • ad16643111 Googletest... Godzil 2022-02-28 10:54:02 +00:00
  • 45f5f8098e Force cmake 3.11 because of changes in add_executable Remove Ubuntu 18.04 arm target as it use an old cmake. Godzil 2021-03-10 15:22:26 +00:00
  • 28b619c566 Try to change (again) the travis file. May work this time? Godzil 2021-03-10 13:15:40 +00:00
  • 4f512405b2 Travis works, but always is unpredictable at time.. Godzil 2021-03-10 12:26:52 +00:00
  • fe80488c5e Update travis file to more up to date practice for Mac OS X build using homebrew Godzil 2021-03-10 12:17:28 +00:00
  • f8f4d7b21a Add sample output from the dragon scene Godzil 2021-03-10 11:58:09 +00:00
  • 5651570c2b Slight changes in octree/bvh Godzil 2020-03-17 00:44:58 +00:00
  • 71c236abb0 Better to fill the function I suppose. Godzil 2020-03-17 00:31:30 +00:00
  • c0fc061834 Don't set the focal/aperture on the constructor and use a dedicated method for that. Godzil 2020-03-17 00:28:56 +00:00
  • 61ce9d3543 Add possibility to play with focal length and aperture to the camera. Not enabled by default. Godzil 2020-03-17 00:23:16 +00:00
  • 9849c16f66 Couple of small optimisation Add option to build for gprof Do not build by default with the renderstat (they have a reasonable impact on performances) Separated created ray and castedray in the stats Trying to force some simple function to be inlined Godzil 2020-03-13 18:22:35 +00:00
  • aacd4f6c9e Make BVH and Octree to not flatten the world before parsing It may help a lot on some scene that already use groups. Godzil 2020-03-13 01:07:28 +00:00
  • 5b6b627a43 Small but effective optimisations. Godzil 2020-03-13 01:04:56 +00:00
  • 4f2e327533 Update for a proper testing size and don’t get a timeout Manoël Trapier 2020-03-12 19:39:32 +00:00
  • c858b4dcde A new scene and some optimisations. Godzil 2020-03-12 17:45:29 +00:00
  • 7a43a98816 Adding BVH optimisation. Godzil 2020-03-12 07:21:44 +00:00
  • 47e31714f3 That file was supposed to be there XD Godzil 2020-03-12 00:14:50 +00:00
  • 424d58c59b Octree Optimiser seems to work. Godzil 2020-03-12 00:14:00 +00:00
  • 5996e38e6e Fix my own stupidity.. Godzil 2020-03-12 00:11:48 +00:00
  • b00bb75189 Huge speed up by changing how Intersect are shared. Godzil 2020-03-12 00:11:26 +00:00
  • 0aa949c60b Continue working work optimiser. Godzil 2020-03-11 19:35:08 +00:00
  • 420203e95d Add a tool to debug the normal vector in objfiles by rendering them. Godzil 2020-03-11 16:59:02 +00:00
  • c667ce26d7 Fix a bug in objfile where OBJ file were not the parent of the base group. Godzil 2020-03-11 16:57:49 +00:00
  • 13cc2c0ff9 Add more useful dump info for shapes Godzil 2020-03-11 16:56:38 +00:00
  • 1c4018e47a Cosmetics. Godzil 2020-03-11 16:56:03 +00:00
  • 083a5b600f typo Godzil 2020-03-11 16:54:46 +00:00
  • 3a2d21b787 Starting to work on the World Optimiser sequence. Godzil 2020-03-11 09:09:30 +00:00
  • 441d758845 Add locking mechanism to prevent updating transform/parent Godzil 2020-03-10 13:55:27 +00:00
  • 5da0c10182 Started working on "world optimiser" base class. Godzil 2020-03-10 09:18:15 +00:00
  • b89f9ec331 Add a way to remove shapes from groups Godzil 2020-03-10 09:16:39 +00:00
  • add3d7c861 A bit of cleanup Godzil 2020-03-10 09:15:38 +00:00
  • 4e241a1871 Trying to make the dump a bit more usefull and slightly less cluttered Godzil 2020-03-09 17:41:11 +00:00
  • 15a861802a OBJFile now use group instead of it own list. Change the group function to find group by name, and now name group when needed, and change tests to use group name instead of number. Godzil 2020-03-09 16:03:27 +00:00
  • 66a8b98aeb Add missing code \o/ Godzil 2020-03-09 15:59:52 +00:00
  • 0f945b69cc World default group now have a name! Godzil 2020-03-09 15:58:59 +00:00
  • 314da11005 Add support for naming groups Godzil 2020-03-09 15:58:32 +00:00
  • 8437ab8753 Move ShapeType into the Shape object. Godzil 2020-03-09 15:57:23 +00:00
  • d514219ae6 Due to the way material are working now, we need to set by hand (for now) that the material is set. Godzil 2020-03-09 14:17:08 +00:00
  • efa47f28ca Fix some potential buffer overflow issues. Not critical, but better to avoid them! Godzil 2020-03-09 14:16:05 +00:00
  • e653855556 Change World to use a base group instead of storing all the world object. Makes the code simpler and avoid some potential issues. Add to change a bit some test to make them pass properly. Godzil 2020-03-09 13:47:42 +00:00
  • 1510de3b36 Change CSG to derive the intersect function and do the calculation there instead of the local one. Godzil 2020-03-09 13:45:57 +00:00
  • 8550d4068f Correct how filterIntersections work, seems c++ don't like how thing were done. Godzil 2020-03-09 13:44:10 +00:00
  • cd93b67274 Revert some debug changes that should have not been commited. Godzil 2020-03-09 13:42:21 +00:00
  • 18965fe1bd They say it is better to do this way. Chapter16 Godzil 2020-03-06 21:59:16 +00:00
  • 57eff4830e Sample scene for CSG \o/ Godzil 2020-03-06 21:55:32 +00:00
  • b5ee92c544 And CSG! \o/ Godzil 2020-03-06 19:00:31 +00:00
  • e57b5715e8 Smooth triangles! And support for them in the OBJ File parser. Also add an interesting tea party scene! Chapter15 Godzil 2020-03-06 15:07:26 +00:00
  • 73012b6dd1 We need to run testMyRays in the test folder as it now depends on some files that need to be in the work directory. Godzil 2020-03-06 10:13:04 +00:00
  • 2488cc6319 Seems long ago I forgot to update/correct the local boudingbox calculation for triangles.... Godzil 2020-03-06 09:39:33 +00:00
  • 518ac260e1 OBJFile parser seems to work. Godzil 2020-03-06 09:38:39 +00:00
  • 2725b5f657 Go a bit deeper in parsing the OBJ file. Now we parse each lines into token, and it's now ready to try to execute them. Godzil 2020-03-06 01:29:26 +00:00
  • c17bfadc76 Started working on parsing OBJ Files. Godzil 2020-03-05 17:46:40 +00:00
  • 6bef6a1b77 over 9000 years of shame on me. Godzil 2020-03-05 16:28:49 +00:00
  • e33cf0d5f0 Maybe need to unlink Python2 before?! Godzil 2020-03-05 16:15:58 +00:00
  • c41cbaeea8 Update readme Godzil 2020-03-05 16:01:47 +00:00
  • 3a8600d274 Add travis command to install ImageMagick on Mac OS X VMs Godzil 2020-03-05 15:58:03 +00:00
  • f8aa5cc920 Fix a "bug" in UV Image introduced while debugging Godzil 2020-03-05 15:15:20 +00:00
  • 30db4d7ca1 Add support to load JPEG files along with PNGs. Godzil 2020-03-05 15:14:31 +00:00
  • 317148a37d Lua include is only added if lua support is enabled. Add NanoJPEG dependency to the main library Godzil 2020-03-05 15:13:40 +00:00
  • 5c6a5afef6 Add support for NanoJPEG to load jpeg files Godzil 2020-03-05 15:12:35 +00:00
  • 90e79576a2 Correct the MD5 sum Godzil 2020-03-05 15:11:34 +00:00
  • a31ae5b2ef Add download and copy of the earth texture map. Godzil 2020-03-05 15:09:26 +00:00
  • 2ebc177d9d Header update/corrections Godzil 2020-03-05 15:06:16 +00:00
  • 6a2c5a77ae Trying to implement image mapping. Godzil 2020-03-05 09:48:37 +00:00
  • d6ae062f7f Add checkered cube render Godzil 2020-03-05 00:24:02 +00:00
  • 3ebe403de0 Continue working on Cube mapping Godzil 2020-03-05 00:10:39 +00:00
  • f5685a45e1 Add AlignCheck UV Pattern Godzil 2020-03-04 16:42:43 +00:00
  • 7209244f48 Add cylindrical mapping! Godzil 2020-03-04 16:16:35 +00:00
  • 1b6c14691b fmod is not mathematically valid. Replace it by a correct one. Godzil 2020-03-04 16:15:49 +00:00
  • 107b612130 Added planar mapping Godzil 2020-03-04 13:35:09 +00:00
  • 5bbd036fc5 Add spherical mapping render to the README. Godzil 2020-03-04 13:23:22 +00:00
  • 1ceabe7e62 Change CMake files to simplify them. Also disable dorayme.cpp for now as it if wrongly taken in the rayonnement library. Godzil 2020-03-04 13:21:39 +00:00
  • 3e37b5ca44 Add spherical mapping for UV Textures. Godzil 2020-03-04 13:20:15 +00:00
  • 5c10d65c8d Started working on 2D patterns. Godzil 2020-03-04 09:32:11 +00:00
  • 83c12dbd83 Update README.md Manoël Trapier 2020-03-03 00:12:45 +00:00
  • 3cfbb604b0 Fix missing includes. Godzil 2020-03-02 23:34:44 +00:00
  • 36962275f6 Disable the second jittered test as I can't find a way to make them consistant (they fail depends on combination of OS/Compiler because of the way compiler work..) Godzil 2020-03-02 23:29:06 +00:00
  • a1c53fc9cc Commited that file with incorrect size for automated test. Godzil 2020-03-02 23:16:17 +00:00
  • 0be3236a03 Fix how the Lua lib is build to remove that annoying tmpnam warning. Godzil 2020-03-02 18:05:33 +00:00
  • 344c36cd78 Remove frand from that scene. Godzil 2020-03-02 17:44:17 +00:00
  • 478b1f0af1 Disable a test as it is not consistent between compilers. Godzil 2020-03-02 17:41:04 +00:00
  • 1cebcd4f8b Fix my own stupidity. Godzil 2020-03-02 16:49:10 +00:00
  • aab9df0802 Add support for Lua in world, and create the Lua Pattern (pattern can be defined with a lua function) Godzil 2020-03-02 16:30:24 +00:00
  • d05a0fb4d0 Update ch11 reflection scene to render the 3 different view Godzil 2020-03-02 14:09:30 +00:00
  • 21749695b6 Add jitter to area light and example render of it. Godzil 2020-03-02 14:03:31 +00:00
  • 1fbe682572 Update readme Godzil 2020-03-02 08:46:30 +00:00
  • ace7d53571 Clearing up some memory to prevent stupid issues Godzil 2020-03-02 08:24:09 +00:00
  • 0ac44c3539 Use area light and make a proper canvas size to run the size. Godzil 2020-02-28 18:36:57 +00:00
  • c4b680789e Starting working on area lights. Godzil 2020-02-28 18:35:45 +00:00
  • 53f66b554b Move renderstat function into the CPP file and add atomic to the variables. Godzil 2020-02-28 18:34:42 +00:00
  • 307c125eba More bounding boxes Godzil 2020-02-28 18:33:59 +00:00
  • b4ae737b40 Continuing working on dumping the world Godzil 2020-02-28 09:29:09 +00:00
  • 8ceb68fdff Add dependencies to Lua. Godzil 2020-02-28 00:05:14 +00:00
  • c369d2fe2d Start working on dumping the world (to a JSON file) for debug purposes. Godzil 2020-02-27 18:03:08 +00:00
  • 2926166ce6 Add Lua dependencies. Godzil 2020-02-27 17:24:40 +00:00
  • e61382a129 Doh, this was suppose to be the other way around: add to the bound IF it have finit bounds! Godzil 2020-02-27 17:22:47 +00:00