Monday, July 18, 2011

Update on Futuristic Buildings

Update on my previous post: I brought back my beloved car character from Unbiased Truck Soccer. Some images (rendered blazingly fast at 16 spp per frame):





One 720p image (16 spp, almost no noise to be found):


I still have to create a tight fitting bounding box around the car to increase the path tracing performance (although the performance is still quite good without it). The source code of Simplex Paternitas also provides examples of rotation matrices and scripted camera animation sequences, so there are lots of cool things left to explore. The car will eventually be user controllable with a camera following the car and in contrast to my previous demos featuring the car (Unbiased Truck Soccer etc.), it will also be able to rotate instead of just translate.


UPDATE: The rotation of the car is now working. Below is a video that was rendered on my 8600M GT with only 4 samples per pixel per frame (framerate is about 5 fps at 640x480 resolution).



There still isn't an acceleration structure for the car (in this case an axis aligned bounding box), which degrades the path tracing performance a little, but the code for should be done soon. After that I'm going to make the car user controllable. There's also a new 'futuristic building' which degrades performance even more, so it will need a hitbox as well:

2 comments:

Kerrash said...

Great progress. Sorry I've been too busy to look into things.

I'm glad there are some better frameworks around now. The TOKASPT code was not so flexible.

This seems like a much better base to start with.

Ray Tracey said...

Hi Kerrash!

It's been a long time indeed :-) Glad you're still following my blog.

The code of this new path tracer is indeed a lot more accessible and straightforward than tokaspt's code.

I have also been studying C++ for the past 6 weeks in my spare time, which has helped me a lot at understanding the program and writing new code. I'm adding new stuff every day now, and I've already succeeded at making the rotation of the car work. And it looks great!