Blog Stats

I was looking to see if there were any new books out based on C++11. I didn’t find any, as its still early (Guess we’ll have to give it a year or two), but I did find these coming out next year. Thought I’d share.

I’m personally looking forward to the new editions of the “The C++ Standard library” and “C++ Programming language”. Going by this though, I wonder just how much code will actually compile in VS when they do come out ( assuming they are using C++ 11 )

Today I added photon tracing. Its only Caustic photons at the moment, but the improvement in speed and visual quality is much better now, and I’ve still yet to thread the 1st pass photon generation stage. As mental ray does, I only trace photons at geometry in the scene that reflect or refract, to save on wasted caustic photons. This is done by querying for all geometry with a specular type material, retrieving their AABBs and then shooting photons from the lights at these boxes. A lot of geometry really doesnt get bounded very well by AABBs, such as the teapot below, so I also added the option to keep shooting photons until the target count is matched, as opposed to just storing the ones that do hit. This takes a little longer, but it means less fiddling with the multipliers to get descent results.