Post #117by thanar » 19.06.2003, 18:11
Yes, I have the latest versions of both OS X and Celestia. It is the same problem as the one many people were complaining about sometime ago in these forums...
The Earth texture turns random. I was playing the Demo of UT 2003 yesterday and when I fired up Celestia afterwards, I could see UT textures all over Earth.
I am almost certain that the routines used for earth are different compaired to these used to render the other objects, since this only happens with Earth. Sometimes clouds get funny, too...
As a bottom note, yes, I have the original textures. I don't think this is some kind of memory overload issue, since there is no disc activity when this happens, although I saw noumerous [Cache hits] in fs_usage when the Earth textures should be loaded. And that was after an hour of UTing! Seems like the method used in loading the textures for Earth somehow tricks the system in thinking that it's already there and serves them from the disc cashe somehow... dunno...
I just tried to duplicate the problem, but no! Whenever you want something like this to happen you get a perfectly working software! I tried pushing RAM (regular and video) to its limits, but Celestia works fine. However:
I launched it from the terminal (./Celestia) and got this output:
Loading texture: textures/hires/earth.png
Error opening texture file textures/hires/earth.png
Loading texture: textures/medres/earth.png
Loading texture: textures/hires/earthnight.jpg
Datafile::Open() - Couldn't open textures/hires/earthnight.jpg
Datafile::Read() - No file open, file of zero size, or no valid MemoryBuffer
CGBuffer :: Error loading JPEG texture file /Users/thanar/Library/Application Support/CelestiaResources/textures/hires/earthnight.jpg
Loading texture: textures/medres/earthnight.jpg
Loading texture: textures/hires/earth-clouds.png
Error opening texture file textures/hires/earth-clouds.png
Loading texture: textures/medres/earth-clouds.png
Loading texture: textures/hires/moon.jpg
Datafile::Open() - Couldn't open textures/hires/moon.jpg
Datafile::Read() - No file open, file of zero size, or no valid MemoryBuffer
CGBuffer :: Error loading JPEG texture file /Users/thanar/Library/Application Support/CelestiaResources/textures/hires/moon.jpg
Loading texture: textures/medres/moon.jpg
Loading bump map: textures/hires/moonbump1k.jpg
Datafile::Open() - Couldn't open textures/hires/moonbump1k.jpg
Datafile::Read() - No file open, file of zero size, or no valid MemoryBuffer
CGBuffer :: Error loading JPEG texture file /Users/thanar/Library/Application Support/CelestiaResources/textures/hires/moonbump1k.jpg
Loading bump map: textures/medres/moonbump1k.jpg
I really thing it would be better if the application was performing a check if these hires files exist before trying to access them. So many "onerr" routines can be sometimes dangerous...
Plus; any ideas on why fix_prebindings starts everytime Celestia is launched? (I cought it in my tests occupying arounf 150MB or RAM!):
10479 fix_prebin 0.0% 0:00.12 1 17 22 248K 864K 988K 14.1M
10478 Celestia 68.1% 0:10.20 1 60 182 13.1M 19.2M 22.0M 96.1M