OSX and DDS conversion challenges

Tips for creating and manipulating planet textures for Celestia.
Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

OSX and DDS conversion challenges

Post #1by rthorvald » 14.06.2006, 12:34

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
Image

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #2by ElChristou » 14.06.2006, 15:00

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!!
Image

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #3by t00fri » 14.06.2006, 15:25

ElChristou wrote: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!!


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
Image

rra
Posts: 171
Joined: 17.07.2004
With us: 20 years 4 months
Location: The Netherlands

Post #4by rra » 14.06.2006, 17:07

ElChristou wrote: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!!


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?©

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #5by ElChristou » 14.06.2006, 17:57

@ Fridger: this DeVIL lib is public domain?

@ Ren?©: do you know if the DTX3 will be available on Xnview/nConvert?
Image

rra
Posts: 171
Joined: 17.07.2004
With us: 20 years 4 months
Location: The Netherlands

Post #6by rra » 14.06.2006, 18:12

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?©

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #7by t00fri » 14.06.2006, 18:25

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
Image

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #8by rthorvald » 15.06.2006, 00:55

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
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #9by dirkpitt » 15.06.2006, 03:36

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?

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #10by rthorvald » 15.06.2006, 13:17

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
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #11by dirkpitt » 17.06.2006, 12:42

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.

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #12by rthorvald » 18.06.2006, 21:19

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
Image


Return to “Textures”