Godzil
|
d514219ae6
|
Due to the way material are working now, we need to set by hand (for now) that the material is set.
|
2020-03-09 14:17:08 +00:00 |
|
Godzil
|
efa47f28ca
|
Fix some potential buffer overflow issues.
Not critical, but better to avoid them!
|
2020-03-09 14:16:05 +00:00 |
|
Godzil
|
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.
|
2020-03-09 13:47:42 +00:00 |
|
Godzil
|
1510de3b36
|
Change CSG to derive the intersect function and do the calculation there instead of the local one.
Also use the bounding box to reject ray that don't it that CSG element.
|
2020-03-09 13:45:57 +00:00 |
|
Godzil
|
8550d4068f
|
Correct how filterIntersections work, seems c++ don't like how thing were done.
|
2020-03-09 13:44:10 +00:00 |
|
Godzil
|
cd93b67274
|
Revert some debug changes that should have not been commited.
|
2020-03-09 13:42:21 +00:00 |
|
Godzil
|
18965fe1bd
|
They say it is better to do this way.
Chapter16
|
2020-03-06 21:59:16 +00:00 |
|
Godzil
|
57eff4830e
|
Sample scene for CSG \o/
|
2020-03-06 21:55:32 +00:00 |
|
Godzil
|
b5ee92c544
|
And CSG! \o/
Still working on a nice scene for it.
|
2020-03-06 19:00:31 +00:00 |
|
Godzil
|
e57b5715e8
|
Smooth triangles! And support for them in the OBJ File parser.
Also add an interesting tea party scene!
Chapter15
|
2020-03-06 15:07:26 +00:00 |
|
Godzil
|
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.
|
2020-03-06 10:13:04 +00:00 |
|
Godzil
|
2488cc6319
|
Seems long ago I forgot to update/correct the local boudingbox calculation for triangles....
|
2020-03-06 09:39:33 +00:00 |
|
Godzil
|
518ac260e1
|
OBJFile parser seems to work.
Can render a simple scene using it.
TODO: Need add way to set material to childs.
|
2020-03-06 09:38:39 +00:00 |
|
Godzil
|
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.
|
2020-03-06 01:29:26 +00:00 |
|
Godzil
|
c17bfadc76
|
Started working on parsing OBJ Files.
Why string manipulation is so tedious in C/++ :(
|
2020-03-05 17:46:40 +00:00 |
|
Godzil
|
6bef6a1b77
|
over 9000 years of shame on me.
What where I thinking when I wrote that?!
|
2020-03-05 16:28:49 +00:00 |
|
Godzil
|
e33cf0d5f0
|
Maybe need to unlink Python2 before?!
|
2020-03-05 16:15:58 +00:00 |
|
Godzil
|
c41cbaeea8
|
Update readme
|
2020-03-05 16:01:47 +00:00 |
|
Godzil
|
3a8600d274
|
Add travis command to install ImageMagick on Mac OS X VMs
|
2020-03-05 15:58:03 +00:00 |
|
Godzil
|
f8aa5cc920
|
Fix a "bug" in UV Image introduced while debugging
|
2020-03-05 15:15:20 +00:00 |
|
Godzil
|
30db4d7ca1
|
Add support to load JPEG files along with PNGs.
|
2020-03-05 15:14:31 +00:00 |
|
Godzil
|
317148a37d
|
Lua include is only added if lua support is enabled.
Add NanoJPEG dependency to the main library
|
2020-03-05 15:13:40 +00:00 |
|
Godzil
|
5c6a5afef6
|
Add support for NanoJPEG to load jpeg files
|
2020-03-05 15:12:35 +00:00 |
|
Godzil
|
90e79576a2
|
Correct the MD5 sum
|
2020-03-05 15:11:34 +00:00 |
|
Godzil
|
a31ae5b2ef
|
Add download and copy of the earth texture map.
|
2020-03-05 15:09:26 +00:00 |
|
Godzil
|
2ebc177d9d
|
Header update/corrections
|
2020-03-05 15:06:16 +00:00 |
|
Godzil
|
6a2c5a77ae
|
Trying to implement image mapping.
Something not working yet.
|
2020-03-05 09:48:37 +00:00 |
|
Godzil
|
d6ae062f7f
|
Add checkered cube render
|
2020-03-05 00:24:02 +00:00 |
|
Godzil
|
3ebe403de0
|
Continue working on Cube mapping
|
2020-03-05 00:10:39 +00:00 |
|
Godzil
|
f5685a45e1
|
Add AlignCheck UV Pattern
|
2020-03-04 16:42:43 +00:00 |
|
Godzil
|
7209244f48
|
Add cylindrical mapping!
|
2020-03-04 16:16:35 +00:00 |
|
Godzil
|
1b6c14691b
|
fmod is not mathematically valid. Replace it by a correct one.
|
2020-03-04 16:15:49 +00:00 |
|
Godzil
|
107b612130
|
Added planar mapping
|
2020-03-04 13:35:09 +00:00 |
|
Godzil
|
5bbd036fc5
|
Add spherical mapping render to the README.
|
2020-03-04 13:23:22 +00:00 |
|
Godzil
|
1ceabe7e62
|
Change CMake files to simplify them.
Also disable dorayme.cpp for now as it if wrongly taken in the rayonnement library.
|
2020-03-04 13:21:39 +00:00 |
|
Godzil
|
3e37b5ca44
|
Add spherical mapping for UV Textures.
|
2020-03-04 13:20:15 +00:00 |
|
Godzil
|
5c10d65c8d
|
Started working on 2D patterns.
|
2020-03-04 09:32:11 +00:00 |
|
Manoël Trapier
|
83c12dbd83
|
Update README.md
|
2020-03-03 00:12:45 +00:00 |
|
Godzil
|
3cfbb604b0
|
Fix missing includes.
|
2020-03-02 23:34:44 +00:00 |
|
Godzil
|
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..)
|
2020-03-02 23:29:06 +00:00 |
|
Godzil
|
a1c53fc9cc
|
Commited that file with incorrect size for automated test.
|
2020-03-02 23:16:17 +00:00 |
|
Godzil
|
0be3236a03
|
Fix how the Lua lib is build to remove that annoying tmpnam warning.
|
2020-03-02 18:05:33 +00:00 |
|
Godzil
|
344c36cd78
|
Remove frand from that scene.
|
2020-03-02 17:44:17 +00:00 |
|
Godzil
|
478b1f0af1
|
Disable a test as it is not consistent between compilers.
|
2020-03-02 17:41:04 +00:00 |
|
Godzil
|
1cebcd4f8b
|
Fix my own stupidity.
|
2020-03-02 16:49:10 +00:00 |
|
Godzil
|
aab9df0802
|
Add support for Lua in world, and create the Lua Pattern (pattern can be defined with a lua function)
|
2020-03-02 16:30:24 +00:00 |
|
Godzil
|
d05a0fb4d0
|
Update ch11 reflection scene to render the 3 different view
|
2020-03-02 14:09:30 +00:00 |
|
Godzil
|
21749695b6
|
Add jitter to area light and example render of it.
|
2020-03-02 14:03:31 +00:00 |
|
Godzil
|
1fbe682572
|
Update readme
|
2020-03-02 08:46:30 +00:00 |
|
Godzil
|
ace7d53571
|
Clearing up some memory to prevent stupid issues
Preparing for some optimisations. (absolutely need to reduce the ammount of allocations done.)
|
2020-03-02 08:24:09 +00:00 |
|