Want to expirement with graphics filters
Posted: Fri Sep 28, 2012 3:41 am
Hey Folks,
I want to mess around with some graphics filter code. I thought it would be more fun to use Snes9x over AVISynth, which I've done a little in. I may need help figuring out how to access the pixels.
Right now, I'm looking through RenderPlain to see how to do a basic pixel copy.
What does SetRect do? I'm kind of guessing that it seems like it's setting the source read region for other htings. I don't run it, the emu crashes when showing text.
The pixel format is 555 for SNES, right? Is the source data always that? I did notice a few masking constants, but that could also be for the output. Also, the bit shifting is throwing me off a little on things like the pitch. I have a good idea what the pitch is, but in the context of this program, what is it?
I want to mess around with some graphics filter code. I thought it would be more fun to use Snes9x over AVISynth, which I've done a little in. I may need help figuring out how to access the pixels.
Right now, I'm looking through RenderPlain to see how to do a basic pixel copy.
What does SetRect do? I'm kind of guessing that it seems like it's setting the source read region for other htings. I don't run it, the emu crashes when showing text.
The pixel format is 555 for SNES, right? Is the source data always that? I did notice a few masking constants, but that could also be for the output. Also, the bit shifting is throwing me off a little on things like the pitch. I have a good idea what the pitch is, but in the context of this program, what is it?