Ortolan wrote:Chris, is it possible to get some form of texture compression working in the linux version of celestia? FXT1 doesn't work but it only supports textures to 2048x2048 so isn't ery useful anyway. I tried S3TC but it seems that is just the same as DirectX's DXT1/5 format, which causes a segfault when it tries to load in celestia... :(
Here I have quite a success story to tell (I also had SEGFAULTS after loading DXTx compressed files under Linux).
Aparently, the reason for these problems /and/ the SEGFAULTS upon approaching the ring planets in 1.2.4preview is quite subtle:
There are different and partly incompatible glx-devel packages/headers around:
1) The latest official xf86_glx_(devel)-4.2.0 with static libs and .../include/GL headers
2) mesa-devel (3.4.2) package with headers and libs
3) /usr/include/GL/* headers as provided with the NVIDIA-1.0-2880 drivers
Previously, I had (1) installed which caused the various SEGFAULTS reported here before (!)....
Recently, I have switched to (2) and, amazingly, the SEGFAULTS associated with DXTx-loading /and/ the ring-approach in 1.2.4 are gone!
What remains is a SEGFAULT in 1.2.4 preview, arising upon pressing CTRL-v for planets where a bumpmapping file is loaded (mercury,...). I am working on that...
Meanwhile, I have generated many /large/ *.dds texture files under Windows ME, using the NVIDIA DXT_tools /and/ gimp. Everything works beautifully /and fast/ (after I have eliminated a number of bugs/misprints in the 1.2.4preview). Now the CTRL-key works again and most of the other key-shortcuts.
Among the most beautiful *.dds files I made are:
1) A super-hires texture (8k) with the night illumination! This together with my 8k earth.dds is simply amazing.
2) Using gimp I reduced the rgb monster mars textures to 8k each, gave it an unsharp masking treat for even better sharpness/definition and converted the corresponding 125MB mars.tga file unders Windows ME with the command
nvdxt -file mars.tga -dxt1c
to *.dds.
3) A moon8k.dds file reduced from the huge moon texture available on the NASA page.
4) A hires pluto.dds (4k), that has a beautiful ice specular reflection via an alpha channel that I added.
Bye
Fridger