Neural Network Texture up-scaling

Discuss the game Trespasser here!

Moderators: TresCom Support Team, TresCom Board Managers

darren_r_w
Dinosaur egg
Dinosaur egg
Posts: 14
Joined: Wed Jul 10, 2019 2:30 pm

Re: Neural Network Texture up-scaling

Post 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.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Neural Network Texture up-scaling

Post by machf »

That's good to know... thanks!
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Isolt
Stegosaurus
Stegosaurus
Posts: 62
Joined: Wed Jun 06, 2018 8:02 pm

Re: Neural Network Texture up-scaling

Post 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 17312 times
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14032
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Neural Network Texture up-scaling

Post by Draconisaurus »

Holy Crap lol, a telling more true than I would expect.
User avatar
Isolt
Stegosaurus
Stegosaurus
Posts: 62
Joined: Wed Jun 06, 2018 8:02 pm

Re: Neural Network Texture up-scaling

Post 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 17234 times
Spoiler: show
TPass003.BMP
TPass003.BMP (5.93 MiB) Viewed 17234 times
Spoiler: show
TPass026.BMP
TPass026.BMP (5.93 MiB) Viewed 17234 times
Spoiler: show
TPass008.BMP
TPass008.BMP (5.93 MiB) Viewed 17234 times
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5087
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: Neural Network Texture up-scaling

Post 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.
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Neural Network Texture up-scaling

Post by machf »

What happened to that sign at the monorail station...?
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Isolt
Stegosaurus
Stegosaurus
Posts: 62
Joined: Wed Jun 06, 2018 8:02 pm

Re: Neural Network Texture up-scaling

Post 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 17223 times
Upscaled
Spoiler: show
TPass006.BMP
TPass006.BMP (5.93 MiB) Viewed 17223 times
CE
Spoiler: show
TPass030.BMP
TPass030.BMP (5.93 MiB) Viewed 17223 times
Upscaled
Spoiler: show
TPass010.BMP
TPass010.BMP (5.93 MiB) Viewed 17223 times
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14032
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Neural Network Texture up-scaling

Post by Draconisaurus »

I personally think your upscaling looks amazing. I am highly impressed that this is even possible.
User avatar
Isolt
Stegosaurus
Stegosaurus
Posts: 62
Joined: Wed Jun 06, 2018 8:02 pm

Re: Neural Network Texture up-scaling

Post 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 17140 times
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5087
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: Neural Network Texture up-scaling

Post by tatu »

It looks really good! Now it is too bad we can't do anything about the terrain textures!
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
User avatar
Isolt
Stegosaurus
Stegosaurus
Posts: 62
Joined: Wed Jun 06, 2018 8:02 pm

Re: Neural Network Texture up-scaling

Post 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!
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Neural Network Texture up-scaling

Post by machf »

Let me know when it's available for download somewhere else than Mega...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5087
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: Neural Network Texture up-scaling

Post 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 :)
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Neural Network Texture up-scaling

Post by machf »

Thank you. The way Mega handles downloads by storing them in the browser's cache conflicts with my cache settings...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
Post Reply