Unity Community


Results 1 to 14 of 14

  1. Location
    Liverpool, UK
    Posts
    368

    Pyroclastic Puffs - DX11 Comp Entry

    Here is my second entry for the DX11 contest (my first one being Fluidity).

    It's a new version of my pyroclastic explosions some of you might of seen a while back.

    The raymarching is still done in the pixel shader (with some fancier tricks though) and the noise is calculated in the compute shader and stored in a volume texture.

    The great thing with this project is that I am releasing the full (documented) source code completely free under the MIT license, right now, here! (Until I get a chance to put it up on the asset store, still for free of course).

    A lot of people have contacted me with regards to my older version of this, so I'm hoping this will be satisfactory to you all. And let me know if you do anything cool with it, I'd definitely be interested!


    Here is a link to the full project, and executable : PyroPuffs.zip


    And for those of you without DX11, here is an updated video!
    Last edited by smb02dunnal; 01-19-2013 at 06:04 PM.


  2. Location
    Blacksburg, VA
    Posts
    280
    Wow! That looks gorgeous, best of luck!
    It does not to dwell on dreams and forget to live.

  3. TiG TiG is offline

    Posts
    278
    Absolutely wonderful!


  4. Posts
    51
    I think... I think it's time for...



    ..some Kronos!


  5. Location
    Florida
    Posts
    620
    This contest really made some sick stuff. I really like this, great work!


  6. Posts
    1,550
    Offering the source gratis is admirably generous, my hat goes off to you sir


  7. Posts
    111
    Sharing this is incredible, thank you! It also just convinced me you deserve a Fluidity purchase, getting it now also


  8. Location
    Liverpool, UK
    Posts
    368
    FYI I'm working on a new version of this. My ultimate goal is to get it working on, Mac, PC, Android and iOS.
    Graphics Programmer Portfolio - http://dunnalex.com/
    Twitter - AlexWDunn

    Asset Store: PyroTechnix - Fluidity - Fracture Pro - Fracture Free


  9. Location
    USA
    Posts
    167
    Very awesome, though maybe it would be more impressive to see in an actual animated explosion


  10. Posts
    32
    This is awesome smb! I'm finding that I can't use more than 5 objects in the array - anything over index 4 doesn't get the effect applied to that position. I've look though your code but I can't seem to find out where this limitation is. I'm pretty new at using compute shaders, so it's possible I'm missing something obvious. Any help is much appreciated.

    Thanks!!
    ~Jake


  11. Posts
    32
    Found the solution! It's the unroll command in the Pryo Puff shader. It must be changed from

    Code:  
    1. // Scene setup, draw shapes in here.
    2. float RenderScene(float3 pos, out int objectID)
    3. {   
    4.      objectID = -1;
    5.      float sceneDistance    = 1000000;
    6.  
    7.      [unroll(5)]
    8.      for(uint i=0 ; i<numberOfObjects ; i++)
    9.      {

    to

    Code:  
    1. // Scene setup, draw shapes in here.
    2. float RenderScene(float3 pos, out int objectID)
    3. {   
    4.      objectID = -1;
    5.      float sceneDistance    = 1000000;
    6.  
    7.      [unroll(numberOfObjects)]
    8.      for(uint i=0 ; i<numberOfObjects ; i++)
    9.      {


  12. Location
    0, 5000, 0
    Posts
    1,227
    Quote Originally Posted by smb02dunnal View Post
    FYI I'm working on a new version of this. My ultimate goal is to get it working on, Mac, PC, Android and iOS.
    Hey Alex,

    I was curious if you're doing any development on this. It's an awesome effect but I messed with it yesterday and was having a hard time finding a way to actually use it in a standard way.

    The script being pinned to the camera is one trouble (if you have two or more simultaneously then you need cloned scripts to render the effect?), the other is spawning new, unique instances realtime. Do you have any suggestions on this? Seems like such a fun tool to experiment with, just having a hard time finding out ways to use it on a larger scale.

    Thanks


  13. Location
    Liverpool, UK
    Posts
    368
    Quote Originally Posted by LaneFox View Post
    Hey Alex,

    I was curious if you're doing any development on this. It's an awesome effect but I messed with it yesterday and was having a hard time finding a way to actually use it in a standard way.

    The script being pinned to the camera is one trouble (if you have two or more simultaneously then you need cloned scripts to render the effect?), the other is spawning new, unique instances realtime. Do you have any suggestions on this? Seems like such a fun tool to experiment with, just having a hard time finding out ways to use it on a larger scale.

    Thanks
    FYI What I've provided here is a demo. It is by no means a fully functioning product. If you want to use it for your own purposes, you will have to put some work into it yourself... No free dinners.

    That being said, I am working on a version of this, which will come in a very user friendly format. But it's not ready yet. But some time this year it will be
    Graphics Programmer Portfolio - http://dunnalex.com/
    Twitter - AlexWDunn

    Asset Store: PyroTechnix - Fluidity - Fracture Pro - Fracture Free


  14. Location
    0, 5000, 0
    Posts
    1,227
    Quote Originally Posted by smb02dunnal View Post
    FYI What I've provided here is a demo. It is by no means a fully functioning product. If you want to use it for your own purposes, you will have to put some work into it yourself... No free dinners.
    Lol, of course. I know its a free demo. You had mentioned updating it so I was of course curious about that and ideas/suggestions to extend it myself.

    That being said, I am working on a version of this, which will come in a very user friendly format. But it's not ready yet. But some time this year it will be
    Great! Looking forward to it. =)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •