Author Topic: DXT5 Compression with nVidia Photoshop plugin. Can you tell the difference?  (Read 9130 times)

0 Members and 1 Guest are viewing this topic.

DXT5 Compression with nVidia Photoshop plugin. Can you tell the difference?
Check out these two images.  Can you tell which is the .tga and which is the .dds file?  Both were converted to PNG in photoshop.







The .tga is about 4.2MB while the .dds is about 1.4MB

I'm thinking about converting every .tga in my effects folder into a .dds

Fs2_open is able to load a .dds in every situation it can load a .tga right?
« Last Edit: March 26, 2004, 01:22:01 pm by 998 »

 

Offline Lightspeed

  • Light Years Ahead
  • 212
DXT5 Compression using the nVidia Photoshop plugin
which settings do you use?

All images I convert with it come out horrible.
Modern man is the missing link between ape and human being.

 
DXT5 Compression using the nVidia Photoshop plugin
DXT5     ARGB     (Interpolated Alpha)
2D Texture
Generate MIP maps

The rest on default.

Using version 6.52 of the plugin.

I've went ahead and decompressed the media vp, converted every .tga to .dds

The game still seems to run fine and I can still see things.  Will be testing more.




BTW, is it possible to convert all those .pcx files into .dds as well?


P.S.  All you people making effects, use widths and heights at 2^n values!!!!  (so many .tga's at a resolution like 128x514.... 514!!!)





[edit]  
If I replace all the .pcx files with a .dds, would FS2_open be able to handle that?


P.S.  Incidentally, Lightspeed's hi-res planets actually look better in-game with DDS since the mip-maps reduces the "flicker" effect seen in areas of the planets with high detail (look at the planet in the first mission to see what I mean).
[/edit]
« Last Edit: March 26, 2004, 02:51:37 pm by 998 »

 

Offline Lightspeed

  • Light Years Ahead
  • 212
DXT5 Compression using the nVidia Photoshop plugin
they look worse. Tons worse. And the game will NOT use the DDS mipmaps at all.

Could you send me a zip with yours in DDS format to look at?

If it's better than what I could convert, i'll update the DDS zip of my planets.
Modern man is the missing link between ape and human being.

 
DXT5 Compression using the nVidia Photoshop plugin
Check your pm box

 

Offline J3Vr6

  • 28
DXT5 Compression using the nVidia Photoshop plugin
Sweet... you think you'll put this all up somewhere so people can do use them instead of the big files, Chrono?  Probably would shrink the amount of video memory used in-mission, right?
"I wanna drink til I'm drunk, and smoke til I'm senseless..."
-Tricky

"Hey barkeep, who's leg do I have to hump to get a dry martini around here?"
-Brian, Family Guy

 

Offline Lightspeed

  • Light Years Ahead
  • 212
DXT5 Compression using the nVidia Photoshop plugin
uhhh....i'll post something in a second about this...
Modern man is the missing link between ape and human being.

 

Offline RandomTiger

  • Senior Member
  • 211
DXT5 Compression using the nVidia Photoshop plugin
Lightspeed, did you ever try that app I gave you?

 

Offline Lightspeed

  • Light Years Ahead
  • 212
DXT5 Compression using the nVidia Photoshop plugin
Either

a) you posted wrong images
or
b) DDS work different on our systems.

I opened the exact file you sent me.

Here's the comparison

TGA

No artifacts or edges whatsoever, looks exactly like the images you posted.

DDS

Look at the vertical "lines", the odd boxes in the glow, and the ugly colour cutting edge at the shadow (where it fades to 0,0,0, for exampe at the 'south pole'). It looks ugly (the other planets are even worse!)
Modern man is the missing link between ape and human being.

 

Offline Lightspeed

  • Light Years Ahead
  • 212
DXT5 Compression using the nVidia Photoshop plugin
Quote
Originally posted by RandomTiger
Lightspeed, did you ever try that app I gave you?


Yes I did. It looks slightly better, but still bad.
Modern man is the missing link between ape and human being.

 

Offline Flipside

  • əp!sd!l£
  • 212
DXT5 Compression using the nVidia Photoshop plugin
I see what you mean there LS, it's almost like the image was being dropped in colour-count.

Were you using the exact same settings as Chrono?

 
DXT5 Compression using the nVidia Photoshop plugin
I've definitely opened both files (the dds AND the tga) in Photoshop CS at the same time.

Then I used Save as for web to convert to PNGs.

In any case, they can't be the same file since the PNG file sizes are different.

Very strange, I wonder why this is happening.  I'll have to take a look again when I get home.

 

Offline Lightspeed

  • Light Years Ahead
  • 212
DXT5 Compression using the nVidia Photoshop plugin
@ flipside: not only that, i was using THE SAME FILE he was using.
Modern man is the missing link between ape and human being.

 
DXT5 Compression using the nVidia Photoshop plugin
Which is why it's really weird :(

I saw the horrible artifacts when using DXT1 and DXT3, but when I noticed that DXT5 seems to be pretty good, I converted.

 

Offline Flipside

  • əp!sd!l£
  • 212
DXT5 Compression using the nVidia Photoshop plugin
Then the only difference is that you posted JPG and Chrono posted PNG's. But you had obviously seen the error before you posted, so I don't think it's that :(

Edit : Besides, both your pictures are JPG's so if that were the case, they would both be showing those errors.

 

Offline Lightspeed

  • Light Years Ahead
  • 212
DXT5 Compression using the nVidia Photoshop plugin
I used maximum JPG quality (thus the big JPG files) for the DDS one.
Modern man is the missing link between ape and human being.

 
DXT5 Compression using the nVidia Photoshop plugin
That isn't the problem.  I saved to PNG for lossless, but even with JPG at quality 60 it shouldn't be _that_ bad.


I'm rather confused now though as to why they look so weird.

@Lightspeed

Do this artifacts show in-game as well?

 

Offline Lightspeed

  • Light Years Ahead
  • 212
DXT5 Compression using the nVidia Photoshop plugin
Of course.

As I have boosted the brightness slightly in-game (with the slider in the options screen) it's even worse (a lot) than it shows here.

When I saw planetD (as DDS) in-game I really felt I was going to vomit :rolleyes:
Modern man is the missing link between ape and human being.

 

Offline Flipside

  • əp!sd!l£
  • 212
DXT5 Compression using the nVidia Photoshop plugin
Well, I use the NVidia plugin as well, if you want, you can Email the file to me and I'll run it through mine on those settings and see what happens on a third computer?

 

Offline SA22C

  • 26
DXT5 Compression using the nVidia Photoshop plugin
I think you're too picky Lightspeed.  The second image you posted doesn't look bad at all, at least here in the forum.