Wednesday, December 7, 2011

Bullet physics test 1 in Brigade 2

I've made a very simple real-time, interactive Bullet physics simulation of a bouncing light-emitting cube, rendered using the Brigade 2 path tracer with 8 spp per frame on a low-end GTS 450 (render resolution is 320x240 to keep the framerate acceptable). The simulation can be paused and resumed and the image converges when nothing moves. The scene contains 12733 triangles.

Video:


5 comments:

Anonymous said...

hi,
thank you for your really nice blog.
I would like to learn from the code too.
I've searched the net, but only find Brigade 1 source code. Could you please tell us, where we could get brigade 2 ?
Thanks again

Ray Tracey said...

Hi, the Brigade 2 code is not open source at the moment, but Jacco Bikker posted some snippets of the CUDA path tracing code at

http://igad2.nhtv.nl/ompf2/viewtopic.php?f=5&t=3

Anonymous said...

thanks for the answer :)
You did your demo from those snippets ?
Anyway great job and i hope he will open it to the community.

Ray Tracey said...

No, I've got the full code :)

Anonymous said...

hmmm ! :p