Blur / Bluring
#1
Question 
Two kinds spring to mind:

1) a blur restricted to an area defined by, say, a mask. So if you have transparent areas in your skin, you can blur the image underneath.

2) a fullscreen blur. So when a dialog pops up you can have everything behind it blurred.

I have no idea if any of this is possible, but obviously Compiz uses it in Linux.
Reply
#2
I think it would be doable but it'd be a property of the image (i.e. specified in terms of how it renders on to the background). You could then do a fullscreen blur by placing an image over the whole screen.

d4rk had some ideas a while back on this - no idea how far they were taken.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
d4rk basically said it would be opengl specific and would nto work on the xbox because the graphics crad was too old
Reply
#4
Much as I don't like driving a wedge between the old and the new, is that a reason not to do it?
Reply
#5
Nope - xbox build will eventually be retired at some point anyway, though I'm sure a blur effect would be possible on xbox, just a bit more work.

What sort of blur are you wanting exactly?

eg just a simple gaussian 3x3 blur or something more sophisticated? Would/could it be animated? What sort of other effects of a similar kind (blur I presume is done by reading from the current screen buffer and writing back into it?) would be wanted?

I'm not really up to speed with GLSL shaders, so if anyone has any ideas/code snippets/whatever then speak up. I'm willing to give it a go one rainy weekend if someone is willing to do a bit of groundwork to get me some info to look at Smile

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
Some quick mockups:

Image

Image

Image
Reply
#7
How are you applying said blur - there seems to be quite a bit of weight applied to the last one - how "wide" is the blur in that case? Any idea on what (photoshop I'm assuming) it's using to do the blurring?

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#8
Photoshop indeed. That's using the "lens blur" filter, which gives away few clues as to the underlying process. To be honest, though, I'm sure even the most basic gaussian blur would work wonders. The effect in those shots is more about the combination of blur and texture than just the blur. Aeon's textures were designed with it in mind from the start, tbh.

I'd disregard the weight of effect used above - I just pulled up a filter and mashed in any old settings.
Reply
#9
Just for the record 9T9 wanted this effect a long time ago as well (the main reason d4rk looked into it originally if I recall) So I'm all for said effect being added as well
Reply
#10
I'm not a skinner but an animated blur effect would be great.

I'm all for eye-popping awesomeness on our already great skins.
Reply
#11
Question 
jmarshall Wrote:I'm not really up to speed with GLSL shaders, so if anyone has any ideas/code snippets/whatever then speak up. I'm willing to give it a go one rainy weekend if someone is willing to do a bit of groundwork to get me some info to look at Smile
Does the Xbox/XDK not support DirectX HLSL shaders?, (Vertex/Pixel Shader Model 2.0 right?), ...I understand that OpenGL GLSL shaders can be converted into DirectX HLSL shaders for Microsoft Direct3D API and vice versa.

HLSL2GLSL - library and tool that converts HLSL (High Level Shader Language) shaders to GLSL (OpenGL Shading Language)
http://en.wikipedia.org/wiki/HLSL2GLSL
SHARK (Shader Assembly Compiler) - a tool to perform conversion from DirectX 9 pixel shader assembly language into C++ code
http://dxshark.sourceforge.net/
AMD/ATI GPU ShaderAnalyzer - Support for both Open GL GLSL and DirectX HLSL
http://ati.amd.com/developer/
gDEBugger - OpenGL debugger and Profiler (helping to find bugs and optimize performance)
http://www.gremedy.com/
KAGEfx - a framework to load shader programs based on the OpenGL Shading Language contained within an XML file that holds descriptive metadata about the shader and to replace shader modules on-the-fly with respect to their level-of-detail metadata.
http://christian.helmich.free.fr/kirin/kagefx/index.php

Huh
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#12
The xbox has pixel shaders v1.1

It only supports them via assembly as far as I'm aware.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#13
I definitely would like to see this. Would a great for use on dialog windows.
Reply
#14
created a trac ticket for this:
http://trac.xbmc.org/ticket/5453
Reply
#15
watzen Wrote:created a trac ticket for this:
http://trac.xbmc.org/ticket/5453

Thought it was already on trac. Thanks for doing it.
Reply

Logout Mark Read Team Forum Stats Members Help
Blur / Bluring0