Godzil
c0fc061834
Don't set the focal/aperture on the constructor and use a dedicated method for that.
2020-03-17 00:28:56 +00:00
Godzil
61ce9d3543
Add possibility to play with focal length and aperture to the camera. Not enabled by default.
2020-03-17 00:23:16 +00:00
Godzil
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
2020-03-13 18:22:35 +00:00
Godzil
b5ee92c544
And CSG! \o/
...
Still working on a nice scene for it.
2020-03-06 19:00:31 +00:00
Godzil
a6f0422bd1
Add renderstat to get some info about rendering.
2020-02-27 17:20:55 +00:00
Godzil
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 .. :/
2020-02-26 16:09:28 +00:00
Godzil
ed347e304d
Quick (and dirty) change to be able to use OpenMP for rendering.
2020-02-26 02:18:54 +00:00
Godzil
e45dbad59e
Added some proper test scenes for chapter 11.
2020-02-22 00:50:55 +00:00
Godzil
a477b137e7
Add a super special Camera from a well known constructor. Can take picture up to Infinite TeraPixel!
2020-02-20 16:08:47 +00:00