tag:blogger.com,1999:blog-2655089194160110106.post7952275478933646163..comments2023-09-08T07:27:14.857-07:00Comments on Simon schreibt.: Doom 3 - Volumetric GlowUnknownnoreply@blogger.comBlogger18125tag:blogger.com,1999:blog-2655089194160110106.post-74509774589895476042013-08-27T07:07:20.654-07:002013-08-27T07:07:20.654-07:00Not sure if your link is really related to my arti...Not sure if your link is really related to my article...Simonhttps://www.blogger.com/profile/11771279301864458943noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-82059083798934453742013-08-23T07:37:16.829-07:002013-08-23T07:37:16.829-07:00You understand the way the algorithms and problem ...You understand the way the algorithms and problem solving works. <br />Most importantly you understand the aspect of what kind of property you want to be able to represent, and that you need to abstract it in order to render it with a GPU.<br />It's a small step from there to actual code.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-43731097613463547802013-07-24T04:22:53.630-07:002013-07-24T04:22:53.630-07:00Like the Haze effect, it sounds real amazing with ...Like the Haze effect, it sounds real amazing with a perfect glow behind the object. This would be a great while in capturing images and in specific in regards to photography.<br /><a href="http://lunabrite.com/usage-costumedesign/" rel="nofollow">Hi Viz apparel</a>Anonymoushttps://www.blogger.com/profile/14365089956883401323noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-49755633269824412012013-05-05T12:48:43.192-07:002013-05-05T12:48:43.192-07:00Sure - or maybe with some more intersections in th...Sure - or maybe with some more intersections in the "light mesh"...Simonhttps://www.blogger.com/profile/11771279301864458943noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-6892391651996165562013-05-05T12:47:14.687-07:002013-05-05T12:47:14.687-07:00I saw you post on reddit and answered there :)I saw you post on reddit and answered there :)Simonhttps://www.blogger.com/profile/11771279301864458943noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-39701126471172689572013-05-05T12:46:33.398-07:002013-05-05T12:46:33.398-07:00Thanks man! I saw some clicks coming from reddit i...Thanks man! I saw some clicks coming from reddit in my statistics and found it :) But it's very nice that you gave me the link! :)Simonhttps://www.blogger.com/profile/11771279301864458943noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-25100824210861872122013-05-05T12:45:22.953-07:002013-05-05T12:45:22.953-07:00Maybe you're interested that some guy implemen...Maybe you're interested that some guy implemented it into this engine:<br /><br />http://www.reddit.com/r/gamedev/comments/1djnql/doom_3_volumetric_glow/Simonhttps://www.blogger.com/profile/11771279301864458943noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-58508137152268399502013-05-03T11:54:48.969-07:002013-05-03T11:54:48.969-07:00wonder if it would look better with pixel vs verte...wonder if it would look better with pixel vs vertex interpolation.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-11999963223991948762013-05-02T16:51:33.839-07:002013-05-02T16:51:33.839-07:00Addendum to above:
So i decided to try and implem...Addendum to above:<br /><br />So i decided to try and implement this. Here it is running in RobGetOut's forward render path:<br /><br />http://badsector.minus.com/lbnqk1Rovw2adt<br /><br />and in the deferred render path:<br /><br />http://badsector.minus.com/lbgZeGZMVviPKX<br /><br />The forward path looks more like Doom 3's while the deferred looks more as if there was some blur pass with HDR (the light "bleeds" out thanks to the contrast filter).<br /><br />As an extra note, i had to bring the vertices back to camera space in order to do depth testing. Which makes me wonder if it would be easier to simply calculate scale from the projection matrix and do everything in world space.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-82780088485063789672013-05-02T12:40:14.003-07:002013-05-02T12:40:14.003-07:00This is one of Doom 3's effects that i also pa...This is one of Doom 3's effects that i also paid attention too since it provides "clean" results even without HDR.<br /><br />I haven't implemented it yet, but i think the idea is very simple: the polygon edges are projected in screen space and then they're extruded with a constant (screen space) distance from the (2D projected) center with one additional vertex for each corner (so they're round).<br /><br />Since Doom 3 does that only for visible "light" surfaces which face the camera (which is a very cheap test) and those lights are convex shapes, the geometry for this can be calculated at realtime).<br /><br />~badsectorAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-76870371757802426152013-05-02T05:44:11.132-07:002013-05-02T05:44:11.132-07:00Thanks for the great article - I really like this ...Thanks for the great article - I really like this blog. There's some discussion on Reddit if you're interested http://www.reddit.com/r/gamedev/comments/1djnql/doom_3_volumetric_glow/Anonymoushttps://www.blogger.com/profile/07703067646030334728noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-17521192861238275182013-05-02T04:24:49.365-07:002013-05-02T04:24:49.365-07:00True. Actually, as long as the polygon is flat you...True. Actually, as long as the polygon is flat you can precompute the silhouette (all edges are always gonna be visible if the poly is) and if it's convex you know you need the extra two triangles for each corner, so you can precompute the mesh for all convex shapes and then it's just a bit of vertex shader tinkering to get the effect (all lines orientations for a corner mesh are just dependent on the screen space positions of the two segments that form the corner. The two "exterior" lines are each perpendicular to a segment, the "interior" line is at the halfway angle between them)Chevnoreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-51233859485143901512013-05-02T03:42:40.488-07:002013-05-02T03:42:40.488-07:00Yeah, i'm looking forward to Doom 4 :)Yeah, i'm looking forward to Doom 4 :)Simonhttps://www.blogger.com/profile/11771279301864458943noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-2691678662809071052013-05-02T03:42:00.613-07:002013-05-02T03:42:00.613-07:00That sounds logic to me but i think they must have...That sounds logic to me but i think they must have extended the tech a bit because the base geometry for the light plane is just a quad. But the generated glow geometry is "round" at its corners. A shadow volume if the plane would be "hard-cornered" if you know what i mean.<br /><br />But i really like the idea that they used their shadow tech for doing these volumes. Simonhttps://www.blogger.com/profile/11771279301864458943noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-83216968070592535942013-05-02T01:22:07.516-07:002013-05-02T01:22:07.516-07:00simply beautifull.
I love ID just because they so...simply beautifull.<br /><br />I love ID just because they solve usual and common problems just in their very own way. This use to make them very creative and technically alternative.<br /><br />Anyway I should recognize that sometimes they're right and sometimes not so...Neodroidhttps://www.blogger.com/profile/08353548951349414584noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-21129850809405370372013-05-02T00:12:44.228-07:002013-05-02T00:12:44.228-07:00I haven't looked at the source but from what I...I haven't looked at the source but from what I can see on those images, basically what it does is calculated the silhouette (ie a list of all the edges that don't have a visible face on both sides from the POV of the player) and are thus the borders of the drawn object, and then "expand" them, drawing a polygon strip around them.<br /><br />Normally determining the silhouette and dynamically creating that strip would be somewhat complex and developers wouldn't implement it just for the sake of that effect, but for Doom 3 it wasn't a problem because it *already* uses silhouettes with polygon strips for its shadowing system (same principle, but from the POV of the light that's casting a shadow), so they just recycled the algorithm for an extra effect.Chevnoreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-8759676966610358092013-05-01T14:35:54.965-07:002013-05-01T14:35:54.965-07:00He he, that's right. But I'm just a small ...He he, that's right. But I'm just a small artist and don't understand the code. But maybe we get lucky and a programmer will have a look on it :)Simonhttps://www.blogger.com/profile/11771279301864458943noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-79998960732744963952013-05-01T14:11:07.664-07:002013-05-01T14:11:07.664-07:00Well the source code is out now, you can check it ...Well the source code is out now, you can check it out.Anonymousnoreply@blogger.com