Sfera: a game with real-time path tracing rendering

Community discussion for topics unrelated to the project.

Moderators: Dade, coordinators

Sfera: a game with real-time path tracing rendering

Postby Dade » Sat Dec 10, 2011 10:47 am

I have spent the last weeks on my idea of little game with real-time path tracing named Sfera. It is mostly written with OpenCL and uses Bullet Physics as physic engine. The source code and some pre-compiled binary is available at http://code.google.com/p/sfera

A demo video is available at http://www.youtube.com/watch?v=Dh9uWYaiP3s and should explain how Sfera works.

sfera.jpg


Sfera includes few un-conventional technical choose like a BVH with sphere bounding box (to reduce GPU threads divergence), brute force path tracing (i.e. no direct light sampling), the capability to store many data on constant GPU memory, etc. As result it can achieve some impressive number in term of raw samples/sec:

sfera-record.jpg


1,115,340,000 samples/sec is a pretty big number, no matter how you turn it :D

Sfera is heavily based on SLG2 code (for instance the level description language looks very much like a SLG scene).
Last edited by Dade on Sat Dec 10, 2011 11:15 am, edited 1 time in total.
User avatar
Dade
Developer
 
Posts: 8354
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: Sfera: a game with real-time path tracing rendering

Postby SATtva » Sat Dec 10, 2011 11:15 am

:shock: :shock: :shock:
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 7162
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Sfera: a game with real-time path tracing rendering

Postby B.Y.O.B. » Sat Dec 10, 2011 11:21 am

Absolutely crazy :D
Wow!
User avatar
B.Y.O.B.
Developer
 
Posts: 5131
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Re: Sfera: a game with real-time path tracing rendering

Postby Pilchard123 » Sat Dec 10, 2011 11:35 am

I'll probably look a fool for saying this, but... Why isn't this in Lux?

Anyways, wow. Just...wow.
Pilchard123
 
Posts: 480
Joined: Sun Oct 30, 2011 8:05 am

Re: Sfera: a game with real-time path tracing rendering

Postby SATtva » Sat Dec 10, 2011 11:40 am

Pilchard123 wrote:Why isn't this in Lux?

Because of the limitations listed, i guess. Using sphere primitives only won't be of a big benefit for a production renderer. But don't forget hybrid rendering hasn't been at first a part of Lux either.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 7162
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Sfera: a game with real-time path tracing rendering

Postby Pilchard123 » Sat Dec 10, 2011 11:42 am

Derp. Derp. Derp. Derp. Derp. Derp. Derp. Derp.

This is why I should read things more carefully.

Derp. Derp. Derp. Derp. Derp. Derp. Derp. Derp.
Pilchard123
 
Posts: 480
Joined: Sun Oct 30, 2011 8:05 am

Re: Sfera: a game with real-time path tracing rendering

Postby B.Y.O.B. » Sat Dec 10, 2011 1:09 pm

Pilchard123: Take it easy :)
your question was totally ok ;)
User avatar
B.Y.O.B.
Developer
 
Posts: 5131
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Re: Sfera: a game with real-time path tracing rendering

Postby jeanphi » Sat Dec 10, 2011 4:27 pm

Hi,

Stunning!

Jeanphi
jeanphi
Developer
 
Posts: 7943
Joined: Mon Jan 14, 2008 7:21 am

Re: Sfera: a game with real-time path tracing rendering

Postby Lord Crc » Sun Dec 11, 2011 12:17 am

Look very cool Dade :D
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 5032
Joined: Sat Nov 17, 2007 2:10 pm

Re: Sfera: a game with real-time path tracing rendering

Postby KyungSoo » Sun Dec 11, 2011 12:28 am

WOW!! :shock: :shock: :shock: :shock:
KyungSoo
 
Posts: 375
Joined: Tue Feb 09, 2010 2:49 am
Location: Soeul, KOREA

Next

Return to Offtopic

Who is online

Users browsing this forum: No registered users and 2 guests

cron