Page 1 of 1
OSX and DDS conversion challenges
Posted: 14.06.2006, 12:34
by rthorvald
I have 2 GB of PNG files that needs to be converted to DDS. The only tool i have for the job is GraphicConverter, which for most other conversion tasks is great. Now, if i convert to dxt3, the result looks fine, but the file don??t load in Celestia! Dxt1 works, bout not dxt3!
Can anyone else confirm that this happens? I.e: Can anyone else on OSX convert an image to dxt3 via GraphicConverter and check the result in their Celestia?
The GC verson is 5.9. Let me add that the conversion works and the resulting files work in Celestia on *older* versions of GC: the problem is that under these versions, the result looks horrendously bad. Only V5.9 produces a decent result.
Thanks,
- rthorvald
Posted: 14.06.2006, 15:00
by ElChristou
Lately I asked Dirkpitt about the feasablility of a good osX dds converter, but apparently it's not a simple task
He point me over nconvert or Xnview for osX (
http://perso.wanadoo.fr/pierre.g/xnview/frdownloadmacosx.html)
but aparently only DTX1 is available... and it don't work for me!!
Posted: 14.06.2006, 15:25
by t00fri
It was me who pointed DW over to nconvert/xnview
. DW has asked me about my texconvert tool that could be immediately compiled for OSX. The catch is only that the DeVIL library on which my tool is based used to have plenty of remaining bugs when I wrote the tool. So I used some CVS version of DeVIL and fixed a bunch of bugs myself. At the end of this DXT3 and DXT1 worked very fast and without any problems for me. That's the state of the art.
However, it was not at the level of giving such hacks out of hand to the public! Meanwhile, there is a new DeVIL maintainer who put apparently some energy in to fix some DXT bugs in the new DeVIL version.
+++++++++++++++++++
What I told DW is that I have had NO time yet to test the new DeVIL version myself against my own fixes! Because we cannot inject my tool into the public if it only works with my hacked CVS version of DeVIL!
+++++++++++++++++++
That should be obvious...
So someone who knows how to code and compile C has to make some extended tests of my texconvert tool with the new DeVIL version. That's all. I don't have any time for this right now.
Bye Fridger
Posted: 14.06.2006, 17:07
by rra
ElChristou, I convinced Pierre (the writer of Xnview) to fix this issue,
as far as I know a new version (1.82.5 ?) will be out in a few weeks.
hopefully with this issue fixed.
Ren?©
Posted: 14.06.2006, 17:57
by ElChristou
@ Fridger: this DeVIL lib is public domain?
@ Ren?©: do you know if the DTX3 will be available on Xnview/nConvert?
Posted: 14.06.2006, 18:12
by rra
ElChristou, that is, amongst other things, what I asked for,
Pierre said that he tried to add this.
That's all I know for now.
Ren?©
Posted: 14.06.2006, 18:25
by t00fri
ElChristou wrote:@ Fridger: this DeVIL lib is public domain?
...
DeVIL is presumably GPL. In any case it's available to everyone, with dev located at SF.
The memory management could be much more clever. As it is, I cannot use DeVIL on textures bigger than 16k which is quite "tiny" for my standards
In that respect the pbmtools are more useful (yet much slower, of course)
Bye Fridger
Posted: 15.06.2006, 00:55
by rthorvald
rra wrote:ElChristou, that is, amongst other things, what I asked for,
Pierre said that he tried to add this
If so, that is very good news.
I can certainly wait a few weeks.
But my original question is still open: what??s up with GC 5.9 and dxt3?
- rthorvald
Posted: 15.06.2006, 03:36
by dirkpitt
rthorvald wrote:But my original question is still open: what??s up with GC 5.9 and dxt3?
I'll check it out tonight on my friend's new MacBook. Do you have problems with both small and large images?
Posted: 15.06.2006, 13:17
by rthorvald
dirkpitt wrote:rthorvald wrote:But my original question is still open: what??s up with GC 5.9 and dxt3?
I'll check it out tonight on my friend's new MacBook. Do you have problems with both small and large images?
Thanks!
I haven??t tried anything larger than 2048x1024, but have tried various at that size and smaller. Dxt1 works, but not dxt3. Well, the conversion works, but the result won??t show in Celestia.
- rthorvald
Posted: 17.06.2006, 12:42
by dirkpitt
I can confirm too that DXT3 is broken for the GC5.9 universal version too.
DXT3 maps look black and white and pixelated in Celestia.
Posted: 18.06.2006, 21:19
by rthorvald
dirkpitt wrote:I can confirm too that DXT3 is broken for the GC5.9 universal version too.
DXT3 maps look black and white and pixelated in Celestia.
Thank you.
I had hoped it was my installation, which would have been fixable. Will have to find a different solution, then.
- rthorvld