Filter Effects

Does anyone know how to modify the rendered images in Xith? I want to be able to make the output black and white for some real-time cutscenes.
Thanks in advance :slight_smile:

Edit:
I was thinking a solution would be to do an offscreen render, getting the snapshot bufferedimage and making the changes and drawing them out. Could I get some direction on this? Thanks.

[quote]Does anyone know how to modify the rendered images in Xith? I want to be able to make the output black and white for some real-time cutscenes.
Thanks in advance :slight_smile:

Edit:
I was thinking a solution would be to do an offscreen render, getting the snapshot bufferedimage and making the changes and drawing them out. Could I get some direction on this? Thanks.
[/quote]
Yes, Xith does need this, I know jME already has several filters like these. I think this should be changed in the actual view.renderOnce() code because the solution you suggested would slow things down quite a bit.

that’s a bummer … thanks for the pointer

Why is it a bummer? Is it hard to do?

This is an open source project - anyone can write code for it and the chances are if it’s good then it will go into the core.

jMe is also open source, so if they can do it, why not just take a look?

Will.

it’s a bummer that the solution I had in mind would be slow

tinkering about, you can tint the screen with various colors using a slightly transparent plane as a foreground node in front of the view…not sophisticated I guess … and not effective for B&W… more to come