v1.3.1pre11: no error when texture file not found

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

v1.3.1pre11: no error when texture file not found

Post #1by selden » 08.10.2003, 01:44

Here's another case where Celestia's new console log doesn't display an error message:

If a 3DS model for a Nebula specifies an image file that can't be found, Celestia says it's about to load the image, but does not complain if the file does not exist.

e.g. if NGC3372.3DS specifies NGC3372.JPG but there is no image \medres\NGC3372.JPG, Celestia doesn't complain, but also (of course) doesn't draw the Nebula.

It'd be nice if Celestia complained about this.

(I've been trying to help someone with Rassilon's Rosetta Nebula addon which doesn't show up for them. All the parts seem to be in the right places, but the Nebula is still invisible. Of course, it works fine for me. :( )
Selden

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #2by chris » 08.10.2003, 03:08

Thanks for pointing out the oversight . . . I'll fix it for 1.3.1 final.

--Chris

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #3by chris » 08.10.2003, 06:44

I do see an error message when the file isn't present . . . Strange.

Incidentally, could the problem with loading the Rosette Nebula texture be an issue of case-sensitivity? I notice that the filename is lowercase, but the name stored in the .3ds file is all uppercase. That'll prevent it from working on UNIX . . .

--Chris

Avatar
Topic author
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #4by selden » 08.10.2003, 12:47

In this case, it turned out to be a confusion about the directories. Since the Rosetta addon was created for the v1.2.7 prereleases before separate addon directories could be used, its catalog files are in \extras\. Simply restoring the zip to an addons directory doesn't work.

I'll be adding some instructions to "Intro to Addons" to try to clarify this.
Selden


Return to “Bugs”