Jump to content

Home

Increase texture size with GIMP 2.6


luc500

Recommended Posts

I'm currently working on making my install of kotor look better, starting with upping the resolution on alot of textures. But i as i upped a texture in resolution it becomes all blurry (from the image increase i guess). How do i get a sharp, better looking texture using GIMP 2.6?

Link to comment
Share on other sites

I'm currently working on making my install of kotor look better, starting with upping the resolution on alot of textures. But i as i upped a texture in resolution it becomes all blurry (from the image increase i guess). How do i get a sharp, better looking texture using GIMP 2.6?

 

Double or quadruple the size of the texture eg 512 pixels - -> 1024 or for even better definition go 2048...

 

To do this click on image, and there should be a canvas size option on the dropdown.

Link to comment
Share on other sites

But when i do that it show up exactly the same ingame. (from the image size increase) how do i sharpen the texture so that it will show more detail?

 

You have to edit them with your own custom textures, there isn't any way of making the default textures higher-res in game, in fact every time you shrink or grow a picture it will loose resolution.

Link to comment
Share on other sites

If you have photoshop cs2 or 3 you can. I use gimp mostly, but for upping textures I use photoshop. There is a plugin you can download called alienskin blowup 2. It increases the size of the picture and the res.

 

Trust the IT technition who teaches among other things Photoshop, no matter how fancy and intelligent a programme you do loose fidelity by changing picture size. I would be skeptical as to how succesful a blow up of kotOR texture would be - though, I'm open to seeing posted comparison results to remove my skepticity :xp:

Link to comment
Share on other sites

If you have photoshop cs2 or 3 you can. I use gimp mostly, but for upping textures I use photoshop. There is a plugin you can download called alienskin blowup 2. It increases the size of the picture and the res.

 

blowup 2 is not free do you know any FREE program that increases res and image quitality? I'm now downloading photoshop to see if it suits my tastes.

 

I'm open to seeing posted comparison results to remove my skepticity :xp:

 

well if they is any change in image quitality i will post it here.

Link to comment
Share on other sites

blowup 2 is not free do you know any FREE program that increases res and image quitality?

 

To be fair you never explicitly stated until now that it had to be free, and I doubt you will get a Blow-up programme of any great quality for free.

 

I'm now downloading photoshop to see if it suits my tastes.

 

Speaking as someone who uses both, Photoshop is infinitely superior. You definitely get what you pay for. GIMP is a good free programme, and a great alternative if you don't have the money for PS.

Link to comment
Share on other sites

Speaking as someone who uses both, Photoshop is infinitely superior. You definitely get what you pay for. GIMP is a good free programme, and a great alternative if you don't have the money for PS.

 

Well apparently you can get Photoshop Cs2 for free now.

 

There is no easy, reliable way to increase the size of a bitmap image without having to redraw it.

 

You're not seeing any difference ingame because all you did was essentially increase the size of each individual pixel in the image, which are all then shrunk down to fit the model anyway.

Link to comment
Share on other sites

Trust the IT technition who teaches among other things Photoshop, no matter how fancy and intelligent a programme you do loose fidelity by changing picture size. I would be skeptical as to how succesful a blow up of kotOR texture would be - though, I'm open to seeing posted comparison results to remove my skepticity :xp:

 

I've used the Blow Up skin to make the Luxa texture in TSL up to 2048x2048. After that, I added some contrast to the skin. My original skin, which I used Photoshop's resizing feature for, looked exactly the same. But when I used the plugin, there was a some more detail in the head texture, but it was much clearer in the body texture than with photoshop's resizing.

 

But if you just blow it up and leave it as is, than it won't look as good as it did before, even if it looked like crap before. Like DI said, there is no magical shortcut to modding, you'll have to put work into it. It took me a while to get the results I somewhat wanted for Luxa, and even now, I'm still kind of working on it. To get it the way I want, it'll involve even more texture editing, and some UV Map editing.

Link to comment
Share on other sites

I've used the Blow Up skin to make the Luxa texture in TSL up to 2048x2048. After that, I added some contrast to the skin. My original skin, which I used Photoshop's resizing feature for, looked exactly the same. But when I used the plugin, there was a some more detail in the head texture, but it was much clearer in the body texture than with photoshop's resizing.

 

But if you just blow it up and leave it as is, than it won't look as good as it did before, even if it looked like crap before. Like DI said, there is no magical shortcut to modding, you'll have to put work into it. It took me a while to get the results I somewhat wanted for Luxa, and even now, I'm still kind of working on it. To get it the way I want, it'll involve even more texture editing, and some UV Map editing.

 

Just to clarify I was suggesting blowing up the textures, then significantly editing them to increase the definition. In no way was I expecting blowing it upto do anything (indeed that would actually slightly lesson the definition as pixels would be blended in the blow up). As I said before I would have to see before and after shots of any plug-ins, improving a texture to a noticable ammount in game.

Link to comment
Share on other sites

You will always lose detail when resizing, the only exception are vector images.

Resizing also produces artifacts: ringing, halos, blurring, etc

Edge-directed interpolation probably works better for game textures than the usual bicubic or lanczos resize

Probably the best free edge-directed interpolator available is nnedi2

It's intra-field only deinterlacer for video but it can be used for images.

It uses neural networks to do it's interpolation and is very good for enlarging images by powers of 2

 

you could also try G'MIC plugin for GIMP, which has filter using scale2x algorithm, to see if it produces good enough result

 

another option would be tracing the texture to vector image and then scale it but this takes time as you have to draw the texture again to get the best result

or you can trace only the edges and the most detailed areas to vector image, scale the vector and then overlay it on a scaled texture (still it takes a lot of time)

The eye loves sharp edges so this method fools the eye and tells that there's more detail than there actually is

another way to fool the eye is to add grain on the scaled image

 

 

Here's some upscaling results (alpha channel was lost in the process, but it can be taken from source image)

Tested resizers: point, bicubic, lanczos4, spline144, gauss, nnedi2

nnedi2 was tested with lanczos3 for center shift correction - nnedi2_rpow2(2, qual=3, cshift="lanczosresize")

 

Beware that the filesize is huge (the only way to do proper comparison is to use lossless images)

I reduced the filesize with "pngcrush -brute" and "optipng -o7" but most of them are still over 1MB

 

Source image (converted from tga to png to reduce filesize)

 

Results:

Point

Bicubic Mitchell-Netravali spline (b=1/3 c=1/3)

Bicubic precise (b=0 c=0.75)

Lanczos4

Spline144

Gauss (p=80)

nnedi2

 

Post processing with nnedi2 (lsfmod: default settings, grainfactory3: gstr1=15, gstr2=22, gstr3=36)

nnedi2+lsfmod

nnedi2+grainfactory3

nnedi2+lsfmod+grainfactory3

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...