I have idea long time ago, it comes true, and i am dreamed also about texture filtering like lets say "QLINEAR"
ok linear filtering for texture (magnification) works like we do a gradient between pixels on horizontal line and vertical, when done merge it. (OpenGL or Direct3D do same)
QLINEAR = if we merge gradients Vertical+Horizontal+TWO Diagonals, we get very smooth texture where we even will not notice this "diamond" i mean rhombus.
Yeah, it was more a testing Project, but from what I've seen is that there's a big performance hit caused by the cpu (thanks to A_JumpIfInTargetLOS ), if I remember if you use A_Checksight or A_CheckLOF could gave some extra fps (can't remember how many but it was more than 5).
...At least the map looks better than vavoom
Nash wrote: ...a less-hacky and much more performance-friendly thing to do is write a true real-time cascading shadow mappe ...
Well, while vavoom did 39fps mine did 25fps, not so bad actually for a hacky solution xD.
About the software render performance, it's bad, but at least it's not 1fps D: (3fps)
a bit on:
@Eruanna, when you see the "loading shaders" message your fps will be indeed 0 while it doesn't go out the screen.
that message is there because on the third room, there are so many shaders that aren't required that I check for like 35 tics if they are needed or not, so if some subtract light is always disabled, the object will be deleted.
The good thing is that the problem only happens with floors/ceiling and not with walls. no, but it hardly ever happens on walls
just in case, here's a demo running in qzdoom: (not that when you open the console, the fps increase because all the decorate code spam froze.
That filter looks pretty nice in static, better than HQnx. Not sure about dynamic though.
And there are some weirdass licensing issues according to the thread.
And the source code archive contains 20 directories. Which one to use?
Thank you. If you mean static or dynamic, i can say its not work on fly, its recalculate but fast.
Source code is fully my development.
right patch to source code sed2x-resed2x-v0.5-source-code\itsteporg2\winapi\sed2x4\sed2x.sln
its works much better on low level colors,
also there is "palette artifacts" smothing app
right patch is -> sed2x-resed2x-v0.5-source-code\itsteporg2\winapi\restorecolors-sed2x\sed2x.sln
its based on scaler, that source above, its tryes to smooth areas on picture, where is big areas filled with one color, makes gradient. To say simple a "fake true color textures/sprites"
also these apps only work on 24 bit images, its easy to make them work on 32 bit too.
all other source codes in archive is same app but older versions, also source code itself is messy. Ask any details i want it to be included in QZDoom badly =))) would be very happy.
About QLINEAR ? oh sorry i failed at it, spend whole day to write my method and it works exactly like standard GL_LINEAR texture_filtering =)