Volumetric lightshafts via GPU

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
Gigabeat
Kobold
Posts: 28
Joined: Fri Apr 10, 2009 7:22 pm

Re: Volumetric lightshafts via GPU

Post by Gigabeat » Sun Aug 30, 2009 3:26 pm

Thanks for sharing ~
I haven't had time to play around with it yet, but I plan on doing so soon, haha.
0 x

Ident
Gremlin
Posts: 155
Joined: Thu Sep 17, 2009 8:43 pm
Location: Austria
Contact:

Re: Volumetric lightshafts via GPU

Post by Ident » Sat Nov 07, 2009 3:03 am

No link works except for those in the first, original post. Just for your info.


Also i tried this out and liked it : but, this needs some improvement - maybe some blur between the samples if thats possible (guess not easily) and the bugs you know about anyways.

Also: why is the performance so weak? i get only 60 fps on my laptop :( doesn't seem usable for a game therefore, but looks really awesome, especially if you look towards the light source, with the object inbetween.
0 x

Sgw32
Greenskin
Posts: 100
Joined: Mon Aug 30, 2010 9:35 am
x 3

Re: Volumetric lightshafts via GPU

Post by Sgw32 » Sun Apr 03, 2011 4:57 pm

Can someone share the files? All links seem to be broken. :(
0 x

User avatar
cin
Kobold
Posts: 36
Joined: Thu Sep 25, 2008 10:34 am
Location: Russia. Nakhodka.
Contact:

Re: Volumetric lightshafts via GPU

Post by cin » Mon Apr 04, 2011 5:35 am

0 x

Sgw32
Greenskin
Posts: 100
Joined: Mon Aug 30, 2010 9:35 am
x 3

Re: Volumetric lightshafts via GPU

Post by Sgw32 » Mon Apr 04, 2011 4:40 pm

Thanks! Спасибо) :D
0 x

User avatar
amigoface
Greenskin
Posts: 132
Joined: Mon Oct 13, 2008 3:01 pm

Re: Volumetric lightshafts via GPU

Post by amigoface » Wed Aug 24, 2011 6:23 pm

please re upload again
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: Volumetric lightshafts via GPU

Post by jacmoe » Wed Aug 24, 2011 7:38 pm

Link and archive works just great here. :wink:
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
Lexx
Kobold
Posts: 34
Joined: Fri Mar 16, 2007 1:19 am
Location: Russia

Re: Volumetric lightshafts via GPU

Post by Lexx » Wed Aug 24, 2011 8:02 pm

jacmoe wrote:Link and archive works just great here. :wink:
It's strange, but all links are expired for me...
and
amigoface wrote:please re upload again
sorry, but i can't find source of this sample on my hard drive. Looks like i just deleted some of my old stuff. But i found some parts of this code in my another project. So, if you still need this, i will make new sample tomorrow (it's ~11.00 pm right now in Russia). Or if you need it right here and right now, just port original code http://sebastien.hillaire.free.fr/demos ... godray.htm
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: Volumetric lightshafts via GPU

Post by jacmoe » Wed Aug 24, 2011 8:21 pm

My mistake. :)

Can you remember what the archives was called?

I have several lightshaft archives on my disc..
One is from October 2007, and has Artheria in the material names..
Could you maybe give me some hints?
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
Lexx
Kobold
Posts: 34
Joined: Fri Mar 16, 2007 1:19 am
Location: Russia

Re: Volumetric lightshafts via GPU

Post by Lexx » Wed Aug 24, 2011 8:36 pm

I can't even remember where I kept this stuff...
Hard drives are huge, and it's good. But some times it bringsome stupid problem.
 
Anyway, i will make new sample tomorrow.
0 x

User avatar
Lexx
Kobold
Posts: 34
Joined: Fri Mar 16, 2007 1:19 am
Location: Russia

Re: Volumetric lightshafts via GPU

Post by Lexx » Fri Aug 26, 2011 2:18 pm

Ok, sorry, just got DeusEx and forgot about everything.

http://www.mediafire.com/?535a3bfv03286za
http://www.megaupload.com/?d=MG9J0HUN
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: Volumetric lightshafts via GPU

Post by jacmoe » Fri Aug 26, 2011 3:54 pm

So nice! :D

What I am going to do now is put it up on the wiki. :)
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: Volumetric lightshafts via GPU

Post by jacmoe » Fri Aug 26, 2011 4:04 pm

Done:
http://www.ogre3d.org/tikiwiki/tiki-ind ... ightShafts
*whew* - than you so much, Lexx. :)

The page will of course be written later.
But now the snippet has been preserved.
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
boyamer
Orc
Posts: 459
Joined: Sat Jan 24, 2009 11:16 am
Location: Italy

Re: Volumetric lightshafts via GPU

Post by boyamer » Fri Aug 26, 2011 4:08 pm

Is this the old one, or you created new one updated?

Thanks
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: Volumetric lightshafts via GPU

Post by jacmoe » Fri Aug 26, 2011 4:14 pm

Looks like he created a new project, and used the old code with it.
Framelistener and materials/scripts/programs are from 2008. Project and app code is from today.
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

ericld
Gnoblar
Posts: 2
Joined: Fri Feb 08, 2019 8:55 am

Re: Volumetric lightshafts via GPU

Post by ericld » Sat Feb 09, 2019 3:16 pm

Hi, the ogre page is no longer available. All links before are also unavailable now. Will you please upload this demo? Thanks a lot!
jacmoe wrote:
Fri Aug 26, 2011 4:04 pm
Done:
http://www.ogre3d.org/tikiwiki/tiki-ind ... ightShafts
*whew* - than you so much, Lexx. :)

The page will of course be written later.
But now the snippet has been preserved.
0 x

User avatar
lonewolff
Ogre Magi
Posts: 1204
Joined: Wed Dec 28, 2005 12:58 am
x 5

Re: Volumetric lightshafts via GPU

Post by lonewolff » Thu Jul 25, 2019 12:41 pm

ericld wrote:
Sat Feb 09, 2019 3:16 pm
Hi, the ogre page is no longer available. All links before are also unavailable now. Will you please upload this demo? Thanks a lot!
jacmoe wrote:
Fri Aug 26, 2011 4:04 pm
Done:
http://www.ogre3d.org/tikiwiki/tiki-ind ... ightShafts
*whew* - than you so much, Lexx. :)

The page will of course be written later.
But now the snippet has been preserved.
Wouldn't hold my breath. Considering that post is nearing on a decade ago.
0 x

frostbyte2
Gnoblar
Posts: 6
Joined: Mon Jun 03, 2019 2:45 pm
x 6

Re: Volumetric lightshafts via GPU

Post by frostbyte2 » Fri Jul 26, 2019 3:53 am

i've uploaded it...IMHO really belongs in the sampleBrowser...
https://bitbucket.org/frostbyte2/ogreli ... downloads/

edit...i think something is wrong or changed with the [url] tag , or maybe i just don't use it right...
anyway the correct link is:
https://bitbucket.org/frostbyte2/ogreli ... downloads/

edit2...sorry, it seems that bitbucket is defaulting to private repos now, fixed it , repo is now public... :)
4 x

paroj
OGRE Team Member
OGRE Team Member
Posts: 851
Joined: Sun Mar 30, 2014 2:51 pm
x 165
Contact:

Re: Volumetric lightshafts via GPU

Post by paroj » Sat Aug 17, 2019 12:07 am

frostbyte2 wrote:
Fri Jul 26, 2019 3:53 am
i've uploaded it...IMHO really belongs in the sampleBrowser...
as you wish.. https://github.com/OGRECave/ogre/pull/1247
3 x

frostbyte2
Gnoblar
Posts: 6
Joined: Mon Jun 03, 2019 2:45 pm
x 6

Re: Volumetric lightshafts via GPU

Post by frostbyte2 » Sat Aug 17, 2019 5:38 pm

sweet... thank you paroj for all the hard work you put into ogre
i wish for world piece and for OGRE to thrive ...
at least for the second one ogre-team and community give me some hope :D
1 x

paroj
OGRE Team Member
OGRE Team Member
Posts: 851
Joined: Sun Mar 30, 2014 2:51 pm
x 165
Contact:

Re: Volumetric lightshafts via GPU

Post by paroj » Sun Aug 18, 2019 12:12 am

while I was at it, I took some inspiration from Crashy: viewtopic.php?t=33445
to make it work with ordinary spotlights, instead of requiring a special camera. Also it now leverages the shadow system for most of the things and integrates with texture shadows:

Image

finally I send the shaders through Cg (I know a GLSL port would be better) so the demo works on both GL and D3D9 RenderSystems.
3 x

loath
Platinum Sponsor
Platinum Sponsor
Posts: 97
Joined: Tue Jan 17, 2012 5:18 am
x 2

Re: Volumetric lightshafts via GPU

Post by loath » Fri Aug 23, 2019 6:59 pm

badass paroj!

you need to mention this stuff on the patreon page. you do so much amazing work.
0 x

Crashy
Google Summer of Code Student
Google Summer of Code Student
Posts: 996
Joined: Wed Jan 08, 2003 9:15 pm
Location: Lyon, France
x 14
Contact:

Re: Volumetric lightshafts via GPU

Post by Crashy » Fri Sep 06, 2019 9:43 am

Cool !
I've spotted the commit on github and thought "hey, I did something like that a long time ago, it was cool" :D
0 x
Follow la Moustache on Twitter or on Facebook
Image

Post Reply