Motion Blur

One really nice effect for JME would be motion blur. I found this description, but implementing it is beyound my coding abilities.



http://developer.nvidia.com/docs/IO/8230/GDC2003_OpenGLShaderTricks.pdf



Maybe someone wants to try it…

First…



This is nvidia-stuff based on nvidia cg.  :evil:



Jme uses OpenGL for shading. Look at the RenderMonkey by ATI. Rendermonkey has good examples for glsl-shaders. Grab it and code the interface like the BloomRenderPass found in JME's effects package.



Good luck,

it's learning by doing…



Mfg.

Cg can compile to GLSL these days though.

ok, ok…  :smiley:



CG can compile to glsl. have it seen on nvidias dev-page.



mr. coder are the best.

mrCoder, you make us all look lazy…!

not really, looking back at how long it took me to get the waterstuff into jme :slight_smile:

i will have the position of top-lazyman for ever :wink:

If only we all had six straight weeks of vacation…  :wink:

welcome to sweden  :smiley:

llama said:

mrCoder, you make us all look lazy..!


I take offense at that....I think I do a great job of making myself look lazy all by myself. 
mrCoder, you make us all look lazy..!


I could do that in photoshop also! It's not like he'll ever check this in to show that it's actually real, you know. :)

Well, I decided to put Mr. Coder in his place and make a more efficient version:







Suck on that FPS goodness Mr. Coder!  :stuck_out_tongue:

great fps! but what lousy looks…lots of sucky visual artifacts etc…and why just a boring torus???  :stuck_out_tongue:

Yeah, same here. :frowning:

mojomonk said:

mrCoder, you make us all look lazy..!


I could do that in photoshop also! It's not like he'll ever check this in to show that it's actually real, you know. :)


go ahead and do a cvs update...MOAHAHAHAHAHA

since these problems keep coming up with shader-based stuff it would be really great if everyone(at least those with problems) could download and run GLInfo

http://www.delphi3d.net/hardware/

(http://www.delphi3d.net/hardware/glinfo2.zip)



start it and save a html report and post it here or mail me on: rikard.herlitz@jadestone.se



would be great to have a list on what jme or glsl stuff works and what configs those people have…

sigh you gotta hate all the graphics card makers for not making glsl compliant or just dead slow cards…



which crappy cards do you have?

my fps ranges from 250-350 in 1280x1024…



Hm, I removed the Torus, it works with just the Sphere, but extremely slow… (1 frame every 5 seconds). So maybe it works with the Torus too, just slow… (so slow Darkfrog's photoshop method is indeed faster :P)

nice work!  :slight_smile:

and since you asked, i get around 220 fps with motion blur and 260 without (gf 7800gt).

since it didn't run significantly faster without blur,  i disabled my composite manager (built-in in xfce svn's window manager) and reran it. now i get around 700 fps with and 1400 without motion blur.

thanks. wow, great specs :slight_smile:



here’s my glinfo report: http://hem.bredband.net/mrcoder/test1.htm

I don't know how easy it would be to write something similar using LWJGL to get card info, but I expect it shouldn't be too difficult.  If we could get something like that I'd be happy to write a utility for jME that people could run it and it would submit the information to a database we could then do reporting on (sort of the same concept Valve did before HL2 released).  Mr.Coder you up to helping me accomplish this?