Soft Particles (6 posts)

  • Profile picture of larda larda18p said 3 months, 2 weeks ago:

    SoftParticles, based on his code: http://www.joeforte.net/projects/soft-particles/
    Requires using float texture (I didnt make a check if it is unavailable, but has to do).

    I made SoftParticlesProcessor and adding it to the viewport and using “Shaders/SoftParticle.j3md” instead of “Common/MatDefs/Misc/Particle.j3md”
    will render them differently.

    Code rar can be found at http://haima.dy.fi/jme and go to files dir. Can’t hotlink files!

    http://img35.imageshack.us/img35/1629/softq.jpg

    (left image using soft particles, right does not)

  • Profile picture of mifth mifth132p said 3 months, 2 weeks ago:

    @larda , can i put your code to the shader library?

    http://code.google.com/p/jme-glsl-shaders/

    I also can set you as a project developer.

    Or, @nehon , could it be in the jme core?

  • Profile picture of nehon nehon591p said 3 months, 2 weeks ago:

    Nice!
    looks like it does quite a big hit on the framerate though.

    @mifth i have to test it, but yeah yeah why not, this feature would fit in the core.

  • Profile picture of kwando kwando80p said 3 months, 2 weeks ago:

    Great! Now I might not have to implement this myself =)

  • Profile picture of larda larda18p said 2 months, 4 weeks ago:

    @mifth sure, add it and do everything with it.

    @nehon Btw, it is faster when using Format.RGB16F instead of RGB32F (in SoftParticlesProcessor.java at line 28 or so)

  • Profile picture of mifth mifth132p said 2 months, 3 weeks ago:

    @larda , I added your shader to the shader library! Thank you a lot!

    http://code.google.com/p/jme-glsl-shaders/