Page 4 of 6

Re: Neural Network Texture up-scaling

Posted: Sun Jul 14, 2019 8:17 pm
by darren_r_w
Just as a heads up, the texture up-scaling doesn't like anisotropic filtering in the mip maps, so make sure-

MipMapMode=1
and
TexFilterD3D=0

because texture filtering just ruins the inherent detail in the up-scale.
And of course, make sure the video options in the game have the texture render at maximum (and not high).

* update:
It also has a beneficial effect to hardware water that I have just noticed.

Re: Neural Network Texture up-scaling

Posted: Mon Jul 15, 2019 4:58 am
by machf
That's good to know... thanks!

Re: Neural Network Texture up-scaling

Posted: Sat Jul 20, 2019 11:15 pm
by Isolt
Draconisaurus wrote:That does look pretty nice... At some point be sure to do Wu's pool sign, and the flood control building door.
Here is the flood gate.
I'm off overseas for a wedding for the next few weeks. Mostly done with V2, just need to merge them with their alpha layers and test them.
Spoiler: show
Sflooddor00t2B.png
Sflooddor00t2B.png (2.02 MiB) Viewed 17316 times

Re: Neural Network Texture up-scaling

Posted: Wed Jul 24, 2019 2:18 am
by Draconisaurus
Holy Crap lol, a telling more true than I would expect.

Re: Neural Network Texture up-scaling

Posted: Tue Aug 13, 2019 11:28 am
by Isolt
OK V2 is almost done, it's looking a lot better than V1!
I've tried darren's advice about "TexFilterD3D=0". It looks better but leaves the ground very pixilated, I think it's worth the trade off to a have the ground blurred.

Stock CE
Image

V2 Upscaled
Image

Stock CE
Image

V2 Upscaled
Image

Is there a better way to display these images then what I'm doing?
Spoiler: show
TPass022.BMP
TPass022.BMP (5.93 MiB) Viewed 17238 times
Spoiler: show
TPass003.BMP
TPass003.BMP (5.93 MiB) Viewed 17238 times
Spoiler: show
TPass026.BMP
TPass026.BMP (5.93 MiB) Viewed 17238 times
Spoiler: show
TPass008.BMP
TPass008.BMP (5.93 MiB) Viewed 17238 times

Re: Neural Network Texture up-scaling

Posted: Tue Aug 13, 2019 12:18 pm
by tatu
Looks good!

However, I personally dislike the palms on the upscale. At least not the greenish one (on the most right in the monorail image). It looks less transparent and more square, probably due to counting part of the opacity area as the texture itself.

Re: Neural Network Texture up-scaling

Posted: Tue Aug 13, 2019 6:37 pm
by machf
What happened to that sign at the monorail station...?

Re: Neural Network Texture up-scaling

Posted: Tue Aug 13, 2019 10:29 pm
by Isolt
tatu wrote:Looks good!

However, I personally dislike the palms on the upscale. At least not the greenish one (on the most right in the monorail image). It looks less transparent and more square, probably due to counting part of the opacity area as the texture itself.
Hmm yeah I'll need to look at the alpha channel on those.

Machf - The sign was very low resolution and the text didn't upscale well. I added some texture to make it look more weathered rather then weirdly upscaled. The alternative would be to recreate it from scratch. Text had been the most problematic part of this, people know exactly what it should look like but the neural network doesn't. It can get away with a lot of leeway upscaling a wood texture, but get the text even slightly wrong and it's glaringly obvious.

CE
Spoiler: show
TPass025.BMP
TPass025.BMP (5.93 MiB) Viewed 17227 times
Upscaled
Spoiler: show
TPass006.BMP
TPass006.BMP (5.93 MiB) Viewed 17227 times
CE
Spoiler: show
TPass030.BMP
TPass030.BMP (5.93 MiB) Viewed 17227 times
Upscaled
Spoiler: show
TPass010.BMP
TPass010.BMP (5.93 MiB) Viewed 17227 times

Re: Neural Network Texture up-scaling

Posted: Mon Aug 19, 2019 8:22 pm
by Draconisaurus
I personally think your upscaling looks amazing. I am highly impressed that this is even possible.

Re: Neural Network Texture up-scaling

Posted: Tue Aug 20, 2019 3:32 am
by Isolt
Thanks Draconisaurus, I can't take any credit for the actual technology. I'm amazed it's possible as well!

V2 is up. It's 4x the original resolution so quite a large download (V1 was 2x).
I don't have any trouble loading it with my average hardware. If people want a smaller 2x version I can make one as well.
https://mega.nz/#!BSRhQaJS!v_GE3iS_L-oO ... CLzdvGSoTg

Any thoughts?

I'm particularly impressed with the truck, it was pretty low resolution to start with. There's also a screen shot of it in game a few posts above.
4x upscale no interpolation/4x neural network upscale
PTruck32t2.jpg
PTruck32t2.jpg (114.53 KiB) Viewed 17144 times

Re: Neural Network Texture up-scaling

Posted: Tue Aug 20, 2019 4:49 am
by tatu
It looks really good! Now it is too bad we can't do anything about the terrain textures!

Re: Neural Network Texture up-scaling

Posted: Tue Aug 20, 2019 6:07 am
by Isolt
tatu wrote:It looks really good! Now it is too bad we can't do anything about the terrain textures!
I'm ready when the technology arrives!

Re: Neural Network Texture up-scaling

Posted: Tue Aug 20, 2019 4:59 pm
by machf
Let me know when it's available for download somewhere else than Mega...

Re: Neural Network Texture up-scaling

Posted: Tue Aug 20, 2019 6:00 pm
by tatu
machf wrote:Let me know when it's available for download somewhere else than Mega...
Here you go: http://www.trescom.org/download/downloa ... es_V2.0.7z
I also repackaged it to a .7z file instead, reducing about 170MB :)

Re: Neural Network Texture up-scaling

Posted: Tue Aug 20, 2019 6:08 pm
by machf
Thank you. The way Mega handles downloads by storing them in the browser's cache conflicts with my cache settings...