JME3 now glows (21 posts)

Topic tags: Bloom, filter, Glow, jME3, Shader
  • Profile picture of nehon nehon590p said 1 year, 7 months ago:

    Hi everyone, I’ve enhanced the bloom filter so you can use glow maps for your models.
    The idea is to glow only some parts of a model instead of just extracting and blooming highlights from the scene.
    Images are better than words : here are screen shots of the tank model available in last SVN (TestHoverTank)


    The doc on how to achieve this is coming next

  • Profile picture of nehon nehon590p said 1 year, 7 months ago:

    And here is the how to

    http://jmonkeyengine.org/wiki/doku.php/jme3:advanced:bloom_and_glow

    enjoy

  • Profile picture of erlend_sh erlend_sh132p said 1 year, 7 months ago:

    “The left image has no bloom effect, the right image does. ” And there’s no doubt about it! :D Another great piece of work nehon. (you gotta remember to tweet your awesomeness!)

    Small thing about the tutorial, I didn’t quite appreciate the “the result on Oto’s plasma ball”, because I didn’t get to see a “before” picture. I assume you assume (uh oh!) that readers have seen and learned about Oto’s plasma balls as they once appeared elsewhere, but I think it’s good practice to make tutorials more independent with easy fixes like before/after pics.

  • Profile picture of nehon nehon590p said 1 year, 7 months ago:

    Thank you Erlend
    I made a before and after screen shot for Oto ;)

  • Profile picture of tehflah tehflah37p said 1 year, 7 months ago:

    You know, I was playing WoW the other day and was thinking about how the heck they made parts of certain models glow like that. Figured it would be a pain in the butt if it was some external setting, so I bet they do something similar to keep it with the model. Good stuff! Definitely will look into this soon just to see what I can pull off!

    As an aside, this would probably be really good for models of lamps, light fixtures or just lightbulb models as well. ;)

  • Profile picture of Levia Levia4p said 1 year, 7 months ago:

    This is awesome stuff. Thanks @nehon for another great effect

  • Profile picture of normen normen1271p said 1 year, 7 months ago:

    Yay :o Rémy, all that is being rendered there was *you*, including the model!! I knew you would be a great asset to jME :D

  • Profile picture of jiyarza jiyarza10p said 1 year, 7 months ago:

    That’s fantastic! :-)

  • Profile picture of lwsquad lwsquad26p said 1 year, 7 months ago:

    Great work :) very Impressive!

  • Profile picture of 3H 3H2p said 1 year, 7 months ago:

    Very cool, good work!

  • Profile picture of InShadow InShadow15p said 1 year, 7 months ago:

    Strangely enough, when I run TestHoverTank, I only see black screen and stats view. If I try zooming camera a little I can see changes in stats view (probably because of LOD control), but not on the screen. Any ideas what is wrong (I have decent 2 years old video card)?
    Anyway, great work!! :)

  • Profile picture of nehon nehon590p said 1 year, 7 months ago:

    the filter must fail.
    Have you got any error in the log? like the complete shader code output and a shader compilation error?

  • Profile picture of InShadow InShadow15p said 1 year, 7 months ago:

    Hmm, no I don’t get anything like this.
    But I get this somewhere between the output:

    WARNING: Cannot locate resource: Models/HoverTank/Tank2.material

    .
    Also I noticed that there is 2x this line in code, should probably only be once:

    rootNode.attachChild(tank);

    .
    I have another question, is it possible to use glow without bloom effect (just for a bigger fps)?

  • Profile picture of normen normen1271p said 1 year, 7 months ago:

    InShadow said:
    I have another question, is it possible to use glow without bloom effect (just for a bigger fps)?

    No, the glow *is* the bloom effect.

  • Profile picture of 3H 3H2p said 1 year, 7 months ago:

    Just an idea: Maybe you could implement a brightness threshold, if someone want to use object glow without setting the glow map.