Friday, December 9, 2011

Vehicle test in Brigade 2

Another test with the Brigade 2 path tracer: this time I've added a user-controllable vehicle (included in Brigade) to the scene from the previous post. The truck consists of 1953 triangles and uses a dynamic BVH which is updated (BVH refitting as there are only translations and rotations) every frame when the truck moves.

There is also some variation in the materials (all objects are no longer diffuse): the horse has a glass material applied to it (no Beer's law, although the engine supports it), the green sphere is glossy and the truck's trailer is perfectly specular. The following video and screenshots were rendered at 320x240 with 12 spp per frame on a low-end GPU (GeForce GTS 450):


The shadows and refraction are awesome:


640x480 render resolution:


Some ideas for upcoming tests:

- recycle the vehicle physics code from the Unbiased Stunt Racer demo
- move to an outdoor environment with skydome lighting. From early trials I've found out that the convergence in such a setting is extremely fast and 8 spp are often enough
- make a real-time Bullet physics demo of a collapsing structure, e.g. something like this or this

2 comments:

Anonymous said...

Good job! Keep it up!

Ray Tracey said...

Thanks, I will. I'm already working on a scene with skydome lighting resulting in much less noise. A video will be up soon.