Results 1 to 16 of 16
  1. #1
    Member C.A.ligári's Avatar
    Join Date
    Jul 2011
    Location
    Posts
    1,509

    Dissolve Material (NEW Version)

    Loved it when the Demons in Doom³ died in hellfiery Dissolve Effect which might become rather common with the UDK having it?

    Short Time ago I did that simple Dissolve Effect for my Contribution on the Weekend Challenge, and I think I might put a revised Version of it (cleaned up a Bit, added slightly better Functionability and some Comments) here on the Resources Forum, just to make that a Bit more official.

    New Version: (Object-Color-Script, efficient):
    https://dl.dropbox.com/u/104245941/dissolve02.blend



    ~~~

    Old Version (Vertex-Color-Script, inefficient):
    https://docs.google.com/uc?id=0Bx2y0...nload&hl=en_US

    And here a little Video to demonstrate the (old) Effect:
    Last edited by C.A.ligári; 10-Dec-12 at 18:26.
    My DeviantArt (with Updates on my Adventure-Game)
    SoundCloud
    YouTubeSilent Hill Fan-Soundtrack



  2. #2
    Member leonnn's Avatar
    Join Date
    Dec 2008
    Location
    Brazil - PR - Maringá
    Posts
    2,554
    Really cool, I allways wondered how to do this, thanks a lot C.A. this is amazing!
    Intel 486
    64 mb RAM/128 mg HD
    Graphic card Voodoo 122



  3. #3



  4. #4
    hey!
    I did not know that you had done you, I thought it was a "copy and paste"!
    in addition, could not find the script! Obviously ... I looked in the wrong window. : D
    even duplicating the cube can not get it drop below 59FPS!
    very cool !!!!!!!!!!!!

    question:
    textures, should be TGA? (I never understood how to make the TGA to do: /)



  5. #5
    Member Satoru's Avatar
    Join Date
    Aug 2011
    Location
    U.S.A.
    Posts
    288
    Cool! Now I just add a second cube with black texture, and add flames! Instant combustive object!



  6. #6
    Member C.A.ligári's Avatar
    Join Date
    Jul 2011
    Location
    Posts
    1,509
    @ all:
    Thank you! :]

    @ MarcoIT:
    You can use any supported File Format. Making TGA Textures is a Matter of what Tool you use (Gimp? PhotoShop?), but the Alpha Transparency used for the Effect is defined by Nodes -- I never use TGA Transparency for Blender, not enough Control. ;}

    @ Satoru:
    Hell yeah. \m/
    I also have thought to Myself that the Effect might make a rather goodlooking Combustion, though I thought of something like Paper or some Sort of Fabric... the Idea with the black Cube is good, though you also can modify the Node Material so that instead of leaving pure zero Alpha Transparency just Black would be left. I have not tried it out, though it would work better for anything moving... alright, burning down living Things with Flamethrowers is evil, don't do that! :O
    Last edited by C.A.ligári; 25-Jan-12 at 23:36.
    My DeviantArt (with Updates on my Adventure-Game)
    SoundCloud
    YouTubeSilent Hill Fan-Soundtrack



  7. #7
    Member Satoru's Avatar
    Join Date
    Aug 2011
    Location
    U.S.A.
    Posts
    288
    Oh come on man! You need to experiment sometimes! Besides, only then would you know you are being realistic.
    Want to make video games? Use Blender. Want to look professional? Use Blender with Unity. Want to make quality games? Develop quality skills.



  8. #8
    Member leonnn's Avatar
    Join Date
    Dec 2008
    Location
    Brazil - PR - Maringá
    Posts
    2,554
    C.A I m using this effect to fade in some things for my game, and it looks beautifull, this technique is great! thanks about sharing it! I m having a doubt about the alpha settings, I tried the same settup on other object and weirdly the alpha dont work, and it simply fade from the white, but Im trying to undestand why this is happening, aniway Great effect!
    Intel 486
    64 mb RAM/128 mg HD
    Graphic card Voodoo 122



  9. #9
    Member C.A.ligári's Avatar
    Join Date
    Jul 2011
    Location
    Posts
    1,509
    Thanks.
    Maybe your Material has »Add« as Alpha Mode? Because under that Circumstance it would fade to non-transparent white instead.
    My DeviantArt (with Updates on my Adventure-Game)
    SoundCloud
    YouTubeSilent Hill Fan-Soundtrack



  10. #10
    Member leonnn's Avatar
    Join Date
    Dec 2008
    Location
    Brazil - PR - Maringá
    Posts
    2,554
    Ok I ll try it out, thanks a lot an again this is great!
    Intel 486
    64 mb RAM/128 mg HD
    Graphic card Voodoo 122



  11. #11
    Member TheDuckCow's Avatar
    Join Date
    Aug 2010
    Location
    Boston MA
    Posts
    255
    Hey, really cool stuff I thought of trying to do a fade-out effect (since that's not longer possible with animation/actions in the bge?) using UV sliding, but this method of vertex colors is a lot more elegant. I really need to learn how to better use material nodes in the game engine, there are so many possibilities

    *Sorry for the page bump, but this is pretty cool
    ~Patrick W. Crawford

    Moo-ack Productions! or on youtube or on DeviantArt



  12. #12
    Member BluePrintRandom's Avatar
    Join Date
    Jul 2008
    Location
    NoCal Usa
    Posts
    18,319

    Plasma envelope

    I am looking into how to produce an accurate model of an invention I have, and this dissolve effect may would be perfect for,
    The idea is that from a high mach hyper sonic ground launch of a spacecraft, the heatshield could make plasma, this plasma could be pushed away and backwards, both insulating the craft and accelerating it.
    what I need is multiple objects adding up to the heatshield, and have them spawn particles where the shield is disolving, and use those particles as a physics reaction mass, and find the amount of energy etc required.....

    help?
    http://www.youtube.com/watch?v=PFcX9l_8EFg&feature=plcp
    Last edited by BluePrintRandom; 24-Nov-12 at 19:40.



  13. #13
    Member C.A.ligári's Avatar
    Join Date
    Jul 2011
    Location
    Posts
    1,509
    @BluePrintRandom: I am not entirely sure how my Dissolve Method would help, especially considering the Example Video that you have added. However, the Video looks like something that my Fire Material's Alpha Method could help you: http://blenderartists.org/forum/show...hp?272777-Fire
    The Thread has not got much Response so far, but your Example Video looks like you need Geometry based Transparency -- my Fire Material is a Bit more complex, but is shows well how the get the Alpha fade out at the Borders. (Quite simple: basically you connect DotProduct of Normal and View Vectors and some correcting Math to the Output's Alpha Node.)
    My DeviantArt (with Updates on my Adventure-Game)
    SoundCloud
    YouTubeSilent Hill Fan-Soundtrack



  14. #14
    Member Wraaah's Avatar
    Join Date
    Oct 2009
    Location
    Eindhoven, Netherlands
    Posts
    373
    Thanks for showing what can be done with smart use of node materials. I also liked the fire effect.

    One thing that is an issue here is that looping through all vertices of a more complex mesh quickly eats up logic. Another way is to use the object color, this gives you 4 channels into the node editor to get material animations in BGE. Attached is an example, the node set-up does not make much sense but I just wanted to see if I could use this to warp a texture
    Attached Files Attached Files
    Love Blender prototyping, if just I would finish something



  15. #15
    Member leonnn's Avatar
    Join Date
    Dec 2008
    Location
    Brazil - PR - Maringá
    Posts
    2,554
    This is one of the effects that I most use, if you check the oppening of my pic a pix there is a massive page write going on thanks to this amazing effect, I allready thanked you C.A, but thanks again!
    Intel 486
    64 mb RAM/128 mg HD
    Graphic card Voodoo 122



  16. #16
    Member C.A.ligári's Avatar
    Join Date
    Jul 2011
    Location
    Posts
    1,509
    Thanks, leonnn! :}

    And many thanks to you, Wraaah! (Triple-Letter-Composita seem popular among the Good.^^)
    I have followed your Advice and created a new, rather clean .blend File:
    https://dl.dropbox.com/u/104245941/dissolve02.blend

    I use Object Color, a Module with one Fade-In and one Fade-Out and of Course no more Vertex Colors. Thank you very much, Wraaah, your little Example helped me a Lot on making this Effect a Lot more efficient! : D

    EDIT's EDIT:
    Last edited by C.A.ligári; 10-Dec-12 at 18:24.
    My DeviantArt (with Updates on my Adventure-Game)
    SoundCloud
    YouTubeSilent Hill Fan-Soundtrack



Posting Permissions

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